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

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
sub esp, 0x84
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xac]
mov dword [esp + eax + 0x44], 0
add eax, 4
cmp eax, 0x20
jb 0x42657a
mov eax, dword [esp + 0x9c]
test esi, esi
lea ecx, [eax + esi*2]
je 0x4265b0
nop
lea esi, [esi]
movzx edx, word [eax]
add eax, 2
add word [esp + edx*2 + 0x44], 1
cmp eax, ecx
jne 0x4265a0
movzx ebx, word [esp + 0x62]
mov eax, dword [esp + 0xa8]
mov edi, dword [eax]
test bx, bx
jne 0x4266bf
cmp word [esp + 0x60], 0
jne 0x4270cd
cmp word [esp + 0x5e], 0
jne 0x4270da
cmp word [esp + 0x5c], 0
jne 0x4270e7
cmp word [esp + 0x5a], 0
jne 0x4270f4
cmp word [esp + 0x58], 0
jne 0x427101
cmp word [esp + 0x56], 0
jne 0x42710e
cmp word [esp + 0x54], 0
jne 0x427128
cmp word [esp + 0x52], 0
jne 0x42711b
cmp word [esp + 0x50], 0
jne 0x42714f
cmp word [esp + 0x4e], 0
jne 0x427142
cmp word [esp + 0x4c], 0
jne 0x427135
cmp word [esp + 0x4a], 0
jne 0x42715c
cmp word [esp + 0x48], 0
jne 0x427176
cmp word [esp + 0x46], 0
jne 0x426ffb
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa4]
xor ecx, ecx
mov eax, dword [eax]
lea edx, [eax + 4]
mov dword [ebx], edx
xor edx, edx
mov byte [eax], 0x40
mov word [eax + 2], dx
mov byte [eax + 1], 1
mov eax, dword [ebx]
lea edx, [eax + 4]
mov dword [ebx], edx
mov byte [eax], 0x40
mov byte [eax + 1], 1
mov word [eax + 2], cx
mov eax, dword [esp + 0xa8]
mov dword [eax], 1
xor eax, eax
add esp, 0x84
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xf
mov esi, esi
lea edi, [edi]
cmp edi, dword [esp + 0x10]
jbe 0x4266e5
mov eax, dword [esp + 0x10]
cmp eax, 1
mov edi, eax
je 0x427008
cmp word [esp + 0x46], 0
jne 0x42700d
mov eax, dword [esp + 0x10]
cmp eax, 2
je 0x4270c0
cmp word [esp + 0x48], 0
jne 0x4270c0
cmp eax, 3
je 0x4270b3
cmp word [esp + 0x4a], 0
jne 0x4270b3
cmp eax, 4
je 0x4270a6
cmp word [esp + 0x4c], 0
jne 0x4270a6
cmp eax, 5
je 0x427099
cmp word [esp + 0x4e], 0
jne 0x427099
cmp eax, 6
je 0x42708c
cmp word [esp + 0x50], 0
jne 0x42708c
cmp eax, 7
je 0x42707f
cmp word [esp + 0x52], 0
jne 0x42707f
cmp eax, 8
je 0x427072
cmp word [esp + 0x54], 0
jne 0x427072
cmp eax, 9
je 0x427065
cmp word [esp + 0x56], 0
jne 0x427065
cmp eax, 0xa
je 0x427058
cmp word [esp + 0x58], 0
jne 0x427058
cmp eax, 0xb
je 0x42704b
cmp word [esp + 0x5a], 0
jne 0x42704b
cmp eax, 0xc
je 0x42703e
cmp word [esp + 0x5c], 0
jne 0x42703e
cmp eax, 0xd
je 0x427031
cmp word [esp + 0x5e], 0
jne 0x427031
cmp eax, 0xf
jne 0x427169
cmp word [esp + 0x60], 1
sbb eax, eax
not eax
add eax, 0xf
mov dword [esp + 0xc], eax
movzx edx, word [esp + 0x46]
mov eax, 2
sub eax, edx
mov edx, eax
lea eax, [edx + edx]
movzx edx, word [esp + 0x48]
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x4a]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x4c]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x4e]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x50]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x52]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x54]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x56]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x58]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x5a]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x5c]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x5e]
add eax, eax
sub eax, edx
js 0x426a6d
movzx edx, word [esp + 0x60]
add eax, eax
sub eax, edx
js 0x426a6d
add eax, eax
cmp eax, ebx
js 0x426a6d
je 0x426903
cmp dword [esp + 0x10], 1
jne 0x426a6d
mov eax, dword [esp + 0x98]
test eax, eax
je 0x426a6d
movzx eax, word [esp + 0x46]
xor ebx, ebx
mov word [esp + 0x66], bx
mov word [esp + 0x68], ax
add ax, word [esp + 0x48]
mov word [esp + 0x6a], ax
add ax, word [esp + 0x4a]
mov word [esp + 0x6c], ax
add ax, word [esp + 0x4c]
mov word [esp + 0x6e], ax
add ax, word [esp + 0x4e]
mov word [esp + 0x70], ax
add ax, word [esp + 0x50]
mov word [esp + 0x72], ax
add ax, word [esp + 0x52]
mov word [esp + 0x74], ax
add ax, word [esp + 0x54]
mov word [esp + 0x76], ax
add ax, word [esp + 0x56]
mov word [esp + 0x78], ax
add ax, word [esp + 0x58]
mov word [esp + 0x7a], ax
add ax, word [esp + 0x5a]
mov word [esp + 0x7c], ax
add ax, word [esp + 0x5c]
mov word [esp + 0x7e], ax
add ax, word [esp + 0x5e]
mov word [esp + 0x80], ax
add ax, word [esp + 0x60]
mov word [esp + 0x82], ax
xor eax, eax
test esi, esi
je 0x4269d5
mov dword [esp], edi
mov edi, dword [esp + 0x9c]
lea esi, [esi]
movzx edx, word [edi + eax*2]
test dx, dx
je 0x4269cb
movzx ecx, word [esp + edx*2 + 0x64]
lea ebx, [ecx + 1]
mov word [ebp + ecx*2], ax
mov word [esp + edx*2 + 0x64], bx
add eax, 1
cmp eax, esi
jne 0x4269b0
mov edi, dword [esp]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x426a7d
cmp dword [esp + 0x98], 1
mov edx, 0x101
mov eax, 0
cmove eax, edx
mov edx, 0xe8d800
mov dword [esp + 0x20], eax
mov eax, 0xe8d780
cmove eax, edx
mov edx, 0xe8d840
mov dword [esp + 0x3c], eax
mov eax, 0xe8d7c0
cmove eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
cmovae edi, eax
mov eax, dword [esp + 0xa4]
mov ecx, edi
mov dword [esp + 0x24], edi
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
cmp dword [esp + 0x98], 1
sete byte [esp + 0x43]
cmp eax, 0x354
jbe 0x426ab5
cmp byte [esp + 0x43], 0
je 0x426ab5
add esp, 0x84
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x84
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x43], 0
mov dword [esp + 0x20], 0x14
cmp eax, edi
cmovae edi, eax
mov eax, dword [esp + 0xa4]
mov ecx, edi
mov dword [esp + 0x24], edi
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
cmp dword [esp + 0x98], 2
sete byte [esp + 0x42]
cmp eax, 0x250
movzx ebx, byte [esp + 0x42]
jbe 0x426ad2
test bl, bl
jne 0x426a5d
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
xor edi, edi
sub eax, 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 0x34], eax
mov ebp, edi
mov dword [esp + 8], ebx
lea esi, [esi]
movzx eax, byte [esp + 0xc]
mov byte [esp], 0
sub al, byte [esp + 4]
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
lea edx, [eax + 1]
cmp dword [esp + 0x20], edx
mov esi, eax
ja 0x426b44
cmp dword [esp + 0x20], eax
ja 0x426fb0
sub eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
movzx ebx, byte [ebx + eax*2]
mov byte [esp], bl
mov ebx, dword [esp + 0x38]
movzx esi, word [ebx + eax*2]
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 4]
mov edx, 1
mov eax, 1
mov dword [esp + 0x1c], ebp
shl edx, cl
movzx ecx, byte [esp + 8]
shl eax, cl
movzx ecx, byte [esp + 4]
mov ebx, eax
mov dword [esp + 0x2c], eax
lea eax, [edx*4]
mov edi, eax
mov eax, ebp
movzx ebp, byte [esp]
shr eax, cl
mov ecx, ebx
neg edi
add eax, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp], edx
sub eax, edx
lea eax, [ebx + eax*4]
movzx ebx, byte [esp + 0x41]
lea esi, [esi]
lea edi, [edi]
mov edx, ebp
mov byte [eax + 1], bl
mov word [eax + 2], si
mov byte [eax], dl
add eax, edi
sub ecx, dword [esp]
jne 0x426ba0
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test eax, ebp
je 0x426bd6
nop
lea esi, [esi]
shr eax, 1
test ebp, eax
jne 0x426bd0
test eax, eax
je 0x426f90
lea edx, [eax - 1]
and edx, ebp
lea ebp, [edx + eax]
mov esi, dword [esp + 0xc]
movzx eax, word [esp + esi*2 + 0x44]
mov word [esp], ax
sub eax, 1
test ax, ax
mov word [esp + esi*2 + 0x44], ax
jne 0x426c23
mov ebx, dword [esp + 0x10]
cmp esi, ebx
je 0x426fbb
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x9c]
movzx eax, word [eax + 2]
movzx eax, word [ebx + eax*2]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xc], ebx
jbe 0x426f81
mov ebx, dword [esp + 0x34]
and ebx, ebp
cmp ebx, dword [esp + 0x30]
je 0x426f81
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x2c]
test eax, eax
cmove eax, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], esi
lea eax, [eax + edi*4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, edi
sub eax, esi
mov esi, eax
mov dword [esp + 8], eax
mov edx, eax
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
cmp edi, ecx
jae 0x426f03
movzx ecx, word [esp + edi*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426f03
lea edx, [esi + 1]
mov esi, dword [esp + 4]
add eax, eax
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 2]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 3]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 4]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 5]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 6]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 7]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 8]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 9]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 0xa]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 0xb]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 0xc]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea edx, [edi + 0xd]
lea ecx, [edx + esi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
add eax, eax
lea edx, [esi + 0xe]
lea ecx, [edx + edi]
cmp dword [esp + 0x10], ecx
jbe 0x426fa0
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x426fa0
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, eax
lea ecx, [edi + 0xf]
lea edx, [ecx + esi]
cmp dword [esp + 0x10], edx
jbe 0x426f97
movzx edx, word [esp + edx*2 + 0x44]
add dword [esp + 8], 0x10
mov edi, dword [esp + 8]
sub eax, edx
mov edx, edi
test eax, eax
jle 0x426f97
mov eax, 1
mov ecx, edx
shl eax, cl
add dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
cmp edi, 0x354
jbe 0x426f27
cmp byte [esp + 0x43], 0
jne 0x426a5d
cmp dword [esp + 0x28], 0x250
jbe 0x426f3c
cmp byte [esp + 0x42], 0
jne 0x426a5d
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 8]
lea edx, [ebx*4]
mov dword [esp + 0x30], ebx
mov eax, dword [eax]
mov byte [eax + ebx*4], cl
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0x24]
mov eax, dword [eax]
mov byte [eax + edx + 1], cl
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
mov word [ecx + edx + 2], ax
add dword [esp + 0x14], 2
jmp 0x426b00
xor ebp, ebp
jmp 0x426be6
mov edx, ecx
lea esi, [esi]
mov dword [esp + 8], edx
jmp 0x426f03
xor esi, esi
mov byte [esp], 0x60
jmp 0x426b44
test ebp, ebp
je 0x426fd7
mov eax, dword [esp + 0x18]
movzx ebx, byte [esp + 0x41]
xor edx, edx
lea eax, [eax + ebp*4]
mov byte [eax], 0x40
mov byte [eax + 1], bl
mov word [eax + 2], dx
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0x28]
shl eax, 2
add dword [ebx], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x24]
mov dword [eax], ebx
xor eax, eax
jmp 0x4266b4
cmp edi, 1
mov dword [esp + 0x10], 1
jbe 0x42700d
mov edi, 1
movzx ecx, word [esp + 0x46]
mov edx, 2
mov eax, 0xffffffff
sub edx, ecx
js 0x4266b4
mov dword [esp + 0xc], 1
jmp 0x426819
mov dword [esp + 0xc], 0xd
jmp 0x42680b
mov dword [esp + 0xc], 0xc
jmp 0x42680b
mov dword [esp + 0xc], 0xb
jmp 0x42680b
mov dword [esp + 0xc], 0xa
jmp 0x42680b
mov dword [esp + 0xc], 9
jmp 0x42680b
mov dword [esp + 0xc], 8
jmp 0x42680b
mov dword [esp + 0xc], 7
jmp 0x42680b
mov dword [esp + 0xc], 6
jmp 0x42680b
mov dword [esp + 0xc], 5
jmp 0x42680b
mov dword [esp + 0xc], 4
jmp 0x42680b
mov dword [esp + 0xc], 3
jmp 0x42680b
mov dword [esp + 0xc], 2
jmp 0x42680b
mov dword [esp + 0x10], 0xe
jmp 0x4266d0
mov dword [esp + 0x10], 0xd
jmp 0x4266d0
mov dword [esp + 0x10], 0xc
jmp 0x4266d0
mov dword [esp + 0x10], 0xb
jmp 0x4266d0
mov dword [esp + 0x10], 0xa
jmp 0x4266d0
mov dword [esp + 0x10], 9
jmp 0x4266d0
mov dword [esp + 0x10], 7
jmp 0x4266d0
mov dword [esp + 0x10], 8
jmp 0x4266d0
mov dword [esp + 0x10], 4
jmp 0x4266d0
mov dword [esp + 0x10], 5
jmp 0x4266d0
mov dword [esp + 0x10], 6
jmp 0x4266d0
mov dword [esp + 0x10], 3
jmp 0x4266d0
mov dword [esp + 0xc], 0xe
jmp 0x42680b
mov dword [esp + 0x10], 2
jmp 0x4266d0