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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [esp + 0x28], ebx
push edi
mov edx, dword [ebx + 0xdc]
mov edi, esi
mov dword [esp + 0x20], esi
mov eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edx
mov dword [ebx + 0xdc], esi
mov dword [esp + 0x28], esi
cmp eax, dword [ebx + 0xe0]
jge 0x411518
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x411518
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x41150b
push ecx
call eax
mov edx, dword [esp + 0x34]
mov edi, eax
pop ecx
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
test edi, edi
je 0x4114e9
mov dword [esp + 0x28], edi
mov dword [ebx + 0xdc], edx
test edi, edi
jne 0x41186b
mov eax, dword [ebx + 4]
test eax, eax
jle 0x41158c
mov edx, dword [ebx + 8]
mov edi, eax
add edx, 4
mov ebx, esi
mov ecx, dword [edx]
call fcn.0040fb68
test eax, eax
je 0x411559
xor ecx, ecx
inc ecx
mov eax, ecx
mov dword [esp + 0x24], eax
cmp ebx, ecx
je 0x41155d
inc dword [esp + 0x20]
jmp 0x41155d
mov eax, dword [esp + 0x24]
inc ebx
add edx, 0x18
cmp ebx, edi
jl 0x41153b
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x41158c
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x41158c
push dword [ebx + 0x74]
call eax
mov edi, eax
pop ecx
test edi, edi
je 0x41158c
push 0x13
pop eax
jmp 0x41186d
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
mov ecx, eax
mov dword [esp + 0x28], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4115a3
sub ecx, edx
je 0x41187b
xor eax, eax
inc eax
cmp dword [esp + 0x20], eax
jle 0x41187b
mov ecx, dword [ebx]
xorps xmm0, xmm0
mov dword [esp + 0x14], ecx
mov edi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
movlpd qword [esp + 0x38], xmm0
push edi
call fcn.00403e19
pop ecx
push 4
lea edx, [esp + 0x34]
pop ecx
call fcn.004053fd
mov eax, dword [esp + 0x30]
and eax, 0x7fffffff
push eax
push dword [esp + 0x2c]
push str._s_mj_08X
push ebx
call fcn.0040522b
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
je 0x411874
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
call dword [eax + 0x20]
add esp, 0xc
test eax, eax
jne 0x4115d8
push ecx
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
mov edx, edi
call fcn.00403a7d
mov ecx, eax
add esp, 0xc
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x411655
push edi
call fcn.00403e19
mov eax, dword [esp + 0x10]
pop ecx
jmp 0x41186d
mov eax, esi
mov dword [esp + 0x18], eax
cmp dword [ebx + 4], esi
jle 0x4117b1
mov edx, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x1c], ecx
inc edx
cmp eax, edx
je 0x411753
mov eax, dword [ebx + 8]
mov edx, dword [ecx + eax + 4]
mov ecx, edx
mov dword [esp + 0x38], edx
call fcn.0040fb68
test eax, eax
je 0x411748
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x30], ecx
cmp byte [ecx], 0
je 0x411748
cmp dword [esp + 0x20], esi
jne 0x4116ef
mov ecx, edx
call fcn.00409e0c
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x38]
mov bl, byte [eax + 0xb]
call fcn.00409e6f
mov eax, dword [esp + 0x20]
test bl, bl
mov ebx, dword [esp + 0x2c]
push 1
pop ecx
cmove eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4116f8
sub edx, dword [esp + 0x38]
push dword [esp + 0x28]
push dword [esp + 0x28]
lea eax, [edx + 1]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00403a65
mov edx, dword [esp + 0x3c]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0xc], ecx
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41172e
sub edx, dword [esp + 0x38]
lea eax, [edx + 1]
add dword [esp + 0x24], eax
adc dword [esp + 0x28], esi
test ecx, ecx
jne 0x411796
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esp + 0x1c]
inc edx
inc eax
add ecx, 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [ebx + 4]
jl 0x41167d
cmp dword [esp + 0x20], esi
je 0x4117b1
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
pop ecx
test eax, 0x400
jne 0x4117b1
mov ecx, dword [esp + 0x10]
push 2
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [esp + 0x14], eax
pop ecx
pop ecx
test eax, eax
je 0x4117b5
mov ecx, dword [esp + 0x10]
call fcn.00403ac8
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp 0x411645
mov eax, dword [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x411800
mov edx, esi
mov dword [esp + 0x2c], esi
cmp ecx, dword [ebx + 4]
jge 0x411800
mov eax, dword [ebx + 8]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x4117ec
mov edx, edi
mov ecx, eax
call fcn.0040ba73
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
jmp 0x4117f0
mov eax, dword [esp + 0xc]
inc ecx
add edx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x4117c5
mov ecx, dword [esp + 0x10]
call fcn.00403ac8
cmp dword [esp + 0xc], esi
jne 0x411645
xor eax, eax
inc eax
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edi, eax
push dword [esp + 0x44]
call fcn.00403e19
pop ecx
test edi, edi
jne 0x41186b
cmp dword [ebx + 4], esi
jle 0x411861
mov ecx, esi
mov dword [esp + 0x30], esi
mov eax, dword [ebx + 8]
mov eax, dword [ecx + eax + 4]
test eax, eax
je 0x411854
mov ecx, eax
call fcn.0040bace
mov ecx, dword [esp + 0x30]
inc esi
add ecx, 0x18
mov dword [esp + 0x30], ecx
cmp esi, dword [ebx + 4]
jl 0x41183e
push 0x40
pop edx
mov ecx, ebx
call fcn.00423d1d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 7
jmp 0x411586
mov eax, esi
mov dword [esp + 0x30], eax
test edi, edi
jne 0x41186b
mov ecx, esi
mov dword [esp + 0x2c], esi
cmp eax, dword [ebx + 4]
jge 0x4118be
mov eax, dword [ebx + 8]
mov eax, dword [ecx + eax + 4]
test eax, eax
je 0x4118aa
xor edx, edx
mov ecx, eax
call fcn.0040ba73
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x30]
add ecx, 0x18
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
test edi, edi
je 0x41188b
test edi, edi
jne 0x41186b
mov ecx, esi
mov dword [esp + 0x30], esi
cmp esi, dword [ebx + 4]
jge 0x411861
mov eax, dword [ebx + 8]
mov eax, dword [ecx + eax + 4]
test eax, eax
je 0x4118e5
mov ecx, eax
call fcn.0040bace
mov ecx, dword [esp + 0x30]
mov edi, eax
add ecx, 0x18
inc esi
mov dword [esp + 0x30], ecx
test edi, edi
je 0x4118c8
jmp 0x41186b