Function at 0x432a70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5ae774]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [0x5af900]
lea eax, [ecx + edx*2]
imul eax, dword [0x5af904]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jne 0x432ac3
mov eax, dword [ebp - 0x1c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
call fcn.00513e0e
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x432b0d
cmp dword [ebp + 0x10], 1
jne 0x432aea
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00513e0e
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x432b0d
push str.Internal_error._n
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
cmp dword [ebp - 0x18], 0
jne 0x432b36
push 0x58cea0
call fcn.00511adb
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + ecx]
cmp eax, 0x2d
jne 0x432b73
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x432b73
call fcn.00511adb
mov ecx, 0x20
shl ecx, 0
add eax, ecx
mov dword [0x5bc9e0], eax
jmp 0x432bc3
push 0x58cf08
mov edx, dword [ebp + 0xc]
push edx
call fcn.00514cb0
add esp, 8
mov dword [0x5bc9e0], eax
cmp dword [0x5bc9e0], 0
jne 0x432bc3
mov eax, dword [ebp + 0xc]
push eax
push str.Failed_to_create_file:__s_n
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 0xc
push 0
call fcn.00514cc5
add esp, 4
push 1
call fcn.005150f3
push 0
push 0
push 0
push str.1.6.37
call fcn.00478725
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x432c02
push str.Failed_to_initialize_PNG_writer._n
call fcn.00511adb
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
mov eax, dword [ebp - 0xc]
push eax
call fcn.00479434
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x432c3a
push str.Failed_to_initialize_PNG_write._n
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
push 0x40
push 0x515350
mov edx, dword [ebp - 0xc]
push edx
call fcn.0047a1a0
add esp, 0xc
push 0
push eax
call fcn.0051eae0
add esp, 8
test eax, eax
je 0x432c8f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004787d6
add esp, 8
push str.Failed_to_write_PNG_image._n
call fcn.00511adb
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
cmp dword [ebp + 0x10], 0
jne 0x432ddb
push 6
call fcn.00513e0e
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x432ccf
push 0x58cf28
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
mov edx, 1
imul eax, edx, 0
mov ecx, 3
imul edx, ecx, 0
mov ecx, dword [ebp - 0x20]
mov al, byte [eax + 0x5af8fc]
mov byte [ecx + edx], al
mov ecx, 1
shl ecx, 0
mov edx, 3
imul eax, edx, 0
mov edx, dword [ebp - 0x20]
mov cl, byte [ecx + 0x5af8fc]
mov byte [edx + eax + 1], cl
mov edx, 1
shl edx, 1
mov eax, 3
imul ecx, eax, 0
mov eax, dword [ebp - 0x20]
mov dl, byte [edx + 0x5af8fc]
mov byte [eax + ecx + 2], dl
mov eax, 1
imul ecx, eax, 0
mov edx, 3
shl edx, 0
mov eax, dword [ebp - 0x20]
mov cl, byte [ecx + 0x5af8f4]
mov byte [eax + edx], cl
mov edx, 1
shl edx, 0
mov eax, 3
shl eax, 0
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + 0x5af8f4]
mov byte [ecx + eax + 1], dl
mov eax, 1
shl eax, 1
mov ecx, 3
shl ecx, 0
mov edx, dword [ebp - 0x20]
mov al, byte [eax + 0x5af8f4]
mov byte [edx + ecx + 2], al
mov ecx, 1
imul edx, ecx, 3
mov eax, 1
imul ecx, eax, 0
mov dl, byte [edx + 0x5af8fc]
mov byte [ebp + ecx - 8], dl
mov eax, 1
imul ecx, eax, 3
mov edx, 1
shl edx, 0
mov al, byte [ecx + 0x5af8f4]
mov byte [ebp + edx - 8], al
push 2
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047a498
add esp, 0x10
push 0
push 2
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047a59e
add esp, 0x14
mov ecx, dword [0x5bc9e0]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00479a89
add esp, 8
cmp dword [ebp + 0x10], 0
jne 0x432e18
push 0
push 0
push 0
push 3
push 1
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047a3e8
add esp, 0x24
jmp 0x432e3a
push 0
push 0
push 0
push 6
push 8
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0047a3e8
add esp, 0x24
push 1
cvtsi2sd xmm0, dword [0x5af908]
mulsd xmm0, qword [0x591b68]
call fcn.0051e211
push eax
cvtsi2sd xmm0, dword [0x5af908]
mulsd xmm0, qword [0x591b68]
call fcn.0051e211
push eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047a56a
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00478ae5
add esp, 8
cmp dword [ebp + 0x10], 0
jne 0x433083
mov eax, dword [ebp - 0x1c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0xff
mov eax, dword [ebp - 0x18]
push eax
call fcn.00511290
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x432ec5
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [0x5af900]
imul edx, dword [0x5af904]
cmp dword [ebp - 0x14], edx
jge 0x432ee9
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00478ef9
add esp, 8
jmp 0x432ebc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
jmp 0x432f04
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 4]
jge 0x433028
mov eax, dword [ebp - 0x1c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0xff
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00511290
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [0x5af900]
imul eax, dword [0x5af904]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [0x5af900]
imul eax, dword [0x5af904]
and eax, reloc.WS2_32.dll_getsockopt
jns 0x432f6d
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, 7
sub ecx, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], 0
jmp 0x432f89
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
jge 0x432ff4
mov dword [ebp - 0x28], 0
jmp 0x432fa6
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x5af904]
jge 0x432fe9
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx]
and edx, 1
mov ecx, dword [ebp - 0x38]
shl edx, cl
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 0x34]
mov byte [edx], cl
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
jns 0x432fe7
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], 7
jmp 0x432f9d
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x432f80
mov dword [ebp - 0x30], 0
jmp 0x433006
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x5af904]
jge 0x433023
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00478ef9
add esp, 8
jmp 0x432ffd
jmp 0x432efb
mov eax, dword [ebp - 0x1c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0xff
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00511290
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x43305b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [0x5af900]
imul eax, dword [0x5af904]
cmp dword [ebp - 0x14], eax
jge 0x43307e
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00478ef9
add esp, 8
jmp 0x433052
jmp 0x433206
push 0x5af8f4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00432a30
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x4330aa
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [0x5af900]
imul eax, dword [0x5af904]
cmp dword [ebp - 0x14], eax
jge 0x4330cd
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00478ef9
add esp, 8
jmp 0x4330a1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0
jmp 0x4330e8
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 4]
jge 0x4331bb
push 0x5af8f4
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00432a30
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x43311e
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 4]
jge 0x433187
mov dword [ebp - 0x28], 0
jmp 0x43313b
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [0x5af904]
jge 0x43317c
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax]
and ecx, 1
je 0x43317a
push 4
push 0x5af8fc
mov edx, dword [0x5af900]
add edx, dword [ebp - 0x24]
imul edx, dword [0x5af904]
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*4]
push ecx
call fcn.005102b0
add esp, 0xc
jmp 0x433132
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x433115
mov dword [ebp - 0x30], 0
jmp 0x433199
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x5af904]
jge 0x4331b6
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00478ef9
add esp, 8
jmp 0x433190
jmp 0x4330df
push 0x5af8f4
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00432a30
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x4331e2
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [0x5af900]
imul ecx, dword [0x5af904]
cmp dword [ebp - 0x14], ecx
jge 0x433206
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00478ef9
add esp, 8
jmp 0x4331d9
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0047895b
add esp, 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004787d6
add esp, 8
mov edx, dword [0x5bc9e0]
push edx
call fcn.00514ae0
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call fcn.00511256
add esp, 4
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00511256
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005101e9
mov esp, ebp
pop ebp
ret