Function at 0x41f1a0
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.004165f0
test eax, eax
je 0x41f7bc
lea ecx, [esp + 0x88]
push ecx
call fcn.00427fc0
add esp, 4
test eax, eax
je 0x41f64d
mov ecx, eax
and ecx, 0xffff
dec ecx
je 0x41f4c1
dec ecx
jne 0x41f7a5
lea edx, [esp + 0x88]
push 0x40
push edx
call fcn.004165f0
test eax, eax
je 0x41f800
lea eax, [esp + 0x88]
push eax
call fcn.0042a800
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x14], esi
je 0x41f800
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x41f800
lea ecx, [esp + 0x54]
push ecx
call fcn.00416990
sub eax, 0
je 0x41f80b
sub eax, 2
jne 0x41f26d
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 0x41f275
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 0x41f2ef
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f2fb
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 0x41f334
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f340
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 0x41f3a0
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x41f3a0
add ebp, 0xc
test ebx, ebx
jne 0x41f379
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f385
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 0x41f3f9
mov eax, dword [0x45a610]
add ebp, 0xc
test ebx, ebx
mov edx, dword [eax + 0xee0]
mov esi, dword [eax + 0xed8]
mov edi, dword [eax + 0xedc]
mov dword [esp + 0xd0], edx
jne 0x41f3d5
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f3e1
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 0x41f411
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f41d
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 [0x45a610]
add edx, 0x4c
push edx
call dword [eax + 0xd8c]
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 0x41f49f
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 0x41f463
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xbc]
mov ecx, dword [0x45a610]
add eax, 0x4c
push 5
push eax
call dword [ecx + 0xd8c]
lea edx, [esp + 0x28]
push edx
jmp 0x41f79d
and eax, 0xffff0000
cmp eax, 0x10000
je 0x41f592
lea eax, [esp + 0x18]
push eax
call dword [0x453074]
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 [0x4532ac]
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.004466d7
mov edx, eax
add esp, 0x24
test edx, edx
mov dword [esp + 0x40], edx
je 0x41f7c9
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 0x41f66a
lea ecx, [esp + 0x18]
push ecx
call dword [0x453074]
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 [0x4532ac]
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.004466d7
mov edx, eax
add esp, 0x20
test edx, edx
mov dword [esp + 0x40], edx
je 0x41f7f1
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 0x41f66a
lea ecx, [esp + 0x28]
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.0041b490
add esp, 8
test eax, eax
je 0x41f800
mov eax, dword [esp + 0x30]
test ah, 8
je 0x41f708
add ebp, 0x10
test ebx, ebx
jne 0x41f68e
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f69a
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 0x41f798
add ebp, dword [eax + 0x40]
test ebx, ebx
jne 0x41f6f0
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x40]
mov esi, dword [eax + 0x48]
jmp 0x41f783
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x40]
mov esi, dword [eax + 0x48]
jmp 0x41f783
add ebp, 0x10
test ebx, ebx
jne 0x41f71f
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f72b
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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 0x41f798
add ebp, dword [esp + 0x38]
test ebx, ebx
jne 0x41f76f
push ebx
push ebp
mov ecx, 0x45af98
call fcn.0043b7a0
mov ebx, eax
jmp 0x41f77b
push ebp
push ebx
mov ecx, 0x45af98
call fcn.0043b9a0
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.00418dd0
add esp, 4
lea ecx, [esp + 0x88]
push 0x40
push ecx
call fcn.004165f0
test eax, eax
jne 0x41f1c2
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc8
ret
mov edx, dword [0x45a610]
push ebx
mov ecx, 0x45af98
mov dword [edx + 0x140], 1
call fcn.0043b750
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc8
ret
mov eax, dword [0x45a610]
mov dword [eax + 0x140], 1
push ebx
mov ecx, 0x45af98
call fcn.0043b750
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc8
ret