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

Disassembly:
mov eax, 0x4671aa
call fcn.0045cf28
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp byte [esi + 0x110], 0
jne 0x41d9c1
mov ecx, dword [esi + 0x24]
cmp ecx, edi
jne 0x41d64d
cmp byte [esi + 0x48], 0
jne 0x41d5ba
lea eax, [ebp - 0x1c]
push 0x46e660
push eax
mov dword [ebp - 0x1c], 1
call fcn.0045cb15
cmp dword [esi + 0x38], edi
je 0x41d5d4
lea eax, [ebp - 0x1c]
push 0x46e660
push eax
mov dword [ebp - 0x1c], 1
call fcn.0045cb15
lea ecx, [ebp - 0x6c]
call fcn.0041db16
push 1
lea eax, [ebp - 0x74]
pop ebx
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x74], 0x6f10701
mov dword [ebp - 0x70], edi
call fcn.0041db69
push ebx
lea ecx, [esi + 0x58]
pop eax
push eax
push ebx
pop eax
push eax
call fcn.0042bb4b
push edi
lea ecx, [esi + 0x80]
call fcn.004194d2
push edi
lea ecx, [esi + 0x94]
call fcn.004194d2
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x46bbb8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.00407371
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0040734d
jmp 0x41d957
cmp ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jle 0x41d6ef
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x38], 0
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [ebp - 0x20], edi
jne 0x41d6ce
dec ecx
cmp edx, ecx
jge 0x41d68e
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, ebx
lea ecx, [esi + 0x6c]
push eax
call fcn.0042bb4b
jmp 0x41d6a8
lea edi, [esi + 0x94]
push 0
mov ecx, edi
call fcn.0040749b
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax], ecx
push 1
pop eax
cmp edi, eax
mov dword [ebp - 0x1c], eax
jbe 0x41d6ce
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
lea ecx, [esi + 0x94]
push eax
call fcn.004194d2
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jb 0x41d6b2
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], edi
push edi
push ebx
lea ecx, [esi + 0x58]
call fcn.0042bb4b
mov ecx, dword [esi + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x41d65e
xor edi, edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x41d795
and dword [ebp - 0x10], 0
test eax, eax
jle 0x41d759
and dword [ebp - 0x1c], 0
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
test ebx, ebx
jbe 0x41d71f
mov edx, dword [esi + 0x64]
add ecx, dword [edx]
add edx, 8
dec ebx
jne 0x41d717
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor ebx, ebx
test edi, edi
jbe 0x41d73b
mov ecx, dword [esi + 0x64]
add ecx, 4
add ebx, dword [ecx]
add ecx, 8
dec edi
jne 0x41d733
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x6c]
add eax, ebx
push eax
push edx
call fcn.0042bb4b
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
cmp eax, dword [esi + 0x38]
jl 0x41d706
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x41d795
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x41d77b
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x41d77e
inc edx
add eax, 8
cmp edx, ecx
jl 0x41d76f
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x41d78f
push edi
lea ecx, [esi + 0x94]
call fcn.004194d2
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x41d760
xor edi, edi
cmp dword [ebp - 0x18], edi
jle 0x41d7ce
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x41d7b4
mov eax, dword [esi + 0x78]
cmp dword [eax], edi
je 0x41d7b7
inc edx
add eax, 8
cmp edx, ecx
jl 0x41d7a8
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x41d7c8
push edi
lea ecx, [esi + 0x80]
call fcn.004194d2
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x41d79c
cmp dword [esi + 0x88], 0
jne 0x41d7ec
lea eax, [ebp - 0x1c]
push 0x46e660
push eax
mov dword [ebp - 0x1c], 1
call fcn.0045cb15
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.00419163
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0x41d81c
mov eax, dword [esi + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x41d814
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x41d837
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x41d846
inc edx
add eax, 8
cmp edx, ecx
jl 0x41d82b
or eax, 0xffffffff
test eax, eax
jl 0x41d84a
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*8]
jmp 0x41d7f4
mov eax, edx
jmp 0x41d83a
mov ecx, dword [esi + 0x9c]
xor edx, edx
test ecx, ecx
jle 0x41d88c
mov eax, dword [esi + 0xa0]
cmp dword [eax], edi
je 0x41d86a
inc edx
add eax, 4
cmp edx, ecx
jl 0x41d85c
jmp 0x41d88c
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x94]
push 1
push edx
mov ecx, ebx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.0040749b
mov eax, dword [ebx + 0xc]
mov dword [eax], edi
cmp byte [esi + 0x48], 0
je 0x41d957
mov edi, dword [esi + 0x9c]
xor ebx, ebx
test edi, edi
mov dword [ebp - 0x1c], edi
jle 0x41d8c1
mov ecx, dword [esi + 0xa0]
mov eax, dword [ebp - 0x18]
add eax, ebx
push dword [ecx + ebx*4]
lea ecx, [esi + 0x6c]
push eax
call fcn.0042bb4b
inc ebx
cmp ebx, edi
jl 0x41d8a5
lea ecx, [esi + 0x94]
call fcn.00407371
xor ebx, ebx
test edi, edi
jle 0x41d957
lea eax, [ebp - 0x44]
mov edi, 0x46bbb8
mov dword [ebp - 0x18], eax
push 4
lea ecx, [ebp - 0x44]
call fcn.00403f02
mov dword [ebp - 0x44], edi
push 1
and dword [ebp - 0x48], 0
pop eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x4c], 0x6f10701
call fcn.0041db69
push 1
lea ecx, [esi + 0x58]
pop eax
push eax
push eax
call fcn.0042bb4b
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x94]
add eax, ebx
push eax
call fcn.004194d2
mov dword [ebp - 0x44], edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 3
call fcn.00407371
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040734d
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x41d8e1
mov ebx, dword [esi + 0x24]
dec ebx
test ebx, ebx
jl 0x41d97a
lea edi, [esi + 0xfc]
mov eax, dword [esi + 0x28]
mov ecx, edi
mov eax, dword [eax + ebx*4]
push dword [eax + 4]
push dword [eax]
call fcn.0042bb4b
dec ebx
jns 0x41d965
push 0xa8
call fcn.00406a7f
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov dword [ebp - 4], 4
je 0x41d9a0
lea eax, [esi + 0x58]
push eax
call fcn.0041846d
jmp 0x41d9a2
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xa8]
push ecx
mov ecx, eax
mov dword [esi + 0xf8], eax
call fcn.004186fa
mov byte [esi + 0x110], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret