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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x24], edi
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov eax, ebx
mov dword [esp + 0x28], ebx
mov edx, dword [edi + 0xdc]
mov dword [esp + 0x30], edx
mov dword [edi + 0xdc], ebx
cmp eax, dword [edi + 0xe0]
jge 0x41179a
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x41179a
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x41178d
push ecx
call eax
mov edx, dword [esp + 0x34]
mov esi, eax
pop ecx
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x41176b
mov dword [esp + 0x28], esi
mov dword [edi + 0xdc], edx
test esi, esi
jne 0x411b3a
mov ecx, ebx
cmp dword [edi + 4], ecx
jle 0x411804
mov eax, dword [edi + 8]
mov esi, ecx
add eax, 4
mov edx, dword [eax]
test edx, edx
je 0x4117d1
cmp byte [edx + 8], 2
jne 0x4117d1
xor edx, edx
inc edx
mov esi, edx
cmp ecx, edx
je 0x4117d1
inc ebx
inc ecx
add eax, 0x18
cmp ecx, dword [edi + 4]
jl 0x4117bb
push 0
mov dword [esp + 0x20], ebx
test esi, esi
mov esi, dword [esp + 0x2c]
pop ebx
je 0x411804
mov eax, dword [edi + 0x78]
test eax, eax
je 0x411804
push dword [edi + 0x74]
call eax
mov esi, eax
pop ecx
test esi, esi
je 0x411804
push 0x13
pop eax
jmp 0x411b3c
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
mov edx, eax
mov dword [esp + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x30], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41181f
sub edx, dword [esp + 0x30]
je 0x411b4a
xor edx, edx
inc edx
cmp dword [esp + 0x1c], edx
jle 0x411b4a
mov ecx, dword [edi]
xorps xmm0, xmm0
mov dword [esp + 0x18], ecx
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
movlpd qword [esp + 0x38], xmm0
test esi, esi
je 0x411891
push dword [0x4768ac]
lea edi, [esi - 8]
mov esi, dword [edi]
call fcn.00403fc3
mov eax, esi
cdq
sub dword [0x4768b0], eax
pop ecx
sbb dword [0x4768b4], edx
push edi
call fcn.004515c4
pop ecx
push dword [0x4768ac]
call fcn.00403fe4
mov edi, dword [esp + 0x28]
pop ecx
push 4
lea edx, [esp + 0x34]
pop ecx
call fcn.004053f7
mov eax, dword [esp + 0x30]
and eax, 0x7fffffff
push eax
push dword [esp + 0x30]
push str._s_mj_08X
push edi
call fcn.0040521d
mov esi, eax
add esp, 0x10
mov dword [esp + 0x44], esi
test esi, esi
je 0x411b43
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
call dword [eax + 0x20]
add esp, 0xc
test eax, eax
jne 0x411856
push ecx
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
mov edx, esi
call fcn.00403a4d
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x41190b
push esi
call fcn.00403dd6
mov eax, dword [esp + 0x14]
pop ecx
jmp 0x411b3c
mov edx, ebx
mov dword [esp + 0x2c], edx
cmp dword [edi + 4], ebx
jle 0x411a6f
mov eax, dword [esp + 0x3c]
mov ecx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + ecx + 4]
xor eax, eax
inc eax
mov dword [esp + 0x38], ecx
cmp edx, eax
je 0x411a03
test ecx, ecx
je 0x411a03
cmp byte [ecx + 8], 2
jne 0x411a03
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x20], eax
cmp byte [eax], 0
je 0x411a03
cmp dword [esp + 0x1c], 0
jne 0x4119a5
call fcn.00409e69
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x38]
mov bl, byte [eax + 0xb]
call fcn.00409ecc
mov eax, dword [esp + 0x1c]
test bl, bl
push 1
pop edx
cmove eax, edx
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4119aa
push dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x18]
push dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov eax, ecx
mov ecx, dword [edx]
inc eax
push eax
push dword [esp + 0x2c]
push edx
call dword [ecx + 0xc]
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4119e5
sub edx, dword [esp + 0x38]
lea eax, [edx + 1]
add dword [esp + 0x24], eax
adc dword [esp + 0x28], ebx
test ecx, ecx
jne 0x411a4b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
inc edx
add ecx, 0x18
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
cmp edx, dword [edi + 4]
jl 0x411930
cmp dword [esp + 0x1c], 0
je 0x411a6f
mov ecx, dword [esp + 0x14]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
pop ecx
test eax, 0x400
jne 0x411a6f
mov ecx, dword [esp + 0x14]
push 2
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [esp + 0x18], eax
pop ecx
pop ecx
test eax, eax
je 0x411a73
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00403a08
push edi
call fcn.00403dd6
mov eax, dword [esp + 0x1c]
pop ecx
push ebx
push esi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp 0x4118fb
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x411abe
mov edx, ebx
mov dword [esp + 0x2c], ebx
cmp ecx, dword [edi + 4]
jge 0x411abe
mov eax, dword [edi + 8]
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x411aaa
mov edx, esi
mov ecx, eax
call fcn.0040bb07
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x411aae
mov eax, dword [esp + 0x10]
inc ecx
add edx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x411a83
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411ad7
mov ecx, eax
call fcn.00403a08
push dword [esp + 0x14]
call fcn.00403dd6
pop ecx
cmp dword [esp + 0x10], 0
jne 0x4118fb
xor eax, eax
inc eax
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov esi, eax
push dword [esp + 0x44]
call fcn.00403dd6
pop ecx
test esi, esi
jne 0x411b3a
cmp dword [edi + 4], ebx
jle 0x411b30
mov ecx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 8]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x411b23
mov ecx, eax
call fcn.0040bb62
mov ecx, dword [esp + 0x30]
inc ebx
add ecx, 0x18
mov dword [esp + 0x30], ecx
cmp ebx, dword [edi + 4]
jl 0x411b0d
push 0x40
pop edx
mov ecx, edi
call fcn.00423f08
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 7
jmp 0x4117fe
mov edx, ebx
mov dword [esp + 0x30], edx
test esi, esi
jne 0x411b3a
mov eax, ecx
mov dword [esp + 0x44], ebx
mov ecx, eax
cmp edx, dword [edi + 4]
jge 0x411b93
mov ecx, dword [eax + ebx + 4]
mov dword [esp + 0x44], ecx
mov ecx, eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x411b85
xor edx, edx
mov ecx, eax
call fcn.0040bb07
mov ecx, dword [edi + 8]
mov esi, eax
mov edx, dword [esp + 0x30]
inc edx
add ebx, 0x18
mov dword [esp + 0x30], edx
mov eax, ecx
test esi, esi
je 0x411b5a
xor ebx, ebx
test esi, esi
jne 0x411b3a
mov eax, ebx
mov dword [esp + 0x30], ebx
cmp ebx, dword [edi + 4]
jge 0x411b30
mov edx, dword [ecx + eax + 4]
test edx, edx
je 0x411bbc
mov ecx, edx
call fcn.0040bb62
mov ecx, dword [edi + 8]
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0x18
inc ebx
mov dword [esp + 0x30], eax
test esi, esi
je 0x411b9f
jmp 0x411b3a