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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x50]
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x88]
push edi
mov edi, 1
shl edi, cl
cmp eax, 5
je 0x432029
add eax, 0xfffffffa
cmp eax, 1
ja 0x431c3b
mov eax, dword [esi + 0x28]
lea ecx, [edi - 1]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x48], ecx
add ecx, eax
mov edx, ebp
sub edx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x78]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x10]
mov ebx, edx
sub ebx, ecx
mov dword [esp + 0x2c], edx
cmp ebx, eax
jbe 0x4318a9
mov ebx, edx
sub ebx, eax
jmp 0x4318ab
mov ebx, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x24], ecx
jne 0x4318b9
mov dword [esp + 0x24], ebx
cmp edx, edi
jbe 0x4318c5
sub edx, edi
mov dword [esp + 0x30], edx
jmp 0x4318cd
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x84]
mov eax, 1
shl eax, cl
mov dword [esp + 0x10], 3
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x80]
sub eax, 2
push eax
mov eax, ebp
call fcn.00439da0
mov ecx, dword [esi + 0x80]
dec edi
mov ebx, ebp
sub ebx, dword [esp + 0x58]
lea edx, [eax*4]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x44], edi
mov edi, dword [esi + 0x18]
add esp, 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
cmp edi, ebx
jae 0x43196b
nop
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
push edx
add eax, edi
call fcn.00439da0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x18]
mov ecx, edi
and ecx, dword [esp + 0x44]
add esp, 4
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [eax + ecx*4], edi
inc edi
cmp edi, ebx
jb 0x431930
mov edx, dword [esp + 0x28]
push edx
mov eax, ebp
mov dword [esi + 0x18], ebx
call fcn.00439da0
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + eax*4]
mov ebx, dword [esp + 0x60]
add esp, 4
cmp esi, dword [esp + 0x24]
sbb edx, edx
xor eax, eax
inc edx
cmp eax, dword [esp + 0x18]
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x431a02
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
add edx, esi
mov al, byte [edx + edi]
cmp al, byte [edi + ebp]
jne 0x4319d1
mov ecx, ebp
call fcn.00438be0
cmp eax, edi
jbe 0x4319d1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
sub ecx, esi
mov edi, eax
add ecx, 2
add eax, ebp
mov dword [edx], ecx
cmp eax, ebx
je 0x4319fe
cmp esi, dword [esp + 0x30]
jbe 0x4319fe
and esi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x18]
dec eax
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x18], eax
sbb ecx, ecx
xor edx, edx
inc ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x4319a1
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
sub eax, edx
add eax, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
cmp eax, 3
jae 0x431a2e
mov edx, eax
mov dword [esp + 0x34], eax
jmp 0x431a37
mov edx, 3
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], 0
test edx, edx
jbe 0x431b2f
mov ecx, dword [esp + 0x38]
lea edx, [ecx*4]
mov dword [esp + 0x24], edx
jmp 0x431a60
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4323e9
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax]
cmp eax, dword [ebp]
jne 0x431b0f
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edx, ecx
lea esi, [edx + eax + 4]
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, esi
lea edi, [ebp + 4]
add ecx, edi
cmp ecx, ebx
jae 0x431aaf
mov ebx, eax
sub ebx, esi
add ebx, edi
mov edx, esi
mov ecx, edi
call fcn.00438be0
mov dword [esp + 0x30], eax
add eax, esi
cmp eax, dword [esp + 0x20]
je 0x431aca
mov eax, dword [esp + 0x30]
jmp 0x431ae0
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
lea ecx, [esi + edi]
call fcn.00438be0
add eax, esi
add eax, 4
cmp eax, dword [esp + 0x10]
jbe 0x431b0f
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
add edx, 2
mov dword [ecx], edx
lea edx, [eax + ebp]
cmp edx, dword [esp + 0x5c]
je 0x4323ed
mov eax, dword [esp + 0x28]
add dword [esp + 0x24], 4
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x34]
jb 0x431a60
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp + 0x38]
mov ecx, dword [ecx + edx*4 + 0xc]
sub eax, dword [esp + 0x28]
mov edx, ecx
movzx ecx, cl
shr edx, 8
cmp eax, ecx
jbe 0x431b52
mov eax, ecx
mov dword [esp + 0x30], ecx
jmp 0x431b56
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
test eax, eax
jbe 0x4323e9
lea eax, [edx*4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + edx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + eax]
cmp eax, dword [ebp]
jne 0x431c17
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edx, ecx
lea esi, [edx + eax + 4]
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, esi
lea edi, [ebp + 4]
add ecx, edi
cmp ecx, ebx
jae 0x431bb8
mov ebx, eax
sub ebx, esi
add ebx, edi
mov edx, esi
mov ecx, edi
call fcn.00438be0
mov dword [esp + 0x38], eax
add eax, esi
cmp eax, dword [esp + 0x20]
je 0x431bd3
mov eax, dword [esp + 0x38]
jmp 0x431be9
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
lea ecx, [esi + edi]
call fcn.00438be0
add eax, esi
add eax, 4
cmp eax, dword [esp + 0x10]
jbe 0x431c17
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
add edx, 2
add eax, ebp
mov dword [ecx], edx
cmp eax, dword [esp + 0x5c]
je 0x4323e9
mov eax, dword [esp + 0x34]
add dword [esp + 0x28], 4
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x30]
jb 0x431b71
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0xc]
lea eax, [edi - 1]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], ecx
add ecx, eax
mov dword [esp + 0x14], edx
mov edx, ebp
sub edx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x78]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x10]
mov ebx, edx
sub ebx, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edx
cmp ebx, eax
jbe 0x431c84
mov ebx, edx
sub ebx, eax
jmp 0x431c86
mov ebx, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x2c], ecx
jne 0x431c94
mov dword [esp + 0x2c], ebx
cmp edx, edi
jbe 0x431ca0
sub edx, edi
mov dword [esp + 0x3c], edx
jmp 0x431ca8
mov dword [esp + 0x3c], 0
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 0x80]
mov ecx, dword [esi + 0x84]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
imul eax, eax, 0x9e3779b1
sub edx, 2
mov edi, 1
shl edi, cl
mov ecx, 0x20
sub ecx, edx
mov edx, dword [esi + 0x80]
shr eax, cl
mov dword [esp + 0x40], edx
mov edx, ebp
sub edx, dword [esp + 0x54]
lea ecx, [eax*4]
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 3
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ebx
cmp eax, edx
jae 0x431d5f
mov ecx, 0x20
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
jmp 0x431d28
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov edi, dword [eax + edi]
imul edi, edi, 0x9e3779b1
shr edi, cl
mov ecx, eax
and ecx, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov edi, dword [ebx + edi*4]
mov ebx, dword [esp + 0x14]
mov dword [ebx + ecx*4], edi
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [ebx + ecx*4], eax
inc eax
cmp eax, edx
jb 0x431d24
mov edi, dword [esp + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [ebp]
imul eax, eax, 0x9e3779b1
mov ecx, 0x20
sub ecx, dword [esp + 0x40]
shr eax, cl
mov esi, dword [ebx + eax*4]
cmp esi, dword [esp + 0x2c]
sbb edx, edx
xor eax, eax
inc edx
cmp eax, edi
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x431dfb
lea esp, [esp]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x5c]
add edx, esi
mov cl, byte [edx + eax]
cmp cl, byte [eax + ebp]
jne 0x431dce
mov ebx, edi
mov ecx, ebp
call fcn.00438be0
cmp eax, dword [esp + 0x10]
jbe 0x431dce
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
sub edx, esi
mov dword [esp + 0x10], eax
add edx, 2
add eax, ebp
mov dword [ecx], edx
cmp eax, edi
je 0x431dfb
cmp esi, dword [esp + 0x3c]
jbe 0x431dfb
and esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [edx + esi*4]
dec eax
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
sbb ecx, ecx
xor edx, edx
inc ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x431d90
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
sub eax, edx
add eax, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp eax, 3
jae 0x431e27
mov edx, eax
mov dword [esp + 0x3c], eax
jmp 0x431e30
mov edx, 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], 0
test edx, edx
jbe 0x431f1e
mov ecx, dword [esp + 0x38]
lea edx, [ecx*4]
mov dword [esp + 0x2c], edx
nop
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ecx]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4323e9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax]
cmp eax, dword [ebp]
jne 0x431efe
mov eax, dword [esp + 0x54]
mov edx, ecx
lea esi, [edx + eax + 4]
mov edx, dword [esp + 0x14]
lea edi, [ebp + 4]
mov ecx, edi
sub ecx, esi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jb 0x431e9c
mov eax, ecx
mov ebx, eax
mov edx, esi
mov ecx, edi
call fcn.00438be0
mov dword [esp + 0x40], eax
add eax, esi
cmp eax, dword [esp + 0x14]
je 0x431eb9
mov eax, dword [esp + 0x40]
jmp 0x431ecf
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
lea ecx, [esi + edi]
call fcn.00438be0
add eax, esi
add eax, 4
cmp eax, dword [esp + 0x10]
jbe 0x431efe
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
add ecx, 2
mov dword [edx], ecx
lea ecx, [eax + ebp]
cmp ecx, dword [esp + 0x5c]
je 0x4323ed
mov eax, dword [esp + 0x28]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x3c]
jb 0x431e50
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x38]
mov ecx, dword [edx + ecx*4 + 0xc]
sub eax, dword [esp + 0x28]
mov edx, ecx
movzx ecx, cl
shr edx, 8
cmp eax, ecx
jbe 0x431f41
mov eax, ecx
mov dword [esp + 0x38], ecx
jmp 0x431f45
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
test eax, eax
jbe 0x4323e9
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + eax]
cmp eax, dword [ebp]
jne 0x432005
mov eax, dword [esp + 0x54]
mov edx, ecx
lea esi, [edx + eax + 4]
mov edx, dword [esp + 0x14]
lea edi, [ebp + 4]
mov ecx, edi
sub ecx, esi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jb 0x431fa4
mov eax, ecx
mov ebx, eax
mov edx, esi
mov ecx, edi
call fcn.00438be0
mov dword [esp + 0x40], eax
add eax, esi
cmp eax, dword [esp + 0x14]
je 0x431fc1
mov eax, dword [esp + 0x40]
jmp 0x431fd7
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
lea ecx, [esi + edi]
call fcn.00438be0
add eax, esi
add eax, 4
cmp eax, dword [esp + 0x10]
jbe 0x432005
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
add ecx, 2
add eax, ebp
mov dword [edx], ecx
cmp eax, dword [esp + 0x5c]
je 0x4323e9
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x38]
jb 0x431f60
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [esi + 0x28]
lea ecx, [edi - 1]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x30], ecx
add ecx, eax
mov edx, ebp
sub edx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x78]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x10]
mov ebx, edx
sub ebx, ecx
mov dword [esp + 0x24], edx
cmp ebx, eax
jbe 0x43206e
mov ebx, edx
sub ebx, eax
jmp 0x432070
mov ebx, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x28], ecx
jne 0x43207e
mov dword [esp + 0x28], ebx
cmp edx, edi
jbe 0x43208a
sub edx, edi
mov dword [esp + 0x3c], edx
jmp 0x432092
mov dword [esp + 0x3c], 0
mov ecx, dword [esi + 0x84]
mov eax, 1
shl eax, cl
mov dword [esp + 0x10], 3
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x80]
sub eax, 2
push eax
mov eax, ebp
call fcn.00429a50
mov ecx, dword [esi + 0x80]
dec edi
mov ebx, ebp
sub ebx, dword [esp + 0x58]
lea edx, [eax*4]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x50], edi
mov edi, dword [esi + 0x18]
add esp, 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
cmp edi, ebx
jae 0x43212f
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
push edx
add eax, edi
call fcn.00429a50
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x18]
mov ecx, edi
and ecx, dword [esp + 0x50]
add esp, 4
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov dword [eax + ecx*4], edi
inc edi
cmp edi, ebx
jb 0x4320f4
mov edx, dword [esp + 0x40]
push edx
mov eax, ebp
mov dword [esi + 0x18], ebx
call fcn.00429a50
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + eax*4]
mov ebx, dword [esp + 0x60]
add esp, 4
cmp esi, dword [esp + 0x28]
sbb edx, edx
xor eax, eax
inc edx
cmp eax, dword [esp + 0x18]
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x4321c6
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
add edx, esi
mov al, byte [edx + edi]
cmp al, byte [edi + ebp]
jne 0x432195
mov ecx, ebp
call fcn.00438be0
cmp eax, edi
jbe 0x432195
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
sub ecx, esi
mov edi, eax
add ecx, 2
add eax, ebp
mov dword [edx], ecx
cmp eax, ebx
je 0x4321c2
cmp esi, dword [esp + 0x3c]
jbe 0x4321c2
and esi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x18]
dec eax
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
sbb ecx, ecx
xor edx, edx
inc ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x432165
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
sub eax, edx
add eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp eax, 3
jae 0x4321f2
mov edx, eax
mov dword [esp + 0x3c], eax
jmp 0x4321fb
mov edx, 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], 0
test edx, edx
jbe 0x4322ee
mov ecx, dword [esp + 0x38]
lea edx, [ecx*4]
mov dword [esp + 0x2c], edx
lea ebx, [ebx]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ecx]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4323e9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax]
cmp eax, dword [ebp]
jne 0x4322ce
mov eax, dword [esp + 0x54]
mov edx, ecx
lea esi, [edx + eax + 4]
mov edx, dword [esp + 0x14]
lea edi, [ebp + 4]
mov ecx, edi
sub ecx, esi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jb 0x43226c
mov eax, ecx
mov ebx, eax
mov edx, esi
mov ecx, edi
call fcn.00438be0
mov dword [esp + 0x40], eax
add eax, esi
cmp eax, dword [esp + 0x14]
je 0x432289
mov eax, dword [esp + 0x40]
jmp 0x43229f
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
lea ecx, [esi + edi]
call fcn.00438be0
add eax, esi
add eax, 4
cmp eax, dword [esp + 0x10]
jbe 0x4322ce
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
add ecx, 2
mov dword [edx], ecx
lea ecx, [eax + ebp]
cmp ecx, dword [esp + 0x5c]
je 0x4323ed
mov eax, dword [esp + 0x28]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x3c]
jb 0x432220
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x38]
mov ecx, dword [edx + ecx*4 + 0xc]
sub eax, dword [esp + 0x28]
mov edx, ecx
movzx ecx, cl
shr edx, 8
cmp eax, ecx
jbe 0x432311
mov eax, ecx
mov dword [esp + 0x38], ecx
jmp 0x432315
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
test eax, eax
jbe 0x4323e9
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + eax]
cmp eax, dword [ebp]
jne 0x4323d1
mov eax, dword [esp + 0x54]
mov edx, ecx
lea esi, [edx + eax + 4]
mov edx, dword [esp + 0x14]
lea edi, [ebp + 4]
mov ecx, edi
sub ecx, esi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jb 0x432374
mov eax, ecx
mov ebx, eax
mov edx, esi
mov ecx, edi
call fcn.00438be0
mov dword [esp + 0x40], eax
add eax, esi
cmp eax, dword [esp + 0x14]
je 0x432391
mov eax, dword [esp + 0x40]
jmp 0x4323a7
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
lea ecx, [esi + edi]
call fcn.00438be0
add eax, esi
add eax, 4
cmp eax, dword [esp + 0x10]
jbe 0x4323d1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
add ecx, 2
add eax, ebp
mov dword [edx], ecx
cmp eax, dword [esp + 0x5c]
je 0x4323e9
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x38]
jb 0x432330
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret