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

Disassembly:
sub esp, 0x60
mov eax, dword [0x487590]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x8c]
mov ebp, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
call fcn.00434a80
test eax, eax
jne 0x4350de
mov edx, dword [ebp + 0x10]
xor ebx, ebx
test edx, edx
je 0x4350dc
mov eax, dword [ebp]
lea ecx, [ebx + ebx*2]
lea ebp, [eax + ecx*8]
mov dword [esp + 0x14], ebp
mov eax, dword [ebp + 8]
test eax, eax
je 0x434f2f
cmp eax, 0x21
je 0x434f2f
cmp eax, 0x30101
je 0x434f2f
mov ecx, eax
mov eax, dword [ebp + 0xc]
cmp ecx, 0x303011b
jne 0x434ed6
test eax, eax
jne 0x434ed6
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
cmp ebx, 3
jne 0x435121
lea edx, [ebx - 2]
mov ecx, eax
call fcn.00434c20
add eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x20]
adc edx, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0xc]
push ebp
mov dword [esp + 0x50], edx
call eax
add esp, 0xc
test eax, eax
jne 0x4350de
cmp esi, esi
jne 0x4350f1
cmp eax, edi
jne 0x4350f1
mov eax, dword [esp + 0x28]
push esi
push eax
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [ecx + 8], eax
test eax, eax
jne 0x434e85
test esi, esi
jne 0x4350f1
push edi
push esi
mov edx, eax
mov ecx, ebp
call fcn.004349a0
add esp, 8
test eax, eax
jne 0x4350de
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edi
push dword [esp + 0x1c]
push esi
push dword [eax + 8]
push dword [esp + 0x68]
push dword [eax + 4]
push dword [esp + 0x6c]
push dword [eax]
call fcn.004359b0
add esp, 0x20
test eax, eax
jne 0x4350de
jmp 0x4350c8
cmp ebx, 1
jne 0x435121
cmp ecx, 0x3030103
jne 0x434f07
test eax, eax
jne 0x434f07
push ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ecx
mov edx, edi
mov ecx, esi
call fcn.00435830
add esp, 0xc
jmp 0x4350cc
cmp ecx, 0x3030501
jne 0x435121
test eax, eax
jne 0x435121
sub esp, 8
mov edx, edi
mov ecx, esi
call fcn.00437290
add esp, 8
jmp 0x4350cc
xor ecx, ecx
cmp edx, 4
jne 0x434feb
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov eax, dword [eax + 0xc]
lea ebp, [ebx*4]
mov edi, dword [eax + ebx*8]
mov ecx, dword [eax + ebx*8 + 4]
mov dword [esp + 0x60], 3
mov dword [esp + 0x64], 2
mov eax, dword [esp + ebp + 0x60]
mov dword [esp + 0x24], eax
cmp ebx, 2
jae 0x434fb1
xor eax, eax
mov dword [esp + 0x10], edi
cmp edi, edi
jne 0x4350f1
cmp eax, ecx
jne 0x4350f1
mov eax, dword [esp + 0x28]
push edi
push eax
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x434fa1
test edi, edi
jne 0x4350f1
mov eax, dword [esp + 0x2c]
neg ebp
mov dword [eax + ebp + 4], esi
mov dword [esp + ebp + 0x58], edi
jmp 0x434fdf
jne 0x435121
test ecx, ecx
ja 0x435109
mov esi, dword [esp + 0x1c]
jb 0x434fcd
cmp edi, esi
ja 0x435109
sub esi, edi
add esi, dword [esp + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx*8 + 4]
mov edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.00434c20
add eax, dword [esp + 0x78]
push 0
adc edx, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], edx
call eax
add esp, 0xc
test eax, eax
jne 0x4350de
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, ecx
or eax, edx
jne 0x43506e
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x435139
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x435139
push eax
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.004349a0
add esp, 8
jmp 0x4350c0
cmp ecx, 0x30101
jne 0x435096
test edx, edx
jne 0x435096
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push edi
push esi
push dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.00434660
jmp 0x4350bd
cmp ecx, 0x21
jne 0x435121
test edx, edx
jne 0x435121
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push edi
push esi
push dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.00434810
add esp, 0x14
test eax, eax
jne 0x4350de
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
inc ebx
mov edx, dword [ebp + 0x10]
cmp ebx, edx
jb 0x434dc7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00437bed
add esp, 0x60
ret
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00437bed
add esp, 0x60
ret
mov eax, 5
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00437bed
add esp, 0x60
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00437bed
add esp, 0x60
ret
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00437bed
add esp, 0x60
ret