Function at 0x432220
Capabilities:
Terminate process

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x200000
mov dword [esp + 0x2c], ebp
call fcn.00488e10
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x4322ae
mov ebp, dword [ebp + 8]
add ebp, 0x1c
mov ebp, dword [ebp]
cmp byte [ebp], 0
je 0x43226a
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x58]
call fcn.00401800
jmp 0x432272
mov dword [esp + 0x50], 0x4b1de8
mov eax, dword [esp + 0x50]
mov ecx, dword [0x4b1dfc]
push eax
push ebx
push str.cdr_s
push 2
push str.PICTURE__s
push ecx
call fcn.00408f90
mov eax, dword [esp + 0x68]
add esp, 0x18
cmp eax, 0x4b1de8
je 0x4322a7
push eax
call fcn.00488e76
add esp, 4
push 1
call fcn.0048abad
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 2
push eax
call fcn.00488e10
add esp, 4
cmp eax, ebx
mov dword [esp + 0x3c], eax
jne 0x432334
mov ebp, dword [ebp + 8]
add ebp, 0x1c
mov ebp, dword [ebp]
cmp byte [ebp], 0
je 0x4322f0
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x58]
call fcn.00401800
jmp 0x4322f8
mov dword [esp + 0x50], 0x4b1de8
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4b1dfc]
push ecx
push ebx
push str.cntrl_s
push 2
push str.PICTURE__s
push edx
call fcn.00408f90
mov eax, dword [esp + 0x68]
add esp, 0x18
cmp eax, 0x4b1de8
je 0x43232d
push eax
call fcn.00488e76
add esp, 4
push 1
call fcn.0048abad
mov eax, dword [ebp + 0x42c]
test ah, 1
je 0x43238b
push 0x2808
call fcn.00488e10
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x43238b
mov dword [edi], 0x498684
lea ebx, [edi + 8]
mov dword [esp + 0x38], 0x100
mov ecx, ebx
call fcn.0042b240
mov eax, dword [esp + 0x38]
add ebx, 0x28
dec eax
mov dword [esp + 0x38], eax
jne 0x432363
mov dword [edi], 0x49865c
mov dword [edi + 4], 1
mov dword [esp + 0x2c], edi
jmp 0x43238f
mov dword [esp + 0x2c], ebx
mov eax, dword [ebp + 0x42c]
test al, 2
je 0x4323a2
and eax, 0xfffffff7
mov dword [ebp + 0x42c], eax
test byte [ebp + 0x42c], 8
je 0x4323d9
mov edi, dword [esp + 0x50]
push 0
push 0x204c4150
mov ecx, edi
call fcn.00407d70
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
add ecx, 0x24
push 0x400
push ecx
mov ecx, edi
call dword [eax + 8]
mov ecx, edi
call fcn.00407e20
jmp 0x4323dd
mov edi, dword [esp + 0x50]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x40], ebx
jle 0x4328b0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
push 0
push 0x41544144
mov ecx, edi
call fcn.00407d70
mov ecx, ebp
mov dword [esp + 0x10], 0
call fcn.0042efd0
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
xor ecx, ecx
test ebx, ebx
jle 0x432446
mov edx, dword [esp + 0x3c]
cmp eax, dword [edx]
je 0x432434
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x432426
jmp 0x432446
cmp ecx, ebx
mov dword [esp + 0x10], 4
mov dword [esi], ecx
jl 0x432869
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.0042f8c0
mov eax, dword [ebp + 0x42c]
test al, 8
je 0x432478
mov eax, dword [esp + 0x10]
mov dword [eax + esi], 0x29
jmp 0x432494
test al, 2
je 0x432489
mov ecx, dword [esp + 0x10]
mov dword [ecx + esi], 0x15
jmp 0x432494
mov edx, dword [esp + 0x10]
mov dword [edx + esi], 0x19
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add eax, 4
sub ecx, edx
mov dword [esp + 0x10], eax
mov word [eax + esi], cx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x10], eax
sub edx, edi
mov word [eax + esi], dx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add ecx, 2
cmp ebx, eax
mov dword [esp + 0x10], ecx
jge 0x432555
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
cmp edi, eax
jge 0x43254c
mov eax, dword [ebp + 0x42c]
test al, 8
je 0x43250a
push ebx
push edi
mov ecx, ebp
call fcn.0042f5a0
mov ecx, dword [esp + 0x10]
mov byte [ecx + esi], al
mov eax, dword [esp + 0x10]
inc eax
jmp 0x43253b
test al, 2
push ebx
push edi
mov ecx, ebp
je 0x432527
call fcn.0042f5a0
mov edx, dword [esp + 0x10]
mov dword [edx + esi], eax
mov eax, dword [esp + 0x10]
add eax, 4
jmp 0x43253b
call fcn.0042f5a0
mov ecx, dword [esp + 0x10]
mov word [ecx + esi], ax
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x4324e9
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc ebx
cmp ebx, ecx
jl 0x4324e5
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
add eax, esi
xor ecx, ecx
mov dword [eax], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
mov dword [eax + esi], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov edx, eax
neg edx
shl edx, 0x1f
sub edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea ecx, [edx + eax + 9]
mov edx, dword [esp + 0x24]
sub edx, ebx
add edx, 9
imul ecx, edx
shl ecx, 1
push ecx
call fcn.00488e10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov edi, ecx
sub edi, edx
mov edx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add edx, 8
add esp, 4
add edi, 9
cmp eax, edx
mov dword [esp + 0x1c], eax
jge 0x4326d8
mov ebp, dword [esp + 0x14]
lea eax, [ecx + 8]
cmp ebp, eax
jge 0x4326ba
mov ecx, dword [esp + 0x1c]
push 9
push 9
add ecx, 0xfffffff8
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [ebp - 8]
push eax
call fcn.00432a10
test eax, eax
je 0x4326a4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push 9
push 9
lea eax, [edx - 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042f2f0
mov ecx, dword [esp + 0x10]
mov word [ecx + esi], bp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add edx, 2
mov dword [esp + 0x10], edx
mov word [edx + esi], cx
mov edx, dword [esp + 0x10]
add edx, 2
mov dword [esp + 0x10], edx
mov word [edx + esi], ax
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x10], eax
mov edx, ebp
sub edx, dword [esp + 0x14]
mov word [eax + esi], dx
mov eax, dword [esp + 0x10]
add eax, 2
mov edx, ecx
sub edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov word [eax + esi], dx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub ecx, edx
imul ecx, edi
add eax, 2
mov dword [esp + 0x10], eax
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add ecx, ebp
mov word [ebx + ecx*2], ax
inc eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x20]
add ebp, 8
lea eax, [ecx + 8]
cmp ebp, eax
jl 0x4325ef
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add eax, 8
add edx, 8
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x4325e4
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add edx, 8
cmp eax, edx
mov dword [esp + 0x1c], eax
jge 0x43284c
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
lea ecx, [eax + 8]
cmp ebp, ecx
jge 0x43282e
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push 8
push 8
push edx
push ebp
call fcn.00432a10
test eax, eax
je 0x432818
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x14]
imul ecx, edi
sub ecx, edx
add ecx, ebp
mov dx, word [ebx + ecx*2]
mov ecx, dword [esp + 0x10]
mov word [ecx + esi], dx
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, dword [esp + 0x18]
add ecx, 2
imul edx, edi
sub edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
add edx, ebp
mov dx, word [ebx + edx*2 + 0x10]
mov word [ecx + esi], dx
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, dword [esp + 0x18]
add ecx, 2
add edx, 8
imul edx, edi
sub edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
add edx, ebp
mov dx, word [ebx + edx*2]
mov word [ecx + esi], dx
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, dword [esp + 0x18]
add ecx, 2
add edx, 8
imul edx, edi
sub edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
add edx, ebp
mov dx, word [ebx + edx*2 + 0x10]
mov word [ecx + esi], dx
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, dword [esp + 0x18]
add ecx, 2
imul edx, edi
sub edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
add edx, ebp
mov dx, word [ebx + edx*2 + 0x10]
mov word [ecx + esi], dx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, edx
mov edx, dword [esp + 0x14]
add eax, 8
imul eax, edi
add ecx, 2
sub eax, edx
mov dword [esp + 0x10], ecx
add eax, ebp
mov ax, word [ebx + eax*2]
mov word [ecx + esi], ax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add ecx, 2
add eax, 6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
add ebp, 8
lea ecx, [eax + 8]
cmp ebp, ecx
jl 0x43270c
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, 8
add edx, 8
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jl 0x432701
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
push ebx
mov dword [ecx + esi + 4], eax
call fcn.00488e76
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
add esp, 4
mov edx, dword [edi]
push 4
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push edx
push esi
mov ecx, edi
call fcn.00407b30
mov ecx, edi
call fcn.00407e20
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
add dword [esp + 0x38], 4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
jl 0x4323f9
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4328be
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x3c]
push eax
call fcn.00488e76
push esi
call fcn.00488e76
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4