Function at 0x430ee0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x60c491
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe8]
mov ebp, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebp
call fcn.0042ff30
xor edi, edi
mov dword [esp + 0xd8], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x430f53
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x18]
call fcn.0042ffa0
mov byte [esp + 0xd8], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x431072
mov dword [esp + 0x1c], edi
mov bl, 3
mov byte [esp + 0xd8], bl
mov eax, dword [ebp]
cmp eax, edi
je 0x43104e
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x43104e
lea ecx, [esp + 0x18]
call fcn.00406a00
mov byte [esp + 0xd8], 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x431037
lea ebx, [ebx]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x431009
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x430ff9
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x636850
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x18]
cmp esi, edi
je 0x431009
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], edi
jne 0x431037
cmp eax, edi
je 0x43101f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x430fd0
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x43104e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xd8], 1
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x431066
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x431358
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 1
push eax
call edx
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x43109a
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push edi
push eax
call edx
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x4310b5
mov ecx, dword [eax]
push edi
push edi
push 1
lea edx, [esp + 0xec]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x4310c4
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x431100
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
push edi
push 0x2710
push eax
push ecx
call fcn.005da540
cmp eax, 0x2710
jle 0x4310f2
mov eax, 0x2710
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push eax
push esi
call edx
mov eax, dword [esp + 0x14]
push edi
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x20]
cmp eax, edi
jle 0x431328
push eax
call fcn.005b4663
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x431143
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x20]
mov word [esp + 0x34], 0x4d42
mov word [esp + 0x3a], di
mov word [esp + 0x3c], di
mov dword [esp + 0x3e], 0x36
add ecx, 0xe
mov dword [esp + 0x36], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x4c], edx
mov cx, word [eax + 0x3c]
mov word [esp + 0x50], cx
mov dx, word [eax + 0x3e]
mov word [esp + 0x52], dx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x54]
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x6c], edx
call fcn.00496f20
mov esi, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x30]
call fcn.00408110
mov byte [esp + 0xd8], 0xb
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00408070
mov byte [esp + 0xd8], 0xc
mov ecx, eax
call fcn.00407e30
push eax
lea ecx, [esp + 0x20]
call fcn.00402bc0
mov byte [esp + 0xd8], 0xe
lea ecx, [esp + 0x18]
call fcn.00401a50
mov byte [esp + 0xd8], 0xf
lea ecx, [esp + 0x2c]
call fcn.00401a50
mov edx, dword [esp + 0x1c]
push str..bmp
push edx
call fcn.005da730
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x4312a7
push 0x6368b4
push esi
call fcn.005dc6fb
mov esi, eax
add esp, 8
cmp esi, edi
je 0x43130e
push esi
push 0xe
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.005dc5b5
push esi
push 0x28
lea ecx, [esp + 0x5c]
push 1
push ecx
call fcn.005dc5b5
mov edx, dword [esp + 0x40]
push esi
push edx
push 1
push ebx
call fcn.005dc5b5
push esi
call fcn.005dc3da
add esp, 0x34
jmp 0x43130e
mov eax, dword [esp + 0x1c]
push str..jpg
push eax
call fcn.005da730
add esp, 8
cmp eax, edi
sete al
test al, al
je 0x43130e
mov eax, dword [esp + 0x20]
add eax, 0x28
push eax
call fcn.005b4663
mov ebp, eax
mov ecx, 0xa
lea esi, [esp + 0x48]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [ebp + 0x28]
push ebx
push edx
call fcn.005dbeb0
mov eax, dword [esp + 0x38]
add esp, 0x10
push ebp
push eax
lea ecx, [esp + 0x74]
call fcn.00433210
push ebp
call fcn.005b465e
mov ebp, dword [esp + 0x34]
add esp, 4
xor edi, edi
push ebx
call fcn.005b465e
add esp, 4
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x431337
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
mov ecx, ebp
call fcn.0042fe70
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x431356
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x431370
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x431370
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x43138b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.005d8d34
add esp, 0xc8
ret 0xc