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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x42937d
cmp byte [eax], 0x31
setne al
cmp edx, 0x38
setne dl
or eax, edx
test al, 1
je 0x429387
mov eax, 0xfffffffa
jmp 0x429593
test edi, edi
mov eax, 0xfffffffe
je 0x429593
cmp dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
jne 0x4293af
mov dword [edi + 0x20], 0x42af38
mov dword [edi + 0x28], 0
cmp dword [edi + 0x24], 0
jne 0x4293bc
mov dword [edi + 0x24], 0x42af4b
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4293c9
mov dword [ebp - 0x10], 6
test ebx, ebx
jns 0x4293d8
mov dword [ebp - 0x20], 0
neg ebx
jmp 0x4293e7
cmp ebx, 0xf
jle 0x4293e7
mov dword [ebp - 0x20], 2
sub ebx, 0x10
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 8
seta dl
cmp dword [ebp - 0x14], 8
setne al
or eax, edx
test al, 1
jne 0x429436
cmp ebx, 7
setle al
cmp ebx, 0xf
setg dl
or eax, edx
test al, 1
jne 0x429436
mov eax, dword [ebp - 0x10]
xor edx, edx
shr eax, 0x1f
cmp dword [ebp - 0x10], 9
setg dl
or eax, edx
jne 0x429436
mov eax, dword [ebp - 0x1c]
xor edx, edx
shr eax, 0x1f
cmp dword [ebp - 0x1c], 4
setg dl
or eax, edx
je 0x429440
mov eax, 0xfffffffe
jmp 0x429593
cmp ebx, 8
jne 0x429447
mov bl, 9
push 0x16c0
push 1
push dword [edi + 0x28]
call dword [edi + 0x20]
add esp, 0xc
mov esi, eax
test esi, esi
mov eax, 0xfffffffc
je 0x429593
mov dword [edi + 0x1c], esi
mov eax, dword [ebp - 0x20]
mov cl, bl
mov dword [esi], edi
mov edx, 3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], eax
mov eax, 1
shl eax, cl
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp - 0x18]
dec eax
mov dword [esi + 0x34], eax
add ecx, 7
mov eax, 1
mov dword [esi + 0x50], ecx
shl eax, cl
mov ecx, eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x18]
dec ecx
mov dword [esi + 0x54], ecx
add eax, 9
mov ecx, edx
mov dword [esi + 0x30], ebx
xor edx, edx
div ecx
mov dword [ebp - 0x24], 1
mov dword [esi + 0x58], eax
push 2
push dword [esi + 0x2c]
push dword [edi + 0x28]
call dword [edi + 0x20]
mov dword [esi + 0x38], eax
push 2
push dword [esi + 0x2c]
push dword [edi + 0x28]
call dword [edi + 0x20]
mov dword [esi + 0x40], eax
push 2
push dword [esi + 0x4c]
push dword [edi + 0x28]
call dword [edi + 0x20]
mov ecx, dword [ebp - 0x18]
add esp, 0x24
add ecx, 6
shl dword [ebp - 0x24], cl
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x169c], eax
push 4
push eax
push dword [edi + 0x28]
call dword [edi + 0x20]
mov ecx, dword [esi + 0x169c]
add esp, 0xc
cmp dword [esi + 0x38], 0
mov edx, eax
mov dword [esi + 8], eax
lea eax, [ecx*4]
mov dword [esi + 0xc], eax
je 0x429535
cmp dword [esi + 0x40], 0
je 0x429535
cmp dword [esi + 0x44], 0
je 0x429535
test edx, edx
jne 0x429551
mov dword [esi + 4], 0x29a
mov eax, dword [0xcdd48c]
mov dword [edi + 0x18], eax
push edi
call fcn.004285a0
mov eax, 0xfffffffc
jmp 0x429593
mov eax, ecx
and eax, 0xfffffffe
lea eax, [edx + eax]
mov dword [esi + 0x16a4], eax
imul eax, ecx, 3
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x84], ecx
lea eax, [edx + eax]
movzx ecx, byte [ebp - 0x14]
mov dword [esi + 0x1698], eax
mov eax, dword [ebp - 0x1c]
mov byte [esi + 0x24], cl
mov dword [esi + 0x88], eax
mov dword [ebp + 8], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00429203
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret