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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
push edi
mov dword [esp + 0xa4], esi
call dword [eax + 0x10]
mov edi, eax
cmp edi, 0xffffffff
je 0x4211e5
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x4211e5
shl edi, 8
or edi, eax
mov eax, edi
shr edi, 2
and edi, 3
mov dword [esp + 0x1c], edi
mov edi, eax
shr edi, 4
and edi, 3
mov dword [esp + 0x34], edi
mov edi, eax
shr edi, 6
and edi, 1
mov dword [esp + 0x30], edi
mov edi, eax
shr edi, 7
and edi, 1
mov edx, eax
mov dword [esp + 0x5c], edi
shr edx, 0xc
mov edi, eax
and edx, 1
shr edi, 8
mov ecx, eax
mov ebx, eax
and edi, 1
mov dword [esp + 0x44], edx
mov edx, eax
shr ecx, 0xa
shr ebx, 1
shr eax, 9
and edx, 1
mov dword [esp + 0x20], edi
and ecx, 3
and ebx, 1
and eax, 1
xor edi, edi
cmp edx, edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x90], eax
jne 0x421237
cmp ecx, edi
mov ecx, dword [esi + 0x2c]
jne 0x421203
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x4211e5
test al, al
mov dword [esp + 0x94], eax
jns 0x421160
or eax, 0xffffff00
mov dword [esp + 0x94], eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea edx, [esp + 0xb0]
push edx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea ecx, [esp + 0xb4]
push ecx
mov ecx, esi
call fcn.0041f500
test eax, eax
jne 0x421237
mov edx, dword [esi]
push str.Unexpected_EOF_in_JBIG2_stream
mov ecx, esi
call dword [edx + 0x20]
push eax
call fcn.00405840
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x4211e5
test al, al
mov dword [esp + 0x94], eax
jns 0x421224
or eax, 0xffffff00
mov dword [esp + 0x94], eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
cmp ebx, edi
je 0x421299
cmp dword [esp + 0x44], edi
jne 0x421299
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea edx, [esp + 0x80]
push edx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call fcn.0041f500
test eax, eax
je 0x4211e5
lea edx, [esp + 0x7c]
push edx
mov ecx, esi
call fcn.0041f570
test eax, eax
je 0x4211e5
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.0041f570
test eax, eax
je 0x4211e5
push 0x10
call fcn.0043878d
add esp, 4
cmp eax, edi
je 0x4212dc
mov ecx, eax
call fcn.00437cd0
mov dword [esp + 0x14], eax
jmp 0x4212e0
mov dword [esp + 0x14], edi
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x3c], edi
jbe 0x421339
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + edi*4]
push edx
mov ecx, esi
call fcn.0041f1d0
mov ebx, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp eax, 1
jne 0x42131b
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
add eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x421331
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
cmp eax, 3
jne 0x421331
mov ecx, dword [esp + 0x14]
push ebx
call fcn.00437d10
mov eax, dword [ebp + 0x14]
inc edi
cmp edi, eax
jb 0x4212f0
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
add eax, edi
xor edx, edx
mov ecx, 1
cmp eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], eax
jbe 0x421361
shl ecx, 1
inc edx
cmp ecx, eax
jb 0x421356
mov dword [esp + 0x40], edx
lea ecx, [eax*4]
push ecx
call fcn.004375c0
xor edi, edi
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
jbe 0x4213d9
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
push ecx
mov ecx, esi
call fcn.0041f1d0
mov ebx, eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
cmp eax, 1
jne 0x4213c9
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], ebx
jbe 0x4213c9
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + eax*4]
mov dword [ecx + edi*4], edx
mov edx, dword [ebx + 8]
inc edi
inc eax
cmp eax, edx
jb 0x4213b7
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x421386
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
xor edi, edi
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], edi
mov ebx, 0x46af90
je 0x421492
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jne 0x421414
mov dword [esp + 0x50], 0x46b100
jmp 0x421433
cmp ecx, 1
jne 0x421423
mov dword [esp + 0x50], 0x46b170
jmp 0x421433
mov eax, dword [edx]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov eax, 1
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, edi
jne 0x421445
mov dword [esp + 0x28], 0x46afe0
jmp 0x421461
cmp ecx, 1
jne 0x421454
mov dword [esp + 0x28], 0x46b060
jmp 0x421461
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x30], edi
jne 0x42146d
mov dword [esp + 0x58], ebx
jmp 0x42147a
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x5c], edi
jne 0x421486
mov dword [esp + 0x60], ebx
jmp 0x421492
mov ecx, dword [edx]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
cmp edx, edi
je 0x4214ac
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00437d00
push edi
call fcn.00438788
add esp, 4
xor edi, edi
cmp dword [esp + 0x24], edi
je 0x4214c0
mov eax, dword [esi + 0x7c]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x42154e
cmp dword [esp + 0x20], edi
je 0x4214e2
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4214e2
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [edx + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041f290
jmp 0x421538
mov edx, dword [esp + 0x54]
mov edi, dword [esi + 0x3c]
mov ebx, dword [edx*4 + 0x46af78]
cmp dword [edi + 4], ebx
jne 0x4214fe
mov ecx, edi
call fcn.0041c000
jmp 0x421538
test edi, edi
je 0x421512
mov ecx, edi
call fcn.00437d00
push edi
call fcn.00438788
add esp, 4
push 8
call fcn.0043878d
add esp, 4
test eax, eax
je 0x421533
mov ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, eax
push edx
call fcn.0041c120
jmp 0x421535
xor eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041f410
mov ecx, dword [esi + 0x38]
call fcn.0041c1f0
xor edi, edi
cmp dword [esp + 0x38], edi
je 0x4215ce
mov eax, dword [esp + 0x20]
test eax, eax
je 0x421578
mov eax, dword [esp + 0x18]
test eax, eax
je 0x421578
mov ecx, eax
mov edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x44]
push edx
push eax
mov ecx, esi
call fcn.0041f350
jmp 0x4215ce
mov ecx, dword [esp + 0x44]
mov edi, dword [esi + 0x40]
mov ebx, dword [ecx*4 + 0x46af88]
cmp dword [edi + 4], ebx
jne 0x421594
mov ecx, edi
call fcn.0041c000
jmp 0x4215ce
test edi, edi
je 0x4215a8
mov ecx, edi
call fcn.00437d00
push edi
call fcn.00438788
add esp, 4
push 8
call fcn.0043878d
add esp, 4
test eax, eax
je 0x4215c9
mov ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, eax
push edx
call fcn.0041c120
jmp 0x4215cb
xor eax, eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x4215fa
cmp dword [esp + 0x38], ebx
jne 0x4215fa
mov eax, dword [esp + 0x48]
lea ecx, [eax*4]
push ecx
call fcn.004375c0
add esp, 4
mov dword [esp + 0x34], eax
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x10], ebx
jbe 0x421a42
mov eax, dword [esp + 0x24]
test eax, eax
je 0x421624
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x7c]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.0041f5e0
jmp 0x421635
mov ecx, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x70]
push edx
call fcn.0041c450
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
add ebx, eax
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x30], eax
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], edi
lea eax, [edx + eax*4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x421701
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x74]
push edx
call fcn.0041f5e0
test eax, eax
jne 0x42171a
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, edi
jne 0x421a34
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.0041f5e0
mov eax, dword [esi + 0x7c]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x42199b
push 0x18
call fcn.0043878d
mov edi, eax
add esp, 4
test edi, edi
je 0x421961
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
add eax, 7
sar eax, 3
mov dword [edi + 0x10], eax
imul eax, ebx
push eax
mov dword [edi + 4], 0
mov dword [edi], 0x44f514
mov dword [edi + 0xc], ebx
call fcn.004375c0
add esp, 4
mov dword [edi + 0x14], eax
jmp 0x421963
mov eax, dword [esi + 0x48]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esi + 0x38]
call fcn.0041c450
test eax, eax
je 0x421a34
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
add edi, ecx
test eax, eax
mov eax, dword [esp + 0x38]
je 0x421758
test eax, eax
jne 0x4217ea
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [edx + eax*4], edi
add dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x10], ecx
add eax, 4
jmp 0x42165a
test eax, eax
je 0x421920
mov eax, dword [esi + 0x50]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esi + 0x38]
call fcn.0041c450
test eax, eax
je 0x421a34
mov eax, dword [esp + 0x78]
cmp eax, 1
jne 0x421891
mov eax, dword [esp + 0x24]
test eax, eax
je 0x421809
mov edx, dword [esp + 0x40]
mov ecx, dword [esi + 0x7c]
push edx
call fcn.0041c650
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x1c], eax
push 0x46bb20
lea eax, [esp + 0x6c]
push eax
call fcn.0041f5e0
push 0x46bb20
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.0041f5e0
mov ecx, dword [esi + 0x7c]
push 0x46af90
lea edx, [esp + 0x24]
push edx
call fcn.0041f5e0
mov eax, dword [esi + 0x7c]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x38]
call fcn.0041c1f0
jmp 0x421840
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x7c]
push edx
call fcn.0041f5e0
test eax, eax
je 0x421684
jmp 0x421779
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x38]
call fcn.0041c400
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.0041c450
mov ecx, dword [esi + 0x68]
push ecx
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x78]
push edx
call fcn.0041c450
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ecx*4]
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x50]
push ecx
push eax
push 0
push edx
push ebx
push edi
mov ecx, esi
call fcn.0041e1c0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x10], ecx
add eax, 4
jmp 0x42165a
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x8c]
push ecx
push edx
push 0x46af90
push 0x46bb20
push 0x46bb20
push 0x46bb20
push 0x46bb20
mov ecx, dword [esp + 0x4c]
push 0x46b820
mov edx, dword [esp + 0x64]
push 0x46b3f0
push 0x46b200
push 0
push 1
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x84]
push 0
add ecx, edx
push ecx
push 0
push eax
mov eax, dword [esp + 0x7c]
push ebx
push edi
push 1
push eax
mov ecx, esi
call fcn.0041fbc0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x10], ecx
add eax, 4
jmp 0x42165a
mov ecx, dword [esp + 0x54]
push 0
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x9c]
push eax
push 0
push 0
push 0
push ecx
push ebx
push edi
push 0
mov ecx, esi
call fcn.0041d350
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [edx], eax
inc ecx
mov eax, edx
mov dword [esp + 0x10], ecx
add eax, 4
jmp 0x42165a
xor edi, edi
mov eax, dword [esp + 0x14]
add eax, 7
shr eax, 3
imul eax, ebx
test eax, eax
mov dword [esp + 0x18], edi
mov edi, dword [edi + 0x14]
mov dword [esp + 0x20], eax
jbe 0x4219b5
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov byte [edi], al
mov eax, dword [esp + 0x1c]
inc edi
dec eax
mov dword [esp + 0x1c], eax
jne 0x421983
jmp 0x4219b5
push eax
mov eax, dword [esp + 0x18]
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push eax
push 1
mov ecx, esi
call fcn.0041d350
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x14], 0
jae 0x421a24
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + edx*4]
mov dword [esp + 0x1c], eax
jmp 0x4219e0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + edi*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push 0
push eax
call fcn.0041f730
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x10]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
jb 0x4219e0
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x421a34
mov ecx, eax
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x48]
jb 0x421608
push 0x18
call fcn.0043878d
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x421a86
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebp + 8]
lea edx, [eax*4]
push edx
mov dword [edi + 4], ecx
mov dword [edi], 0x44f51c
mov dword [edi + 8], eax
call fcn.004375c0
add esp, 4
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x28], edi
jmp 0x421a8a
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
jbe 0x421bbb
mov eax, dword [esp + 0x24]
test eax, eax
je 0x421abc
mov ecx, dword [esi + 0x7c]
push 0x46af90
lea eax, [esp + 0x50]
push eax
call fcn.0041f5e0
jmp 0x421acd
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x50]
push edx
call fcn.0041c450
mov eax, dword [esp + 0x20]
test eax, eax
je 0x421b90
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x421b9e
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + eax*4]
inc eax
push 0x18
mov dword [esp + 0x14], eax
call fcn.0043878d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x421b64
mov dword [ebx + 4], 0
mov dword [ebx], 0x44f514
mov edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx + 0xc]
imul ecx, eax
push ecx
mov dword [ebx + 0x10], eax
call fcn.004375c0
mov ecx, dword [ebx + 0xc]
imul ecx, dword [ebx + 0x10]
mov edx, ecx
mov dword [ebx + 0x14], eax
mov esi, dword [edi + 0x14]
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4]
jmp 0x421b66
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
mov dword [ecx + eax*4], ebx
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x421af0
jmp 0x421b9e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x64]
sete al
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], ecx
jb 0x421aa0
mov ebx, dword [esp + 0x48]
test ebx, ebx
jbe 0x421be2
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
lea edi, [eax + edx*4]
mov edi, edi
mov ecx, dword [edi]
test ecx, ecx
je 0x421bdc
mov edx, dword [ecx]
push 1
call dword [edx]
add edi, 4
dec ebx
jne 0x421bd0
mov eax, dword [esp + 0x2c]
push eax
call fcn.00437650
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
je 0x421c00
push eax
call fcn.00437650
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x421c47
mov eax, dword [esp + 0x90]
test eax, eax
je 0x421c47
mov ecx, dword [esi + 0x3c]
call fcn.0041c160
mov edi, dword [esp + 0x28]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x421c4b
mov ecx, dword [esi + 0x40]
call fcn.0041c160
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x24]
push edi
call fcn.00437d10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x24]
push edi
call fcn.00437d10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10