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

Disassembly:
sub esp, 0xfc
mov eax, dword [esp + 0x108]
push ebx
mov ebx, dword [esp + 0x104]
push ebp
mov ebp, dword [esp + 0x118]
push esi
xor esi, esi
push edi
lea edi, [eax + ebp]
lea ecx, [edi - 1]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], esi
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], esi
cmp ebx, esi
jne 0x42017b
cmp dword [esp + 0x114], esi
jne 0x42017b
cmp eax, esi
jne 0x42017b
cmp ecx, 0xfffffc19
jne 0x42017b
cmp ebp, ecx
jne 0x42017b
pop edi
pop esi
pop ebp
mov eax, 0xfffffed4
pop ebx
add esp, 0xfc
ret
mov edx, dword [esp + 0x124]
test edx, 0xe20f5a6f
je 0x42019a
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0xfc
ret
cmp ebx, esi
je 0x420f2f
cmp eax, esi
je 0x420f2f
mov eax, dword [esp + 0x12c]
cmp dword [esp + 0x128], esi
jne 0x4201c2
cmp eax, esi
jg 0x420f2f
cmp eax, esi
jge 0x4201d6
pop edi
pop esi
pop ebp
mov eax, 0xfffffff1
pop ebx
add esp, 0xfc
ret
cmp ebp, esi
jl 0x420f1f
cmp ebp, ecx
jg 0x420f1f
mov eax, dword [ebx]
cmp eax, 0x50435245
je 0x420209
sub eax, 0x45524350
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0x19
pop ebp
add eax, 0xffffffe3
pop ebx
add esp, 0xfc
ret
test byte [ebx + 0xc], 1
jne 0x42021f
pop edi
pop esi
pop ebp
mov eax, 0xffffffe4
pop ebx
add esp, 0xfc
ret
mov eax, dword [ebx + 8]
shr eax, 0xb
and eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x9c], eax
test edx, 0x8000000
je 0x420242
mov ecx, 2
jmp 0x42024a
mov ecx, edx
shr ecx, 0xf
and ecx, 1
mov dword [esp + 0xdc], ecx
cmp eax, esi
je 0x4202f1
test edx, 0x2000
jne 0x4202f1
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00421330
add esp, 0xc
cmp eax, esi
je 0x4202c8
cmp dword [esp + 0x12c], 2
jl 0x4202a0
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov dword [ecx + 4], eax
cmp eax, 5
jg 0x4202b8
cmp dword [esp + 0xdc], 1
mov eax, 0xffffffe7
jg 0x420f34
pop edi
pop esi
pop ebp
mov eax, 0xfffffff6
pop ebx
add esp, 0xfc
ret
cmp ebp, esi
jle 0x4202f1
cmp ebp, dword [esp + 0x11c]
jge 0x4202f1
mov eax, edi
mov cl, byte [eax]
and cl, 0xc0
cmp cl, 0x80
jne 0x4202f1
pop edi
pop esi
pop ebp
mov eax, 0xfffffff5
pop ebx
add esp, 0xfc
ret
movzx eax, word [ebx + 0x1c]
movzx ebp, word [ebx + 0x18]
mov esi, dword [ebx + 0x20]
lea edx, [ebx + ebp]
mov dword [esp + 0x74], eax
mov eax, 0x989680
mov dword [esp + 0x7c], edx
movzx edx, word [ebx + 0x1a]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x78], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0xfc], ecx
cmp eax, ecx
je 0x420385
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test cl, 1
je 0x42034a
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
test cl, 2
je 0x42035a
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x14]
test cl, 0x10
je 0x42036a
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x14]
test cl, 4
je 0x42037d
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x14]
test cl, 8
je 0x420385
mov esi, dword [eax + 0x10]
test esi, esi
jne 0x42038e
mov esi, 0x44b4c0
mov eax, dword [ebx + 8]
mov ecx, eax
or ecx, dword [esp + 0x124]
mov dword [esp + 0x84], esi
shr ecx, 4
and ecx, 1
mov dword [esp + 0x48], ecx
mov ecx, ebx
movzx ecx, word [ecx + 0xc]
mov ebx, ecx
shr ebx, 8
and ebx, 1
mov dword [esp + 0x40], ebx
mov ebx, eax
shr ebx, 0x12
and ebx, 1
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x110]
movzx ebx, word [ebx + 0x1c]
imul edx, ebx
add edx, ebp
add edx, dword [esp + 0x110]
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x120]
mov dword [esp + 0xe8], edx
mov edx, eax
shr edx, 5
and edx, 1
mov dword [esp + 0xa8], edx
mov edx, eax
shr edx, 0x1d
and edx, 1
mov dword [esp + 0xa4], edx
mov edx, eax
shr edx, 0x19
and edx, 1
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x124]
mov ebp, edx
shr ebp, 7
and ebp, 1
mov dword [esp + 0x94], ebp
mov ebp, edx
shr ebp, 8
and ebp, 1
mov dword [esp + 0x98], ebp
mov ebp, edx
shr ebp, 0xa
and ebp, 1
shr ecx, 0xc
mov dword [esp + 0xac], ebp
and ecx, 1
mov ebp, edx
shr ebp, 0x1c
mov dword [esp + 0xbc], ecx
lea ecx, [esi + 0x100]
and ebp, 1
mov dword [esp + 0x88], ecx
mov dword [esp + 0xc8], ebx
add ebx, dword [esp + 0x11c]
mov dword [esp + 0xb0], ebp
xor ebp, ebp
add esi, 0x340
mov ecx, edx
and ecx, 0x1800000
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xb4], ebp
mov dword [esp + 0x104], ebp
mov dword [esp + 0x100], ebp
mov dword [esp + 0xf8], ebp
mov dword [esp + 0x8c], esi
je 0x42050c
cmp ecx, 0x800000
je 0x4204ff
cmp ecx, 0x1000000
je 0x420524
pop edi
pop esi
pop ebp
mov eax, 0xffffffe9
pop ebx
add esp, 0xfc
ret
mov dword [esp + 0xb8], 1
jmp 0x42052b
test eax, 0x1800000
je 0x420524
mov edx, eax
shr edx, 0x17
and edx, 1
mov dword [esp + 0xb8], edx
jmp 0x42052b
mov dword [esp + 0xb8], ebp
mov ecx, dword [esp + 0x124]
test ecx, 0x700000
je 0x42053c
mov eax, ecx
and eax, 0x700000
cmp eax, 0x300000
ja 0x420597
je 0x420590
test eax, eax
je 0x42055c
cmp eax, 0x100000
je 0x420589
cmp eax, 0x200000
jne 0x4204ef
mov eax, 0xa
mov dword [esp + 0x6c], ebp
cmp eax, 0xff
jle 0x4205bd
mov ecx, eax
sar ecx, 8
mov dword [esp + 0x70], 2
mov byte [esp + 0x80], cl
mov byte [esp + 0x81], al
jmp 0x4205cc
mov eax, 0xd
jmp 0x420561
mov eax, 0xd0a
jmp 0x420561
cmp eax, 0x400000
je 0x4205b3
cmp eax, 0x500000
jne 0x4204ef
mov dword [esp + 0x6c], 2
jmp 0x4205cc
mov dword [esp + 0x6c], 1
jmp 0x4205cc
mov dword [esp + 0x70], 1
mov byte [esp + 0x80], al
cmp dword [esp + 0xdc], ebp
je 0x4205f7
mov edx, dword [esp + 0x110]
movzx eax, word [edx + 0xc]
test eax, 0x200
je 0x4205f7
pop edi
pop esi
pop ebp
mov eax, 0xfffffff3
pop ebx
add esp, 0xfc
ret
mov eax, 0x55555556
imul dword [esp + 0x12c]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [eax + eax*2]
lea ecx, [ebp + ebp]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x110]
movzx eax, word [eax + 0x12]
mov dword [esp + 0x20], ebp
test ax, ax
je 0x42068d
mov ecx, eax
mov eax, 0x55555556
imul ebp
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x42068d
lea ebp, [ecx + ecx*2 + 3]
lea ecx, [ebp*4]
push ecx
mov dword [esp + 0x24], ebp
call dword [0x46f524]
mov esi, eax
add esp, 4
mov dword [esp + 0x60], esi
test esi, esi
jne 0x42067c
pop edi
lea eax, [esi - 6]
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x2c], 1
jmp 0x420698
mov esi, dword [esp + 0x128]
mov dword [esp + 0x60], esi
lea ecx, [ebp + ebp]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0xe4], 0xffffffff
test esi, esi
je 0x42071b
mov ecx, dword [esp + 0x110]
movzx edx, word [ecx + 0x10]
add edx, edx
lea eax, [esi + ebp*4]
add edx, edx
mov ecx, eax
sub ecx, edx
lea edx, [esi + 8]
cmp ecx, edx
jae 0x4206eb
mov ecx, edx
sub eax, 4
cmp eax, ecx
jb 0x420703
mov dword [eax], 0xffffffff
sub eax, 4
cmp eax, ecx
jae 0x4206f2
mov esi, dword [esp + 0x60]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esp + 0x60]
mov dword [eax], 0xffffffff
mov ebx, dword [esp + 0xcc]
cmp dword [esp + 0x48], 0
jne 0x420777
mov ecx, dword [esp + 0x110]
movzx eax, word [ecx + 0xc]
test al, 0x10
je 0x42075b
mov cl, byte [ecx + 0x14]
mov dword [esp + 0x34], 1
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], cl
test al, 0x20
je 0x420777
mov edx, dword [esp + 0x88]
movzx ecx, cl
mov al, byte [ecx + edx]
mov byte [esp + 0x11], al
jmp 0x420777
cmp dword [esp + 0x40], 0
jne 0x420777
mov eax, dword [esp + 0x30]
test eax, eax
je 0x420777
test byte [eax + 4], 1
je 0x420777
add eax, 8
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x110]
movzx eax, word [ecx + 0xc]
test al, 0x40
je 0x4207ae
mov cl, byte [ecx + 0x16]
mov dword [esp + 0x4c], 1
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
test al, al
jns 0x4207ae
mov edx, dword [esp + 0x88]
movzx ecx, cl
mov al, byte [ecx + edx]
mov byte [esp + 0x12], al
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x14], edx
je 0x4208d7
cmp dword [esp + 0x1c], 0
mov esi, edi
je 0x420867
cmp edi, ebx
jae 0x4208d1
cmp dword [esp + 0x6c], 0
je 0x42081d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0x74]
push edx
push ebx
push eax
push esi
call fcn.00420f40
mov ebp, dword [esp + 0x84]
add esp, 0x14
test eax, eax
jne 0x4208ca
mov ebx, dword [esp + 0xcc]
mov edx, dword [esp + 0x18]
jmp 0x420849
mov ecx, ebx
sub ecx, ebp
cmp esi, ecx
ja 0x420849
mov al, byte [esi]
cmp al, byte [esp + 0x80]
jne 0x420849
cmp ebp, 1
je 0x4208ca
mov cl, byte [esi + 1]
cmp cl, byte [esp + 0x81]
je 0x4208ca
inc esi
cmp esi, edx
jae 0x42085d
mov edi, edi
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x42085d
inc esi
cmp esi, edx
jb 0x420850
cmp esi, ebx
jb 0x4207e1
jmp 0x4208ca
cmp edi, ebx
jae 0x4208d1
jmp 0x420870
cmp dword [esp + 0x6c], 0
je 0x4208a1
mov edx, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x74]
push ecx
push ebx
push edx
push esi
call fcn.00420f40
mov ebp, dword [esp + 0x84]
add esp, 0x14
test eax, eax
jne 0x4208ca
mov ebx, dword [esp + 0xcc]
jmp 0x4208c5
mov eax, ebx
sub eax, ebp
cmp esi, eax
ja 0x4208c5
mov cl, byte [esi]
cmp cl, byte [esp + 0x80]
jne 0x4208c5
cmp ebp, 1
je 0x4208ca
mov dl, byte [esi + 1]
cmp dl, byte [esp + 0x81]
je 0x4208ca
inc esi
cmp esi, ebx
jb 0x420870
mov ecx, dword [esp + 0xc8]
mov edx, esi
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 8]
or eax, dword [esp + 0x124]
test eax, 0x4000000
jne 0x420ae5
cmp dword [esp + 0x34], 0
je 0x420956
mov cl, byte [esp + 0x11]
cmp byte [esp + 0x10], cl
je 0x420930
cmp edi, edx
jae 0x420ae5
lea esp, [esp]
mov al, byte [edi]
cmp al, byte [esp + 0x10]
je 0x420ae5
cmp al, byte [esp + 0x11]
je 0x420ae5
inc edi
cmp edi, edx
jb 0x420910
jmp 0x420ae5
cmp edi, edx
jae 0x420ae5
jmp 0x420940
mov al, byte [esp + 0x10]
cmp byte [edi], al
je 0x420ae5
inc edi
cmp edi, edx
jb 0x420940
jmp 0x420ae5
cmp dword [esp + 0x40], 0
je 0x420a97
mov eax, dword [esp + 0x120]
add eax, ecx
cmp edi, eax
jbe 0x420ae5
cmp dword [esp + 0x1c], 0
je 0x420a10
cmp edi, edx
jae 0x420a73
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4209bf
cmp edi, ecx
jbe 0x4209ee
mov edx, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x74]
push edx
push ecx
push eax
push edi
call fcn.004210e0
mov edx, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jne 0x420a73
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x70]
jmp 0x4209ee
lea eax, [ecx + ebp]
cmp edi, eax
jb 0x4209ee
mov bl, byte [esp + 0x80]
mov eax, edi
sub eax, ebp
cmp byte [eax], bl
jne 0x4209ee
cmp ebp, 1
je 0x420a73
mov bl, byte [esp + 0x81]
cmp byte [eax + 1], bl
je 0x420a73
inc edi
cmp edi, edx
jae 0x420a73
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x420a06
inc edi
cmp edi, edx
jb 0x4209f7
jmp 0x420a73
cmp edi, edx
jb 0x420985
jmp 0x420a73
cmp edi, edx
jae 0x420a73
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x420a47
cmp edi, ecx
jbe 0x420a6e
push 0
lea edx, [esp + 0x74]
push edx
push ecx
push eax
push edi
call fcn.004210e0
mov edx, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jne 0x420a73
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x70]
jmp 0x420a6e
lea eax, [ecx + ebp]
cmp edi, eax
jb 0x420a6e
mov bl, byte [esp + 0x80]
mov eax, edi
sub eax, ebp
cmp byte [eax], bl
jne 0x420a6e
cmp ebp, 1
je 0x420a73
mov bl, byte [esp + 0x81]
cmp byte [eax + 1], bl
je 0x420a73
inc edi
cmp edi, edx
jb 0x420a14
cmp byte [edi - 1], 0xd
jne 0x420ae5
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x420a8b
cmp eax, 2
jne 0x420ae5
cmp edi, edx
jae 0x420ae5
cmp byte [edi], 0xa
jne 0x420ae5
inc edi
jmp 0x420ae5
cmp dword [esp + 0x28], 0
je 0x420ae5
cmp edi, edx
jae 0x420ae5
movzx eax, byte [edi]
mov ecx, eax
and ecx, 7
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x28]
shr eax, 3
mov al, byte [eax + ecx]
test al, bl
jne 0x420ae5
inc edi
cmp dword [esp + 0x1c], 0
je 0x420ae1
cmp edi, edx
jae 0x420ae5
jmp 0x420ad0
mov cl, byte [edi]
and cl, 0xc0
cmp cl, 0x80
jne 0x420ae1
inc edi
cmp edi, edx
jb 0x420ad0
jmp 0x420ae5
cmp edi, edx
jb 0x420aa2
mov edx, dword [esp + 0x110]
mov eax, dword [edx + 8]
or eax, dword [esp + 0x124]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, 0x4000000
jne 0x420bc5
cmp dword [esp + 0xdc], 0
jne 0x420bc5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x420b32
test byte [eax + 4], 2
je 0x420b32
mov ecx, esi
sub ecx, edi
cmp ecx, dword [eax + 0x28]
jb 0x420c35
cmp dword [esp + 0x4c], 0
je 0x420bc5
mov edx, esi
sub edx, edi
cmp edx, 0x3e8
jge 0x420bc5
xor eax, eax
cmp dword [esp + 0x34], eax
setne al
add eax, edi
cmp eax, dword [esp + 0x38]
jbe 0x420bc5
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
cmp cl, dl
je 0x420b9a
cmp eax, esi
jae 0x420c35
mov ebp, dword [esp + 0x14]
movzx esi, cl
lea esp, [esp]
movzx ecx, byte [eax]
inc eax
cmp ecx, esi
je 0x420bb8
movzx ebx, dl
cmp ecx, ebx
je 0x420bb8
cmp eax, ebp
jb 0x420b80
xor ebp, ebp
jmp 0x420d8f
cmp eax, esi
jae 0x420c35
mov dl, byte [eax]
inc eax
cmp dl, cl
je 0x420bb4
cmp eax, esi
jb 0x420ba2
xor ebp, ebp
jmp 0x420d8f
mov ebp, dword [esp + 0x14]
dec eax
cmp eax, ebp
jae 0x420c35
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc4]
xor ebx, ebx
push ebx
push ebx
lea eax, [esp + 0x5c]
push eax
push 2
mov edx, edi
mov eax, edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf0], ebx
call fcn.0040ee30
add esp, 0x10
mov ebp, eax
cmp dword [esp + 0xb4], ebx
je 0x420c1f
cmp dword [esp + 0x24], ebx
jne 0x420c1f
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x24], ecx
cmp ebp, 0xfffffc1d
jg 0x420c3c
je 0x420c7e
cmp ebp, 0xfffffc1a
jne 0x420d7a
xor ebp, ebp
jmp 0x420d8f
cmp ebp, 0xfffffc20
jg 0x420c76
je 0x420c7e
cmp ebp, 0xfffffc1e
je 0x420c69
cmp ebp, 0xfffffc1f
jne 0x420d7a
mov esi, edi
mov dword [esp + 0xc0], 1
jmp 0x420ca5
mov esi, dword [esp + 0xd0]
cmp esi, edi
je 0x420c7e
jmp 0x420ca5
cmp ebp, ebx
jne 0x420d7a
mov dword [esp + 0xc0], ebx
lea esi, [edi + 1]
cmp dword [esp + 0x1c], ebx
je 0x420ca5
mov eax, dword [esp + 0x14]
cmp esi, eax
jae 0x420ca5
mov dl, byte [esi]
and dl, 0xc0
cmp dl, 0x80
jne 0x420ca5
inc esi
cmp esi, eax
jb 0x420c96
xor ebp, ebp
cmp dword [esp + 0x50], ebx
je 0x420ce3
cmp dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0xcc]
je 0x420d4d
cmp edi, ebx
jae 0x420cea
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x74]
push ecx
push ebx
push edx
push edi
call fcn.00420f40
add esp, 0x14
test eax, eax
jne 0x420d8f
mov ebx, dword [esp + 0xcc]
mov edi, esi
cmp dword [esp + 0x48], ebp
jne 0x420d8f
mov eax, dword [esp + 0x14]
cmp esi, eax
ja 0x420d8f
cmp esi, dword [esp + 0x3c]
jbe 0x420d41
cmp byte [esi - 1], 0xd
jne 0x420d41
cmp esi, eax
jae 0x420d41
cmp byte [esi], 0xa
jne 0x420d41
mov edx, dword [esp + 0x110]
mov ecx, 0x800
test word [edx + 0xc], cx
jne 0x420d41
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x420d3e
cmp eax, 2
je 0x420d3e
cmp dword [esp + 0x70], 2
jne 0x420d41
lea edi, [esi + 1]
mov dword [esp + 0x100], ebp
jmp 0x4207ae
mov eax, dword [esp + 0x70]
mov ecx, ebx
sub ecx, eax
cmp edi, ecx
ja 0x420cea
mov dl, byte [edi]
cmp dl, byte [esp + 0x80]
jne 0x420cea
cmp eax, 1
je 0x420d8f
mov al, byte [edi + 1]
cmp al, byte [esp + 0x81]
je 0x420d8f
jmp 0x420cea
cmp ebp, 1
je 0x420e17
cmp ebp, 0xfffffc19
je 0x420e17
cmp dword [esp + 0x2c], 0
je 0x420da4
mov eax, dword [esp + 0x60]
push eax
call dword [0x46f528]
add esp, 4
test ebp, ebp
je 0x420db1
cmp ebp, 0xfffffff4
jne 0x420f12
mov eax, dword [esp + 0x24]
test eax, eax
je 0x420de5
cmp dword [esp + 0x12c], 1
jle 0x420dde
mov edx, dword [esp + 0x118]
mov ecx, dword [esp + 0x128]
sub eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
sub eax, edx
mov dword [ecx + 4], eax
mov eax, 0xfffffff4
jmp 0x420de8
or eax, 0xffffffff
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x420f34
test byte [ecx], 0x20
je 0x420f34
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0xfc
ret
cmp dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x128]
je 0x420e67
mov esi, dword [esp + 0x60]
cmp edi, 4
jl 0x420e49
lea eax, [edi*4 - 8]
push eax
lea ecx, [esi + 8]
push ecx
lea edx, [ebx + 8]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [esp + 0xe0], edi
jle 0x420e5d
mov dword [esp + 0x90], 1
push esi
call dword [0x46f528]
add esp, 4
cmp dword [esp + 0x90], 0
mov esi, dword [esp + 0xe0]
je 0x420e80
cmp esi, edi
jl 0x420e80
xor ebp, ebp
jmp 0x420e89
mov eax, esi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
mov eax, dword [esp + 0x110]
movzx ecx, word [eax + 0x10]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
jg 0x420eca
test ebx, ebx
je 0x420eca
lea eax, [ecx + ecx + 2]
cmp eax, dword [esp + 0x12c]
jle 0x420eb4
mov eax, dword [esp + 0x20]
lea edi, [ebx + esi*4]
lea ecx, [ebx + eax*4]
cmp edi, ecx
jae 0x420eca
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0x12c], 2
jge 0x420ed8
xor ebp, ebp
jmp 0x420ef6
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
sub ecx, eax
sub edx, eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x114]
test eax, eax
je 0x420f12
test byte [eax], 0x20
je 0x420f12
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x100]
mov dword [eax], ecx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xfc
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffe8
pop ebx
add esp, 0xfc
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret