Function at 0x424e70
Capabilities:
Terminate process

Disassembly:
sub esp, 0x328
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0x100
xor ebx, ebx
mov eax, dword [esi + 0x42c]
push edi
test ebp, eax
mov dword [esp + 0x2c], ebx
je 0x424ed1
push 0x2808
call fcn.004640eb
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x424ecd
mov dword [edi], 0x480518
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.0041f660
add ebx, 0x28
dec ebp
jne 0x424ead
mov dword [edi], 0x4804f4
mov dword [edi + 4], 1
mov dword [esp + 0x2c], edi
jmp 0x424ed1
mov dword [esp + 0x2c], ebx
push 0x200000
call fcn.004640eb
mov edi, eax
add esp, 4
test edi, edi
jne 0x424f2d
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
call fcn.004253c0
mov ecx, dword [esp + 0x14]
mov edx, dword [0x496644]
push ecx
push edi
push str.cdr_s
push 2
push str.PICTURE__s
push edx
call fcn.00407250
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, 0x496630
je 0x424f26
push eax
call fcn.004640e0
add esp, 4
push 1
call fcn.00465bed
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*4]
push ecx
call fcn.004640eb
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x424f95
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
call fcn.004253c0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x496644]
push eax
push 0
push str.cntrl_s
push 2
push str.PICTURE__s
push ecx
call fcn.00407250
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, 0x496630
je 0x424f8e
push eax
call fcn.004640e0
add esp, 4
push 1
call fcn.00465bed
test byte [esi + 0x42c], 8
je 0x425049
mov ebx, dword [esp + 0x33c]
push 0
push 0x204c4150
mov ecx, ebx
call fcn.00406780
mov eax, dword [esi + 0x42c]
test al, 0x10
je 0x425001
test al, 2
je 0x424fe5
mov ecx, esi
call fcn.00424730
mov edx, dword [ebx]
lea eax, [esi + 0x28]
push 0x400
push eax
mov ecx, ebx
call dword [edx + 4]
mov ecx, ebx
call fcn.00406830
jmp 0x425050
mov eax, dword [esi + 8]
mov edx, dword [ebx]
add eax, 0x24
push 0x400
push eax
mov ecx, ebx
call dword [edx + 4]
mov ecx, ebx
call fcn.00406830
jmp 0x425050
mov eax, dword [esi + 8]
lea ecx, [esp + 0x39]
add eax, 0x24
mov ebp, 0x100
mov edx, dword [eax]
add eax, 4
shr edx, 0x10
mov byte [ecx - 1], dl
mov edx, dword [eax - 4]
shr edx, 8
mov byte [ecx], dl
mov dl, byte [eax - 4]
mov byte [ecx + 1], dl
add ecx, 3
dec ebp
jne 0x425010
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
push 0x300
push ecx
mov ecx, ebx
call dword [eax + 4]
mov ecx, ebx
call fcn.00406830
jmp 0x425050
mov ebx, dword [esp + 0x33c]
mov edx, dword [esi + 8]
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov eax, dword [edx + 4]
test eax, eax
jle 0x425371
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
push 0
push 0x41544144
mov ecx, ebx
call fcn.00406780
mov ecx, esi
mov dword [esp + 0x10], 0
call fcn.004223e0
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
xor ecx, ecx
test ebp, ebp
jle 0x4250ba
mov edx, dword [esp + 0x14]
cmp eax, dword [edx]
je 0x4250a7
inc ecx
add edx, 4
cmp ecx, ebp
jl 0x425099
jmp 0x4250ba
mov dword [esp + 0x10], 2
cmp ecx, ebp
mov word [edi], cx
jl 0x425325
mov edx, dword [esp + 0x10]
mov ecx, esi
add edx, edi
push edx
call fcn.00424110
mov edx, dword [esp + 0x10]
xor ebp, ebp
add edx, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ebp
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.00422b00
test dword [esi + 0x42c], 0x100000
je 0x4250fb
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x10]
mov ax, word [esp + 0x28]
mov word [edx + edi], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add eax, 2
sub ecx, edx
mov dword [esp + 0x10], eax
mov word [eax + edi], cx
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add ecx, 2
cmp ebp, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
jge 0x425321
xor ebx, ebx
jmp 0x425148
mov ebp, dword [esp + 0x18]
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.00425480
test eax, eax
jne 0x42516f
mov edx, dword [esi + 8]
inc ebx
cmp ebx, dword [edx + 0x10]
jge 0x42516f
push ebp
push ebx
mov ecx, esi
call fcn.00425480
test eax, eax
je 0x425159
mov eax, dword [esi + 8]
cmp ebx, dword [eax + 0x10]
jge 0x4252eb
mov edx, dword [esp + 0x1c]
mov eax, ebx
sub eax, edx
cmp eax, 0xff
jle 0x4251ba
mov ecx, dword [esp + 0x10]
sub eax, 0xff
add edx, 0xff
mov byte [ecx + edi], 0xff
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov byte [ecx + edi], 0
mov ecx, dword [esp + 0x10]
inc ecx
cmp eax, 0xff
mov dword [esp + 0x10], ecx
jg 0x42518a
mov ecx, dword [esp + 0x10]
mov al, bl
sub al, dl
mov byte [ecx + edi], al
mov eax, dword [esp + 0x10]
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, ebx
cmp ecx, 0xff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jge 0x42524c
lea edx, [ebx + 2]
mov dword [esp + 0x20], edx
mov al, byte [esi + 0x42c]
push ebp
test al, 4
push ebx
mov ecx, esi
je 0x425225
call fcn.00425480
test eax, eax
jne 0x42522e
mov eax, dword [esp + 0x20]
push ebp
dec eax
mov ecx, esi
push eax
call fcn.00425480
test eax, eax
jne 0x42522e
mov ecx, dword [esp + 0x20]
push ebp
push ecx
mov ecx, esi
call fcn.00425480
test eax, eax
je 0x425248
jmp 0x42522e
call fcn.00425480
test eax, eax
je 0x425248
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc ebx
inc edx
mov dword [esp + 0x20], edx
mov edx, ebx
sub edx, ecx
cmp edx, 0xff
jl 0x4251e9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov cl, bl
sub cl, al
mov byte [edx + edi], cl
mov edx, dword [esp + 0x10]
mov cl, byte [esi + 0x42c]
inc edx
test cl, 4
mov dword [esp + 0x10], edx
je 0x42529a
cmp eax, ebx
mov ebp, eax
jge 0x42529a
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
push ebp
call fcn.004226b0
mov ecx, dword [esp + 0x10]
mov word [ecx + edi], ax
mov edx, dword [esp + 0x10]
add edx, 2
inc ebp
cmp ebp, ebx
mov dword [esp + 0x10], edx
jl 0x425271
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ebp, eax
jge 0x425144
mov al, byte [esi + 0x42c]
mov edx, dword [esp + 0x18]
test al, 8
push edx
push ebp
mov ecx, esi
je 0x4252c9
call fcn.00422930
mov ecx, dword [esp + 0x10]
mov byte [ecx + edi], al
mov eax, dword [esp + 0x10]
inc eax
jmp 0x4252dd
call fcn.00422930
mov ecx, dword [esp + 0x10]
mov word [ecx + edi], ax
mov eax, dword [esp + 0x10]
add eax, 2
inc ebp
mov dword [esp + 0x10], eax
cmp ebp, ebx
jl 0x4252a4
jmp 0x425144
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov byte [eax + edi], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
inc edx
inc ebp
mov dword [esp + 0x10], edx
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x425140
mov ebx, dword [esp + 0x33c]
mov ebp, dword [esp + 0x34]
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push 4
push ecx
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push edx
push eax
push edi
mov ecx, ebx
call fcn.00406540
mov ecx, ebx
call fcn.00406830
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x30]
inc ebp
add edx, 4
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ebp
cmp ebp, ecx
mov dword [esp + 0x30], edx
jl 0x42506c
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x42539a
lea esi, [ebp + 0x2808]
mov ebx, 0x100
sub esi, 0x28
mov ecx, esi
call fcn.0041f690
dec ebx
jne 0x425384
push ebp
call fcn.004640e0
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004640e0
push edi
call fcn.004640e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4