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

Disassembly:
sub esp, 0xc8
lea eax, [esp + 0x78]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
xor ebp, ebp
xor ebx, ebx
call fcn.00416490
test eax, eax
je 0x41f5dc
lea ecx, [esp + 0x88]
push ecx
call fcn.00427850
add esp, 4
test eax, eax
je 0x41f46d
mov ecx, eax
and ecx, 0xffff
dec ecx
je 0x41f2e1
dec ecx
jne 0x41f5c5
lea edx, [esp + 0x88]
push 0x40
push edx
call fcn.00416490
test eax, eax
je 0x41f620
lea eax, [esp + 0x88]
push eax
call fcn.0042a090
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x14], esi
je 0x41f620
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x41f620
lea ecx, [esp + 0x54]
push ecx
call fcn.00416830
sub eax, 0
je 0x41f62b
sub eax, 2
jne 0x41f08d
lea edx, [esi + 0x50]
mov eax, edx
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], eax
jmp 0x41f095
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + 0xbc]
mov ecx, 9
add esi, 0x54
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub edx, esi
sub eax, ecx
mov word [esp + 0x66], dx
mov cx, ax
movsx eax, word [esp + 0x64]
movsx edx, dx
imul eax, edx
cdq
mov word [esp + 0x68], cx
and edx, 7
movsx ecx, cx
add eax, edx
mov dword [esp + 0x10], ecx
sar eax, 3
imul ecx, eax
add ebp, 0x10
mov dword [esp + 0x70], eax
test ebx, ebx
mov dword [esp + 0x3c], 0x1000
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 0
jne 0x41f10f
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f11b
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x38]
lea ecx, [eax + ebp - 0x10]
add ebp, 0x24
test ebx, ebx
mov dword [ecx], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
jne 0x41f154
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f160
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov ecx, dword [ebx + 4]
cmp word [esp + 0x64], 0x18
lea esi, [esp + 0x64]
lea edi, [ecx + ebp - 0x24]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
je 0x41f1c0
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x41f1c0
add ebp, 0xc
test ebx, ebx
jne 0x41f199
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f1a5
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
lea eax, [edx + ebp - 0xc]
mov dword [edx + ebp - 0xc], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
jmp 0x41f219
mov eax, dword [0x4595e0]
add ebp, 0xc
test ebx, ebx
mov edx, dword [eax + 0xdf4]
mov esi, dword [eax + 0xdec]
mov edi, dword [eax + 0xdf0]
mov dword [esp + 0xd0], edx
jne 0x41f1f5
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f201
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0xd0]
lea ecx, [eax + ebp - 0xc]
mov dword [eax + ebp - 0xc], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
add ebp, dword [esp + 0x38]
test ebx, ebx
jne 0x41f231
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f23d
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push 4
mov eax, dword [edi + 0xbc]
mov dword [eax + 0x4c], ecx
mov edx, dword [edi + 0xbc]
mov eax, dword [0x4595e0]
add edx, 0x4c
push edx
call dword [eax + 0xca0]
mov ecx, dword [edi + 0xbc]
mov eax, dword [ebx + 4]
add eax, ebp
mov esi, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov dword [esp + 0x50], esi
jle 0x41f2bf
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
mov edx, dword [ecx + 0xbc]
mov ecx, dword [esp + 0x10]
mov edi, dword [edx + 0x60]
add esi, edi
dec ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x10], ecx
jne 0x41f283
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xbc]
mov ecx, dword [0x4595e0]
add eax, 0x4c
push 5
push eax
call dword [ecx + 0xca0]
lea edx, [esp + 0x28]
push edx
jmp 0x41f5bd
and eax, 0xffff0000
cmp eax, 0x10000
je 0x41f3b2
lea eax, [esp + 0x18]
push eax
call dword [0x452074]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x22]
mov eax, dword [esp + 0x20]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x22]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x22]
push eax
mov eax, dword [esp + 0x24]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0xa0]
push str._04d
push ecx
call dword [0x45228c]
mov eax, 0x10
lea edi, [esp + 0xa8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x58], ecx
inc ecx
push ecx
call fcn.00445e37
mov edx, eax
add esp, 0x24
test edx, edx
mov dword [esp + 0x40], edx
je 0x41f5e9
lea edi, [esp + 0x88]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41f48a
lea ecx, [esp + 0x18]
push ecx
call dword [0x452074]
mov edx, dword [esp + 0x22]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1e]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x20]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
cdq
mov ecx, 0x64
idiv ecx
push edx
lea edx, [esp + 0x9c]
push str._02d__02d__02d__02d:_02d
push edx
call dword [0x45228c]
mov eax, 0x10
lea edi, [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x54], ecx
inc ecx
push ecx
call fcn.00445e37
mov edx, eax
add esp, 0x20
test edx, edx
mov dword [esp + 0x40], edx
je 0x41f611
lea edi, [esp + 0x88]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41f48a
lea ecx, [esp + 0x28]
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.0041b330
add esp, 8
test eax, eax
je 0x41f620
mov eax, dword [esp + 0x30]
test ah, 8
je 0x41f528
add ebp, 0x10
test ebx, ebx
jne 0x41f4ae
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f4ba
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 4]
add eax, 0x40
lea edx, [ecx + ebp - 0x10]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x48]
test byte [eax + 0x44], 0x10
je 0x41f5b8
add ebp, dword [eax + 0x40]
test ebx, ebx
jne 0x41f510
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x40]
mov esi, dword [eax + 0x48]
jmp 0x41f5a3
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x40]
mov esi, dword [eax + 0x48]
jmp 0x41f5a3
add ebp, 0x10
test ebx, ebx
jne 0x41f53f
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f54b
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x38]
lea ecx, [eax + ebp - 0x10]
mov dword [eax + ebp - 0x10], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov al, byte [esp + 0x3c]
test al, 0x10
je 0x41f5b8
add ebp, dword [esp + 0x38]
test ebx, ebx
jne 0x41f58f
push ebx
push ebp
mov ecx, 0x459e40
call fcn.0043aee0
mov ebx, eax
jmp 0x41f59b
push ebp
push ebx
mov ecx, 0x459e40
call fcn.0043b0e0
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edi, dword [ebx + 4]
sub edi, ecx
mov edx, ecx
add edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x28]
push eax
call fcn.00418c70
add esp, 4
lea ecx, [esp + 0x88]
push 0x40
push ecx
call fcn.00416490
test eax, eax
jne 0x41efe2
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc8
ret
mov edx, dword [0x4595e0]
push ebx
mov ecx, 0x459e40
mov dword [edx + 0x140], 1
call fcn.0043ae90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc8
ret
mov eax, dword [0x4595e0]
mov dword [eax + 0x140], 1
push ebx
mov ecx, 0x459e40
call fcn.0043ae90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc8
ret