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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x38]
push edi
lea eax, [ebp*2]
add eax, ebp
lea ecx, [esi + esi]
cmp ecx, eax
jl 0x1004271f
lea ecx, [esi + 2]
mov eax, 0xaaaaaaab
mul ecx
mov ebx, edx
shr ebx, 1
jmp 0x10042724
lea ebx, [ebp + 1]
sar ebx, 1
mov ecx, dword [esp + 0x38]
lea eax, [ebx + ebx]
mov edi, dword [esp + 0x34]
sub esi, eax
mov dword [esp + 0x2c], eax
sub ebp, ebx
push esi
lea eax, [ebx*8]
mov dword [esp + 0x40], esi
add eax, ecx
push eax
push ebx
push ecx
push edi
mov dword [esp + 0x3c], eax
call fcn.100425f0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x18], ecx
lea eax, [ebx*4]
test ecx, ecx
jne 0x100427a6
mov esi, dword [esp + 0x38]
add esi, eax
push ebx
push esi
push edi
call fcn.10042180
add esp, 0xc
test eax, eax
jns 0x1004279f
push ebx
push edi
lea eax, [ebx*8]
add eax, edi
push esi
push eax
call fcn.100012b0
add esp, 0x10
mov dword [esp + 0x24], 0
mov eax, 1
jmp 0x100427cd
lea eax, [ebx*4]
mov esi, dword [esp + 0x38]
add esi, eax
lea eax, [ebx*8]
push ebx
push esi
add eax, edi
push edi
push eax
call fcn.100012b0
mov ecx, dword [esp + 0x28]
add esp, 0x10
sub ecx, eax
xor eax, eax
mov dword [esp + 0x24], ecx
push ebx
push esi
push edi
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
call fcn.10001200
add dword [esp + 0x28], eax
add esp, 0x10
mov esi, dword [esp + 0x40]
lea eax, [ebx*4]
lea ecx, [eax + esi]
add eax, edi
mov dword [esp + 0x44], ecx
cmp ebp, ebx
jne 0x10042856
push ebx
push ecx
push esi
push eax
call fcn.10001200
push ebx
push dword [esp + 0x58]
mov dword [esp + 0x38], eax
push esi
call fcn.10042180
mov esi, eax
lea ecx, [ebx + ebx*2]
mov eax, dword [esp + 0x60]
lea edx, [edi + ecx*4]
mov ecx, dword [esp + 0x5c]
test esi, esi
push ebx
cmovns ecx, eax
mov dword [esp + 0x30], edx
cmovns eax, dword [esp + 0x60]
push ecx
push eax
push edx
call fcn.100012b0
mov eax, dword [esp + 0x48]
add esp, 0x2c
xor eax, 1
test esi, esi
cmovns eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x100428f5
push ebp
push ecx
push ebx
push esi
push eax
call fcn.100425f0
mov edx, dword [esp + 0x58]
mov esi, ebx
add esp, 0x14
mov dword [esp + 0x20], eax
sub esi, ebp
mov ecx, edx
mov eax, esi
lea ecx, [ecx - 4]
dec eax
cmp dword [ecx], 0
jne 0x100428db
test eax, eax
jne 0x10042873
push ebp
push edx
push dword [esp + 0x48]
call fcn.10042180
add esp, 0xc
test eax, eax
jns 0x100428d7
push ebp
push dword [esp + 0x44]
lea eax, [ebx + ebx*2]
push dword [esp + 0x4c]
lea eax, [edi + eax*4]
push eax
mov dword [esp + 0x20], eax
call fcn.100012b0
add esp, 0x10
test esi, esi
je 0x100428d0
lea eax, [ebx*2]
mov ecx, esi
add eax, ebp
add eax, ebx
lea edi, [edi + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
nop word [eax + eax]
xor dword [esp + 0x14], 1
jmp 0x100428f5
mov edx, dword [esp + 0x44]
push ebp
push edx
push ebx
push dword [esp + 0x4c]
lea eax, [ebx + ebx*2]
lea eax, [edi + eax*4]
push eax
mov dword [esp + 0x24], eax
call fcn.10042670
add esp, 0x14
mov esi, dword [esp + 0x48]
lea eax, [ebx*4]
push ebx
add eax, edi
push eax
push edi
push esi
call fcn.10042010
add esp, 0x10
cmp dword [esp + 0x18], 1
jne 0x1004293a
lea edx, [ebx*4]
push ebx
lea eax, [edx + esi]
lea ecx, [edx + edi]
mov dword [esp + 0x38], eax
push ecx
push eax
push eax
call fcn.10001200
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x34]
jmp 0x10042971
jbe 0x10042962
lea edx, [ebx*4]
push 2
push ebx
lea ecx, [edx + edi]
lea eax, [edx + esi]
push ecx
push eax
mov dword [esp + 0x44], eax
call fcn.10001aa7
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x34]
jmp 0x10042971
lea eax, [ebx*4]
xor ecx, ecx
add eax, esi
mov dword [esp + 0x34], eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
je 0x10042992
push ebx
push edi
push eax
push eax
call fcn.10001200
add eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
add ecx, eax
push ebx
push dword [esp + 0x14]
lea eax, [ebx*8]
lea edx, [eax + esi]
add eax, edi
mov dword [edx], ecx
push eax
push edi
mov dword [esp + 0x30], edx
call fcn.10042010
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x100429d3
push ebx
push dword [esp + 0x14]
lea eax, [ebx*4]
add eax, edi
push eax
push eax
call fcn.10001200
add esp, 0x10
mov dword [edi + ebx*8], eax
mov eax, dword [esp + 0x2c]
inc eax
cmp dword [esp + 0x14], 0
push eax
push edi
push esi
push esi
je 0x100429ed
call fcn.100012b0
jmp 0x100429f2
call fcn.10001200
add esp, 0x10
lea eax, [ebx*2 + 1]
push 1
push eax
push esi
push esi
call fcn.100010d0
push ebx
push dword [esp + 0x48]
lea eax, [ebx*8]
add eax, edi
push esi
push eax
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
call fcn.10001200
mov esi, dword [esp + 0x54]
add esp, 0x20
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
add edx, eax
add edx, dword [ecx]
mov dword [esi], edx
mov ecx, dword [ecx]
add ecx, eax
cmp edx, ecx
jae 0x10042a49
nop dword [eax]
add dword [esi + 4], 1
lea esi, [esi + 4]
je 0x10042a40
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x48]
push ebx
push edi
push esi
push esi
je 0x10042a9b
call fcn.10001200
push eax
push ebx
lea eax, [ebx*4]
add eax, edi
push eax
lea eax, [ebx*8]
add eax, edi
push eax
push eax
call fcn.100012a7
mov ecx, dword [esp + 0x58]
add esp, 0x24
mov edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [ecx]
add eax, edx
mov dword [ecx], eax
cmp eax, edx
jae 0x10042ae6
add dword [ecx + 4], 1
lea ecx, [ecx + 4]
je 0x10042a90
jmp 0x10042ae6
call fcn.100012b0
push eax
push ebx
lea eax, [ebx*4]
add eax, edi
push eax
lea eax, [ebx*8]
add eax, edi
push eax
push eax
call fcn.10001357
mov edx, dword [esp + 0x58]
add esp, 0x24
add dword [esp + 0x18], eax
mov ecx, dword [edx]
mov eax, ecx
sub eax, dword [esp + 0x18]
mov dword [edx], eax
cmp ecx, dword [esp + 0x18]
jae 0x10042ae6
mov ecx, dword [edx + 4]
lea edx, [edx + 4]
lea eax, [ecx - 1]
mov dword [edx], eax
test ecx, ecx
je 0x10042ad7
push ebx
push dword [esp + 0x44]
push dword [esp + 0x40]
push edi
call fcn.10042010
mov ecx, dword [esp + 0x4c]
add esp, 0x10
cmp ecx, ebp
jle 0x10042b06
mov edx, ecx
mov eax, ebp
jmp 0x10042b0a
mov edx, ebp
mov eax, ecx
push eax
mov eax, dword [esp + 0x48]
cmovle eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x30]
cmovle eax, dword [esp + 0x4c]
push edx
push eax
push dword [esp + 0x20]
call fcn.100413c0
push ebx
push dword [esp + 0x28]
lea eax, [ebx*4]
add eax, edi
push eax
push eax
call fcn.100012b0
mov ecx, dword [esp + 0x44]
push eax
push ebx
push edi
mov ecx, dword [ecx]
add ecx, eax
lea eax, [ebx*8]
add eax, edi
mov dword [esp + 0x68], ecx
push eax
push eax
call fcn.10001357
push eax
push ebx
lea eax, [ebx*4]
add eax, edi
push eax
push dword [esp + 0x78]
push dword [esp + 0x58]
call fcn.10001357
sub dword [esp + 0x84], eax
add esp, 0x4c
lea eax, [ebx + ebx*2]
push ebx
push esi
push eax
lea eax, [ebx*4]
add eax, edi
push eax
push eax
call fcn.100425f0
mov ecx, dword [esp + 0x50]
add esp, 0x14
add dword [esp + 0x38], eax
lea eax, [ecx + ebp]
cmp eax, ebx
jle 0x10042be9
mov esi, ebx
lea eax, [ebx + ebx]
sub ebp, ebx
shl esi, 4
add ebp, ecx
add esi, edi
push ebp
push esi
push eax
lea eax, [ebx*8]
add eax, edi
push eax
push eax
call fcn.10042670
mov ecx, dword [esp + 0x4c]
add esp, 0x14
sub ecx, eax
mov eax, dword [esi]
add eax, ecx
mov dword [esi], eax
cmp eax, ecx
jae 0x10042be9
nop dword [eax]
add dword [esi + 4], 1
lea esi, [esi + 4]
je 0x10042be0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret