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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1238
call fcn.0046ed50
mov ebp, 0x40004
sub esp, eax
mov esi, edx
mov eax, dword [esp + eax]
mov edi, ecx
mov dword [esp + 8], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x1250]
mov dword [esp], eax
call sub.msvcrt.dll_memset
movzx eax, byte [esi]
mov edx, esi
shl eax, 8
mov esi, eax
mov eax, dword [esp + 0x1254]
lea ebx, [eax - 1]
cmp ebx, 2
mov ecx, ebx
jle 0x451fe5
mov eax, dword [esp + 0x1250]
mov word [edi + ecx*2], 0
sar esi, 8
movzx ebp, byte [edx + ecx]
shl ebp, 8
or esi, ebp
inc dword [eax + esi*4]
sar esi, 8
mov word [edi + ecx*2 - 2], 0
movzx ebp, byte [edx + ecx - 1]
shl ebp, 8
or esi, ebp
inc dword [eax + esi*4]
sar esi, 8
mov word [edi + ecx*2 - 4], 0
movzx ebp, byte [edx + ecx - 2]
shl ebp, 8
or ebp, esi
inc dword [eax + ebp*4]
sar ebp, 8
mov word [edi + ecx*2 - 6], 0
movzx esi, byte [edx + ecx - 3]
sub ecx, 4
shl esi, 8
or esi, ebp
inc dword [eax + esi*4]
cmp ecx, 2
jg 0x451f68
mov eax, dword [esp + 0x1254]
mov edi, dword [esp + 0x1254]
sub eax, 4
lea edx, [edi - 5]
and eax, 0xfffffffc
sub edx, eax
mov ecx, edx
test ecx, ecx
js 0x452012
mov edx, dword [esp + 0x1250]
mov eax, dword [esp + 0x20]
sar esi, 8
mov word [eax + ecx*2], 0
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + ecx]
shl eax, 8
or esi, eax
inc dword [edx + esi*4]
sub ecx, 1
jae 0x451ff0
mov edi, dword [esp + 0x1254]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
lea ecx, [eax + edi*2]
xor eax, eax
lea edx, [esi + edi]
mov edi, ebx
movzx ebx, byte [esi + eax]
mov byte [edx + eax], bl
mov word [ecx + eax*2], 0
inc eax
cmp eax, 0x22
jne 0x45202b
mov eax, dword [esp + 0x1250]
mov ebx, edi
mov edi, dword [esp + 0x1250]
mov edx, dword [eax]
add eax, 4
lea ecx, [edi + 0x40004]
lea esi, [esi]
mov esi, dword [eax]
add eax, 4
add edx, esi
mov dword [eax - 4], edx
cmp ecx, eax
jne 0x452060
mov esi, dword [esp + 0x28]
movzx eax, byte [esi]
shl eax, 8
cmp ebx, 2
movzx ecx, ax
jle 0x452124
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x1250]
mov eax, ecx
movzx ecx, byte [esi + ebx]
shr eax, 8
shl ecx, 8
or eax, ecx
lea ebp, [edi + eax*4]
mov ecx, dword [ebp]
shr eax, 8
dec ecx
mov dword [ebp], ecx
mov dword [edx + ecx*4], ebx
movzx ecx, byte [esi + ebx - 1]
shl ecx, 8
or eax, ecx
lea ebp, [edi + eax*4]
mov ecx, dword [ebp]
shr eax, 8
dec ecx
mov dword [ebp], ecx
lea ebp, [ebx - 1]
mov dword [edx + ecx*4], ebp
movzx ecx, byte [esi + ebx - 2]
shl ecx, 8
or eax, ecx
lea ebp, [edi + eax*4]
mov ecx, dword [ebp]
shr eax, 8
dec ecx
mov dword [ebp], ecx
lea ebp, [ebx - 2]
mov dword [edx + ecx*4], ebp
movzx ecx, byte [esi + ebx - 3]
shl ecx, 8
or ecx, eax
lea ebp, [edi + ecx*4]
mov eax, dword [ebp]
dec eax
mov dword [ebp], eax
lea ebp, [ebx - 3]
sub ebx, 4
mov dword [edx + eax*4], ebp
cmp ebx, 2
jg 0x45208f
mov eax, dword [esp + 0x1254]
mov edi, dword [esp + 0x1254]
sub eax, 4
lea edx, [edi - 5]
and eax, 0xfffffffc
mov ebx, edx
sub ebx, eax
test ebx, ebx
js 0x452153
mov eax, dword [esp + 0x28]
shr ecx, 8
mov edi, dword [esp + 0x50]
movzx eax, byte [eax + ebx]
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x1250]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
dec eax
mov dword [edx], eax
mov dword [edi + eax*4], ebx
sub ebx, 1
jae 0x452128
xor edx, edx
xor eax, eax
mov dword [esp + eax + 0x80], edx
mov dword [esp + eax + 0x84], edx
add eax, 8
cmp eax, 0x100
jb 0x452157
xor eax, eax
lea esi, [esi]
lea esi, [esi]
nop
mov dword [esp + eax*4 + 0x630], eax
inc eax
cmp eax, 0x100
jne 0x452180
mov eax, 5
mov edx, 1
lea edx, [edx + edx*2 + 1]
dec eax
jne 0x452199
mov eax, 0xaaaaaaab
mul edx
mov esi, edx
shr esi, 1
cmp esi, 0x100
je 0x452270
mov dword [esp + 0x1c], esi
mov eax, esi
mov edi, esi
mov esi, dword [esp + 0x1250]
neg eax
lea edx, [eax*4]
mov ebp, edx
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + ebx*4 + 0x630]
mov dword [esp + 0x24], edx
mov ecx, edx
mov eax, edx
shl ecx, 0xa
shl eax, 8
mov ecx, dword [ecx + esi + 0x400]
sub ecx, dword [esi + eax*4]
lea eax, [esp + 0x630]
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + ebx*4 + 0x630]
jmp 0x45221c
mov dword [ecx], edx
mov eax, dword [esp + 0x10]
add ecx, ebp
cmp ebx, eax
jl 0x452285
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + ebp]
sub ebx, eax
mov eax, edx
mov edi, edx
shl eax, 0xa
shl edi, 8
mov eax, dword [eax + esi + 0x400]
sub eax, dword [esi + edi*4]
cmp dword [esp + 0x18], eax
jb 0x452210
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x630], edx
mov eax, dword [esp + 0x1c]
cmp eax, 0x100
jne 0x4521d1
cmp edi, 1
mov esi, edi
je 0x452293
mov eax, 0x55555556
imul esi
mov eax, esi
sar eax, 0x1f
mov esi, edx
sub esi, eax
jmp 0x4521b7
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
jmp 0x45224b
lea eax, [esp + 0xa30]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xa2c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1250]
add eax, 0x40000
mov dword [esp + 0x78], eax
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1250]
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov eax, edx
mov ebp, edx
shl eax, 0xa
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov ebx, eax
jmp 0x4522ff
or eax, 0x200000
mov dword [ebx], eax
inc ecx
add ebx, 4
cmp ecx, 0x100
je 0x452a37
cmp ebp, ecx
je 0x4522ef
mov eax, dword [ebx]
test eax, 0x200000
jne 0x4522e8
mov edx, dword [ebx + 4]
mov edi, eax
and edi, 0xffdfffff
mov dword [esp + 0x48], edi
and edx, 0xffdfffff
lea esi, [edx - 1]
mov dword [esp + 0x38], esi
cmp edi, esi
jge 0x4522e8
mov dword [esp + 0x180], edi
mov eax, 2
mov edi, 1
mov dword [esp + 0x4a0], eax
mov eax, 2
mov dword [esp + 0x310], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
dec eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
sub edx, eax
cmp edx, 0x13
jle 0x452744
cmp dword [esp + 0x14], 0xe
jle 0x45274f
inc edx
xor eax, eax
nop
mov ebp, eax
cmp dword [ebp*4 + 0x4c7664], edx
lea eax, [eax + 1]
jl 0x452390
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
lea eax, [eax*4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ebp
mov edi, dword [ebp*4 + 0x4c7660]
mov eax, dword [esp + 0x48]
lea edx, [edi + eax]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, edi
neg eax
shl eax, 2
mov dword [esp + 0x1c], eax
lea esi, [esi]
mov eax, dword [esp + 0x38]
cmp edx, eax
jg 0x4526d1
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
add esi, eax
mov dword [esp + 0x30], esi
add esi, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x28], esi
mov esi, edx
jmp 0x452437
cmp cl, dl
jae 0x4524b0
mov dword [ebx + edi*4], ebp
mov eax, dword [esp + 0x1c]
add ebx, eax
cmp dword [esp + 0x18], esi
jg 0x45249b
mov ebp, dword [ebx]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x14]
sub esi, edi
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x10]
add eax, ebp
movzx edx, byte [ecx + eax]
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx]
cmp dl, cl
jne 0x452420
mov edx, dword [esp + 0x1258]
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1254]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
call fcn.00451c90
test al, al
je 0x4524b0
mov ebp, dword [ebx]
mov eax, dword [esp + 0x1c]
mov dword [ebx + edi*4], ebp
add ebx, eax
cmp dword [esp + 0x18], esi
jle 0x452437
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
jmp 0x4524c7
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea esi, [ecx + esi*4]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
lea esi, [edx + 1]
cmp esi, eax
jg 0x4526d1
mov eax, dword [ecx + edx*4 + 4]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], eax
add ebx, eax
mov dword [esp + 0x30], ebx
add ebx, ebp
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x34]
add ebx, 4
jmp 0x452527
cmp cl, dl
jae 0x4525a0
mov dword [ebx + edi*4], ebp
mov eax, dword [esp + 0x1c]
add ebx, eax
cmp dword [esp + 0x18], esi
jg 0x45258b
mov ebp, dword [ebx]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x10]
sub esi, edi
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x28]
add eax, ebp
movzx edx, byte [edx + eax]
movzx ecx, byte [ecx]
cmp dl, cl
jne 0x452510
mov edx, dword [esp + 0x1258]
mov ecx, dword [esp + 0x1254]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
call fcn.00451c90
test al, al
je 0x4525a0
mov ebp, dword [ebx]
mov eax, dword [esp + 0x1c]
mov dword [ebx + edi*4], ebp
add ebx, eax
cmp dword [esp + 0x18], esi
jle 0x452527
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
jmp 0x4525b7
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea esi, [ecx + esi*4]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
lea esi, [edx + 2]
cmp esi, eax
jg 0x4526d1
mov eax, dword [ecx + edx*4 + 8]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], eax
add ebx, eax
mov dword [esp + 0x30], ebx
add ebx, ebp
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x34]
add ebx, 8
jmp 0x452617
cmp cl, dl
jae 0x452690
mov dword [ebx + edi*4], ebp
mov eax, dword [esp + 0x1c]
add ebx, eax
cmp dword [esp + 0x18], esi
jg 0x45267b
mov ebp, dword [ebx]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x10]
sub esi, edi
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x28]
add eax, ebp
movzx edx, byte [edx + eax]
movzx ecx, byte [ecx]
cmp dl, cl
jne 0x452600
mov ecx, dword [esp + 0x1258]
mov edx, dword [esp + 0x1254]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x10]
call fcn.00451c90
test al, al
je 0x452690
mov ebp, dword [ebx]
mov eax, dword [esp + 0x1c]
mov dword [ebx + edi*4], ebp
add ebx, eax
cmp dword [esp + 0x18], esi
jle 0x452617
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
jmp 0x4526a7
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea esi, [ecx + esi*4]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x24]
add edx, 3
add dword [esp + 0x34], 0xc
mov dword [esi], eax
mov eax, dword [esp + 0x1258]
mov ebp, dword [eax]
test ebp, ebp
jns 0x4523e0
add esp, 0x123c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 0x4c]
sub ebp, 1
jae 0x4523b1
mov eax, dword [esp + 0x1258]
mov eax, dword [eax]
test eax, eax
js 0x4526c6
mov edi, dword [esp + 0x54]
test edi, edi
je 0x452724
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], edi
lea eax, [edi - 1]
mov esi, dword [esp + eax*4 + 0x180]
mov dword [esp + 0x48], esi
mov esi, dword [esp + eax*4 + 0x310]
mov eax, dword [esp + eax*4 + 0x4a0]
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], eax
jmp 0x452364
mov eax, dword [esp + 0x1258]
mov ebp, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov esi, dword [eax]
test esi, esi
js 0x4526c6
mov eax, dword [ebx]
jmp 0x4522e8
inc edx
cmp edx, 1
jle 0x4526de
jmp 0x45238c
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
add ebx, edi
mov edi, dword [esp + 0x50]
lea eax, [esi + edx]
sar eax, 1
mov ecx, dword [edi + eax*4]
add ecx, ebx
movzx eax, byte [ecx]
mov byte [esp + 0x18], al
mov eax, dword [edi + edx*4]
lea edi, [edi + esi*4]
add eax, ebx
movzx edx, byte [eax]
mov eax, dword [edi]
add eax, ebx
movzx ecx, byte [eax]
cmp dl, cl
jae 0x452792
mov al, cl
mov cl, dl
mov dl, al
movzx eax, byte [esp + 0x18]
cmp al, dl
jae 0x4527a6
movzx edx, al
movzx eax, cl
cmp edx, eax
cmovb edx, eax
mov dword [esp + 0x2c], edi
movzx esi, dl
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov edi, esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
mov ebp, edx
lea esi, [esi]
lea esi, [esi]
cmp ebp, eax
jg 0x452830
mov edx, dword [esi + ebp*4]
mov dword [esp + 0x18], edx
movzx edx, byte [ebx + edx]
sub edx, edi
test edx, edx
je 0x452872
jle 0x45286c
mov dword [esp + 0x18], ebx
jmp 0x4527fe
js 0x45285b
cmp ebp, eax
jg 0x452830
mov dword [esp + 0x1c], eax
mov edx, dword [esi + eax*4]
dec eax
mov ebx, dword [esp + 0x18]
movzx ecx, byte [ebx + edx]
cmp ecx, edi
jne 0x4527f8
mov ecx, dword [esp + 0x24]
dec dword [esp + 0x24]
cmp ebp, eax
lea ecx, [esi + ecx*4]
mov ebx, dword [ecx]
mov dword [esi + eax*4 + 4], ebx
mov dword [ecx], edx
jle 0x4527fe
lea esi, [esi]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
inc esi
cmp dword [esp + 0x30], edx
jle 0x45288e
mov eax, dword [esp + 0x54]
mov dword [esp + eax*4 + 0x4a0], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
jmp 0x4526f3
mov ecx, dword [esi + ebp*4]
mov dword [esi + ebp*4], edx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esi + edx*4], ecx
inc ebp
jmp 0x4527d0
mov edx, dword [esp + 0x30]
inc dword [esp + 0x30]
lea edx, [esi + edx*4]
mov ecx, dword [edx]
mov dword [esi + ebp*4], ecx
mov ecx, dword [esp + 0x18]
inc ebp
mov dword [edx], ecx
jmp 0x4527d0
mov ebx, dword [esp + 0x30]
mov ecx, ebp
mov edx, dword [esp + 0x48]
sub ecx, ebx
sub ebx, edx
cmp ecx, ebx
mov edx, ebx
cmovle edx, ecx
mov ebx, ebp
sub ebx, edx
test edx, edx
mov dword [esp + 0x18], ebx
jle 0x4528df
mov ebx, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x50]
add edx, ebx
lea edi, [edi + edx*4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], eax
sub edx, ebx
mov ebx, edx
mov edx, dword [ecx]
mov eax, dword [ecx + ebx*4]
mov dword [ecx], eax
mov dword [ecx + ebx*4], edx
add ecx, 4
cmp edi, ecx
jne 0x4528ca
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov ebx, edx
sub ebx, eax
mov eax, edi
sub eax, edx
cmp eax, ebx
cmovg eax, ebx
sub edi, eax
test eax, eax
mov ecx, edi
jle 0x452925
mov edi, dword [esp + 0x50]
add eax, ebp
sub ecx, ebp
mov dword [esp + 0x18], ebx
lea edx, [edi + ebp*4]
lea edi, [edi + eax*4]
mov eax, dword [edx]
mov ebx, dword [edx + ecx*4 + 4]
mov dword [edx], ebx
mov dword [edx + ecx*4 + 4], eax
add edx, 4
cmp edi, edx
jne 0x45290e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
add eax, ebp
mov edx, eax
mov eax, dword [esp + 0x48]
sub edx, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], edx
lea ebp, [edx - 1]
mov edx, ebp
sub edx, eax
mov ecx, edi
mov eax, edx
sub ecx, ebx
lea ebx, [ecx + 1]
sub edi, ebx
mov dword [esp + 0x1c], edi
cmp eax, edi
mov edx, edi
jl 0x452977
mov edi, eax
mov eax, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x38], ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x48], edi
mov edx, dword [esp + 0x18]
mov edi, ecx
sub edi, edx
mov edx, dword [esp + 0x14]
cmp edi, eax
mov dword [esp + 0x24], edx
jg 0x4529a9
mov dword [esp + 0x24], esi
mov edi, eax
mov eax, ecx
mov esi, edx
mov ecx, ebp
mov edx, dword [esp + 0x48]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
cmp dword [esp + 0x1c], edi
jl 0x4529cd
mov eax, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x4a0], esi
mov esi, dword [esp + 0x48]
mov dword [esp + eax*4 + 0x180], edi
mov edi, dword [esp + 0x28]
mov dword [esp + eax*4 + 0x310], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + edi*4 + 0x180], ebx
mov dword [esp + edi*4 + 0x310], eax
mov eax, dword [esp + 0x14]
mov dword [esp + edi*4 + 0x4a0], eax
lea eax, [edi + 1]
mov dword [esp + eax*4 + 0x180], esi
mov esi, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x310], ebp
mov dword [esp + eax*4 + 0x4a0], esi
lea eax, [edi + 2]
mov dword [esp + 0x54], eax
jmp 0x4526f3
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1250]
mov edi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x10]
shl eax, 2
mov dword [esp + 0x10], eax
add eax, edx
xor edx, edx
mov ebx, eax
mov ecx, eax
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 0x400
and eax, 0xffdfffff
mov dword [esp + edx*4 + 0xa30], eax
mov eax, dword [ecx - 0x3fc]
and eax, 0xffdfffff
dec eax
mov dword [esp + edx*4 + 0xe30], eax
inc edx
cmp edx, 0x100
jne 0x452a60
mov esi, dword [edi]
mov eax, dword [esp + 0x60]
and esi, 0xffdfffff
cmp esi, dword [esp + eax*4 + 0xa30]
jge 0x452af9
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x50]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x14], eax
dec eax
jns 0x452ac0
mov edx, dword [esp + 0x1254]
add eax, edx
movzx edx, byte [ebp + eax]
cmp byte [esp + edx + 0x80], 0
jne 0x452ae7
mov ecx, dword [esp + edx*4 + 0xa30]
lea ebx, [ecx + 1]
mov dword [esp + edx*4 + 0xa30], ebx
mov ebx, dword [esp + 0x50]
mov dword [ebx + ecx*4], eax
mov eax, dword [esp + 0x60]
inc esi
cmp dword [esp + eax*4 + 0xa30], esi
jg 0x452aa9
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x1250]
lea eax, [ecx + 1]
shl eax, 0xa
add eax, esi
mov edx, eax
mov eax, dword [eax]
and eax, 0xffdfffff
lea esi, [eax - 1]
cmp esi, dword [esp + ecx*4 + 0xe30]
jle 0x452b81
mov dword [esp + 0x18], edi
mov edi, edx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x50]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x14], eax
dec eax
jns 0x452b42
mov ebx, dword [esp + 0x1254]
add eax, ebx
movzx edx, byte [ebp + eax]
cmp byte [esp + edx + 0x80], 0
jne 0x452b69
mov ecx, dword [esp + edx*4 + 0xe30]
lea ebx, [ecx - 1]
mov dword [esp + edx*4 + 0xe30], ebx
mov ebx, dword [esp + 0x50]
mov dword [ebx + ecx*4], eax
mov eax, dword [esp + 0x60]
dec esi
cmp dword [esp + eax*4 + 0xe30], esi
jl 0x452b2b
mov edx, edi
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
add eax, esi
lea esi, [esi]
nop
or dword [ebx], 0x200000
add ebx, 0x400
cmp ebx, eax
jne 0x452b90
mov eax, dword [esp + 0x60]
mov cl, 1
mov esi, dword [esp + 0x58]
cmp dword [esp + 0x70], esi
mov byte [esp + eax + 0x80], cl
je 0x4526c6
mov eax, dword [edi]
and eax, 0xffdfffff
mov esi, eax
mov eax, dword [edx]
and eax, 0xffdfffff
sub eax, esi
cmp eax, 0xfffe
mov ebx, eax
jle 0x452c30
xor ecx, ecx
inc ecx
mov eax, ebx
sar eax, cl
cmp eax, 0xfffe
jg 0x452bd8
dec ebx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
lea esi, [eax + esi*4]
mov eax, dword [esi + ebx*4]
mov edi, ebx
sar edi, cl
movzx edi, di
mov word [edx + eax*2], di
cmp eax, 0x21
jg 0x452c0e
add eax, dword [esp + 0x1254]
mov word [edx + eax*2], di
sub ebx, 1
jae 0x452bf0
add dword [esp + 0x58], 4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x74], eax
jne 0x4522bd
jmp 0x4526c6
dec ebx
js 0x452c13
xor ecx, ecx
jmp 0x452be5