Function at 0x41c090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4b9430]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, dword [ebp + 8]
cmp byte [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov ebx, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], ebx
je 0x41c447
lea eax, [esi + 1]
lea ecx, [esi + 2]
lea edx, [edi + 1]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
lea ecx, [ecx]
cmp byte [ebx], 0xa
jne 0x41c3db
mov byte [ebx], 0
mov dword [esp + 0x14], edi
test esi, esi
je 0x41c3c7
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c100
sub eax, edx
je 0x41c3c7
cmp dword [str.____r_], 0
mov dword [esp + 0x30], 0
je 0x41c19e
xor edi, edi
push 0xc
mov dword [edi + 0x4c1e6c], 0xffffffff
call fcn.0045db21
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41c17d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c141
push 3
push ebx
push 0
push 0
sub eax, edx
push eax
mov eax, dword [edi + 0x4c1e64]
push esi
push 0
push eax
call fcn.00444fc0
mov edi, eax
add esp, 0x20
test edi, edi
je 0x41c24e
jns 0x41c253
push ebx
call fcn.0045d483
add esp, 4
mov edi, dword [esp + 0x30]
inc edi
mov dword [esp + 0x30], edi
lea edi, [edi + edi*4]
add edi, edi
add edi, edi
cmp dword [edi + 0x4c1e5c], 0
jne 0x41c122
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
cmp dword [0x4c5a70], 0
je 0x41c3c7
mov eax, esi
mov dword [esp + 0x40], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c1b4
mov edx, dword [0x4c5a70]
sub eax, ecx
lea ecx, [esp + 0x40]
push ecx
push 0
add eax, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x437
push edx
mov dword [esp + 0x54], eax
call edi
push 0x3c
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00463ac0
add esp, 0xc
push 0x4c1e2c
push 0x4abfc8
lea ecx, [esp + 0x6a]
push 0x20
push ecx
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x5c], 0xe800000f
mov byte [esp + 0x70], 1
mov dword [esp + 0x64], 0xa0
call fcn.0041c480
mov eax, dword [0x4c5a70]
or dword [esp + 0x60], 0x40000000
add esp, 0x10
lea edx, [esp + 0x48]
push edx
push 1
push 0x444
push eax
mov byte [esp + 0x91], 0
call edi
jmp 0x41c3c7
mov edi, 1
xor esi, esi
test edi, edi
je 0x41c28a
mov ecx, ebx
neg ecx
lea edx, [esp + ecx + 0x34]
lea ecx, [esp + ecx + 0x38]
mov eax, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov esi, edi
mov edx, dword [eax]
mov ecx, dword [esp + 0x28]
mov dword [ecx + eax], edx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + eax], edx
add eax, 8
dec edi
jne 0x41c271
push ebx
call fcn.0045d483
add esp, 4
cmp esi, 1
jae 0x41c2b1
jmp 0x41c2a0
or eax, 0xffffffff
mov dword [esp + esi*8 + 0x38], eax
mov dword [esp + esi*8 + 0x34], eax
inc esi
cmp esi, 1
jb 0x41c2a0
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp esi, ebx
jle 0x41c2e8
lea edi, [esi + 1]
push edi
call fcn.0045db21
add esp, 4
push edi
mov ebx, eax
push 0
push ebx
call fcn.00463ac0
mov edx, dword [esp + 0x18]
add esp, 0xc
push esi
push edx
push ebx
call fcn.004608a0
add esp, 0xc
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c2f0
mov edi, dword [esp + 0x38]
sub eax, edx
cmp edi, eax
jge 0x41c315
mov eax, dword [esp + 0xc]
lea ecx, [edi + eax]
push ecx
call fcn.004734c7
add esp, 4
mov dword [esp + 0x28], eax
sub edi, esi
lea edx, [edi + 1]
push edx
call fcn.0045db21
mov esi, eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x10]
add esp, 4
push edi
push eax
push esi
call fcn.004608a0
add esp, 0xc
mov byte [edi + esi], 0
test ebx, ebx
je 0x41c36b
mov edi, dword [esp + 0x10]
push edi
push ebx
call fcn.0041c090
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c353
sub eax, edx
add eax, edi
push ebx
mov dword [esp + 0x18], eax
call fcn.0045d483
add esp, 4
test esi, esi
je 0x41c3a7
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov edi, dword [edx*4 + 0x4c1e60]
push 0
push esi
call fcn.0041bc80
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c391
sub eax, edx
add dword [esp + 0x14], eax
push esi
call fcn.0045d483
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x41c3c3
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0041c090
push esi
call fcn.0045d483
add esp, 0xc
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov esi, ecx
mov edi, edx
cmp byte [ebx], 0xd
jne 0x41c427
push edi
mov ecx, esi
mov byte [ebx], 0
call fcn.0041bdb0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp byte [eax], 0xa
mov dword [esp + 0xc], eax
jne 0x41c412
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x1c]
inc eax
mov dword [esp + 0xc], ecx
inc ebx
inc ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0xc]
add eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov edi, eax
mov eax, 1
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
add dword [esp + 0x20], eax
add ebx, eax
cmp byte [ebx], 0
mov dword [esp + 0x24], ebx
jne 0x41c0e0
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c450
sub eax, edx
je 0x41c466
push edi
mov ecx, esi
call fcn.0041bdb0
add esp, 4
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret