Function at 0x431c90
Capabilities:
Terminate process

Disassembly:
sub esp, 0x328
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x42c]
xor ebx, ebx
test ah, 1
push edi
mov dword [esp + 0x2c], ebx
je 0x431cf2
push 0x2808
call fcn.00488e10
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x431cee
mov dword [edi], 0x498684
lea ebp, [edi + 8]
mov ebx, 0x100
mov ecx, ebp
call fcn.0042b240
add ebp, 0x28
dec ebx
jne 0x431cce
mov dword [edi], 0x49865c
mov dword [edi + 4], 1
mov dword [esp + 0x2c], edi
jmp 0x431cf2
mov dword [esp + 0x2c], ebx
push 0x200000
call fcn.00488e10
mov edi, eax
add esp, 4
test edi, edi
jne 0x431d4e
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
call fcn.004321c0
mov ecx, dword [esp + 0x14]
mov edx, dword [0x4b1dfc]
push ecx
push edi
push str.cdr_s
push 2
push str.PICTURE__s
push edx
call fcn.00408f90
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, 0x4b1de8
je 0x431d47
push eax
call fcn.00488e76
add esp, 4
push 1
call fcn.0048abad
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*4]
push ecx
call fcn.00488e10
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x431db6
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
call fcn.004321c0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4b1dfc]
push eax
push 0
push str.cntrl_s
push 2
push str.PICTURE__s
push ecx
call fcn.00408f90
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, 0x4b1de8
je 0x431daf
push eax
call fcn.00488e76
add esp, 4
push 1
call fcn.0048abad
test byte [esi + 0x42c], 8
je 0x431e6b
mov ebp, dword [esp + 0x33c]
push 0
push 0x204c4150
mov ecx, ebp
call fcn.00407d70
mov eax, dword [esi + 0x42c]
test al, 0x10
je 0x431e24
test al, 2
je 0x431e07
mov ecx, esi
call fcn.00431550
mov edx, dword [ebp]
push 0x400
lea eax, [esi + 0x28]
push eax
mov ecx, ebp
call dword [edx + 8]
mov ecx, ebp
call fcn.00407e20
jmp 0x431e72
mov eax, dword [esi + 8]
mov edx, dword [ebp]
push 0x400
add eax, 0x24
push eax
mov ecx, ebp
call dword [edx + 8]
mov ecx, ebp
call fcn.00407e20
jmp 0x431e72
mov eax, dword [esi + 8]
lea ecx, [esp + 0x39]
add eax, 0x24
mov edx, 0x100
mov ebx, dword [eax]
shr ebx, 0x10
mov byte [ecx - 1], bl
mov ebx, dword [eax]
shr ebx, 8
mov byte [ecx], bl
mov bl, byte [eax]
mov byte [ecx + 1], bl
add eax, 4
add ecx, 3
dec edx
jne 0x431e33
mov edx, dword [ebp]
push 0x300
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call dword [edx + 8]
mov ecx, ebp
call fcn.00407e20
jmp 0x431e72
mov ebp, dword [esp + 0x33c]
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x34], ebx
jle 0x432192
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
test ebx, ebx
jle 0x431e99
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0
push 0x41544144
mov ecx, ebp
call fcn.00407d70
mov ecx, esi
mov dword [esp + 0x10], 0
call fcn.0042efd0
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
xor ecx, ecx
test ebx, ebx
jle 0x431ee7
mov edx, dword [esp + 0x14]
cmp eax, dword [edx]
je 0x431ed4
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x431ec6
jmp 0x431ee7
cmp ecx, ebx
mov dword [esp + 0x10], 2
mov word [edi], cx
jl 0x432152
mov edx, dword [esp + 0x10]
add edx, edi
push edx
mov ecx, esi
call fcn.00430f30
mov edx, dword [esp + 0x10]
add edx, eax
lea eax, [esp + 0x24]
push eax
xor ebp, ebp
push ebp
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042f8c0
test dword [esi + 0x42c], 0x100000
je 0x431f28
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 0x43214b
xor ebx, ebx
jmp 0x431f75
mov ebp, dword [esp + 0x18]
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.00432940
test eax, eax
jne 0x431f9e
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x10]
inc ebx
cmp ebx, eax
jge 0x431f9e
push ebp
push ebx
mov ecx, esi
call fcn.00432940
test eax, eax
je 0x431f86
mov eax, dword [esi + 8]
cmp ebx, dword [eax + 0x10]
jge 0x432118
mov edx, dword [esp + 0x1c]
mov eax, ebx
sub eax, edx
cmp eax, 0xff
jle 0x431fe9
mov ecx, dword [esp + 0x10]
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
sub eax, 0xff
add edx, 0xff
cmp eax, 0xff
mov dword [esp + 0x10], ecx
jg 0x431fb9
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
cmp ecx, 0xff
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jge 0x43207a
lea edx, [ebx + 2]
mov dword [esp + 0x20], edx
test byte [esi + 0x42c], 4
push ebp
push ebx
mov ecx, esi
je 0x432053
call fcn.00432940
test eax, eax
jne 0x43205c
mov eax, dword [esp + 0x20]
push ebp
dec eax
push eax
mov ecx, esi
call fcn.00432940
test eax, eax
jne 0x43205c
mov ecx, dword [esp + 0x20]
push ebp
push ecx
mov ecx, esi
call fcn.00432940
test eax, eax
je 0x432076
jmp 0x43205c
call fcn.00432940
test eax, eax
je 0x432076
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 0x432018
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 0x4320c8
cmp eax, ebx
mov ebp, eax
jge 0x4320c8
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, esi
call fcn.0042f280
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 0x43209f
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ebp, eax
jge 0x431f71
mov edx, dword [esp + 0x18]
test byte [esi + 0x42c], 8
push edx
push ebp
mov ecx, esi
je 0x4320f6
call fcn.0042f5a0
mov ecx, dword [esp + 0x10]
mov byte [ecx + edi], al
mov eax, dword [esp + 0x10]
inc eax
jmp 0x43210a
call fcn.0042f5a0
mov ecx, dword [esp + 0x10]
mov word [ecx + edi], ax
mov eax, dword [esp + 0x10]
add eax, 2
inc ebp
cmp ebp, ebx
mov dword [esp + 0x10], eax
jl 0x4320d2
jmp 0x431f71
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
cmp ebp, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebp
jl 0x431f6d
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x33c]
mov eax, dword [ebp]
push 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call dword [eax + 8]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00407b30
mov ecx, ebp
call fcn.00407e20
add dword [esp + 0x30], 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 4]
inc ebx
cmp ebx, eax
mov dword [esp + 0x34], ebx
jl 0x431e8e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4321a0
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x14]
push eax
call fcn.00488e76
push edi
call fcn.00488e76
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4