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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, edx
and eax, 1
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp edi, 1
je 0x434672
cmp byte [ebx + 0x16], cl
je 0x434672
cmp byte [ebx + 0x10], 1
je 0x434668
test dl, 2
je 0x434672
mov dword [esp + 0x18], 1
jmp 0x434676
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x43469c
push 0x50ab94
push 0xb9f8
push 0x50ad5c
push 0xb
call fcn.00428770
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x28]
mov byte [ebx + 0x17], 1
test edx, edx
je 0x4346ae
mov esi, edx
jmp 0x434844
cmp dword [esp + 0x18], ecx
je 0x4347b2
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4346e5
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call fcn.00437c60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4349ae
cmp dword [esp + 0x14], eax
jne 0x4347b2
mov esi, dword [ebx + 0x98]
xor ecx, ecx
push ecx
mov dword [esp + 0x14], ecx
mov eax, esi
cdq
lea ecx, [edi - 1]
push ecx
push edx
push eax
call fcn.004dd730
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4349ae
cmp dword [esp + 0x10], eax
je 0x4347b2
cmp byte [ebx + 0x10], 1
jbe 0x43474b
mov eax, ebx
call fcn.004349e0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x434764
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push edi
mov esi, ebx
call fcn.00433450
add esp, 0xc
mov esi, eax
jmp 0x434795
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax]
mov eax, dword [ebx + 0x98]
push ecx
xor ecx, ecx
push ecx
mov ecx, dword [ebp + 8]
cdq
dec ecx
push ecx
push edx
push eax
call fcn.004dd730
push edx
mov edx, dword [edi + 0x48]
push eax
mov eax, dword [ebx + 0x3c]
push eax
call edx
mov edi, dword [ebp + 8]
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4347aa
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4349ae
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
mov edx, dword [ecx + 0x28]
and eax, 3
push eax
push edi
push edx
call dword [0x512a0c]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x434809
mov esi, dword [ebx + 0xcc]
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0042f180
mov esi, eax
add esp, 8
test esi, esi
jne 0x4349ae
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x434809
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea esi, [eax + 7]
jmp 0x4349ae
mov ecx, dword [eax + 4]
cmp dword [ecx], 0
mov edx, dword [ebx + 0xcc]
jne 0x434824
push eax
push edi
push edx
call fcn.0042f210
add esp, 0xc
jmp 0x434835
xor eax, eax
cmp ax, word [ecx + 0x1a]
jne 0x43482f
inc dword [edx + 0xc]
inc word [ecx + 0x1a]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [esp + 0x1c]
test esi, esi
jne 0x4349ae
cmp dword [ecx + 0x10], esi
je 0x434861
test eax, eax
jne 0x434861
inc dword [ebx + 0xb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x43495b
mov eax, dword [0x512a98]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x43495b
cmp byte [ebx + 0xf], 0
jne 0x4348eb
cmp dword [ebx + 0x18], edi
jb 0x4348eb
cmp dword [esp + 0x1c], 0
jne 0x4348eb
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
je 0x4348eb
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4348cd
cmp dword [esp + 0x18], 0
jne 0x4348cd
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call fcn.00437c60
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43497d
inc dword [ebx + 0xbc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004326e0
mov esi, eax
add esp, 4
test esi, esi
je 0x434953
jmp 0x434979
cmp edi, dword [ebx + 0x9c]
jbe 0x4348fd
mov esi, 0xd
jmp 0x43497d
cmp dword [esp + 0x1c], 0
je 0x43493e
mov eax, dword [0x515d84]
test eax, eax
je 0x43490f
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x434925
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x434925
push edi
push eax
call fcn.0042e920
add esp, 8
push edi
push ebx
call fcn.00431420
mov eax, dword [0x515d88]
add esp, 8
test eax, eax
je 0x43493a
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x98]
mov eax, dword [ecx + 4]
push edx
push 0
push eax
call fcn.004d6340
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x50ab94
push 0xba4d
push 0x50ad5c
push 0xb
call fcn.00428770
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x18], 2
je 0x434993
push 1
mov eax, ecx
call fcn.0042f030
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x28]
push 1
push edx
push ecx
call dword [0x512a10]
add esp, 0xc
cmp dword [ebx + 0x78], 0
jne 0x4349c9
mov edx, dword [ebx + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x4349c9
push ebx
call fcn.00431a00
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret