Function at 0x411fa0
Capabilities:
Delete file
Encrypt data using speck
Get common file path
Write file on windows

Disassembly:
sub esp, 0x234
mov eax, dword [0x4630e0]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
mov ecx, dword [0x464bfc]
push ebx
push esi
lea esi, [eax + eax*2]
imul eax, eax, 0x1008
add eax, dword [0x464c00]
push edi
push 0x4d0
lea edi, [eax + 0xa14]
shl esi, 5
mov edx, dword [esi + ecx]
push 0
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edi
call fcn.0043ae80
add esp, 0xc
push 0x11c
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x40b89a
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0043b76b
add esp, 0x234
ret
push ebp
lea eax, [esp + 0x13c]
push eax
push 0x104
mov dword [edi + 0x24], ebx
mov dword [edi + 4], 0x1f
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ebp, [ebx + 8]
push ebp
push 0
push 0x453704
lea ecx, [esp + 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x2e
push ebp
call fcn.0043afd0
add esp, 8
test eax, eax
je 0x40b8f6
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [eax], 0x666d65
jmp 0x40b91b
add ebp, 0xffffffff
lea esp, [esp]
mov al, byte [ebp + 1]
add ebp, 1
test al, al
jne 0x40b900
mov edx, dword [str..emf]
mov dword [ebp], edx
mov al, byte [0x453700]
mov byte [ebp + 4], al
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x453704
lea edx, [esp + 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x10000
lea eax, [esp + 0x3c]
push 0x42
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
jne 0x40b964
mov dword [esp + 0x10], 2
jmp 0x40bc15
mov ecx, dword [esp + 0x14]
mov edx, dword [0x460004]
push 0
push ecx
push edx
call fcn.0040a3a0
add esp, 0xc
cmp eax, dword [esp + 0x14]
je 0x40b98d
mov dword [esp + 0x10], 3
jmp 0x40bc15
mov eax, dword [0x464bfc]
mov esi, dword [esi + eax + 4]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x40b9d0
mov dword [esp + 0x10], 4
jmp 0x40bc15
cmp esi, 0x10000
jbe 0x40b9df
mov edi, 0x10000
jmp 0x40b9e5
test esi, esi
mov edi, esi
je 0x40ba34
mov edx, dword [0x460004]
push edi
push ebp
push edx
call fcn.0040a3c0
add esp, 0xc
cmp eax, edi
jne 0x40ba1c
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x24]
push eax
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40ba1c
cmp dword [esp + 0x20], edi
jne 0x40ba1c
sub esi, edi
jmp 0x40b9d0
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x14], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40bc11
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebx + 8]
test esi, esi
je 0x40ba7c
lea eax, [esp + 0x38]
push esi
push eax
call fcn.00406d00
add esp, 8
test eax, eax
jne 0x40ba65
mov dword [esp + 0x10], 6
jmp 0x40bc11
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebx + 0x10c], 1
jmp 0x40ba8a
mov esi, dword [esp + 0x1c]
mov dword [ebx + 0x10c], 0
push esi
call dword [sym.imp.GDI32.dll_GetEnhMetaFileA]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x40baa8
mov dword [esp + 0x10], 7
jmp 0x40bbff
mov ebp, dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
push 0
push 0
push esi
call ebp
mov edi, eax
cmp edi, 1
jge 0x40bac9
mov dword [esp + 0x10], 8
jmp 0x40bbff
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x14]
mov esi, eax
push esi
push edi
push edx
call ebp
test eax, eax
jne 0x40baf5
mov dword [esp + 0x10], 9
jmp 0x40bbdd
fild dword [esi + 0x48]
fild dword [esi + 0x50]
fdiv qword [str.ffffff9__]
fdivp st(1)
fadd qword [0x453478]
call fcn.0043b6c0
mov ecx, dword [esi + 0x18]
mov edi, eax
imul ecx, edi
mov eax, 0x6734d007
imul ecx
mov ecx, dword [esi + 0x1c]
sar edx, 0xa
imul ecx, edi
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x6734d007
imul ecx
mov ecx, dword [esi + 0x20]
sar edx, 0xa
imul ecx, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, 0x6734d007
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x24]
imul edx, edi
mov eax, 0x6734d007
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, dword [esp + 0x2c]
sub ecx, ebp
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0xa10], ebp
mov eax, dword [ebx + 0x114]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp + 0xc], eax
mov eax, dword [ecx + 0xa10]
mov edx, dword [ebx + 0x110]
mov dword [eax + 8], edx
mov eax, dword [ecx + 0xa10]
mov ecx, dword [ebx + 0x114]
mov dword [eax + 0x10], ecx
add edi, 0x31
mov eax, 0x51eb851f
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
mov dword [ebp + 0x20], eax
test esi, esi
je 0x40bbfb
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x40bc0a
push esi
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp dword [esp + 0x10], 0
je 0x40bc3f
mov edi, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x4d0
push 0
push edi
call fcn.0043ae80
add esp, 0xc
mov ecx, dword [esp + 0x240]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x234
ret
sub esp, 0x14
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*2]
imul eax, eax, 0x1008
add eax, dword [0x464c00]
push ebx
push ebp
push esi
mov esi, dword [0x464bfc]
push edi
xor ecx, ecx
mov edi, eax
push 0x4d0
lea eax, [edi + 0xa14]
push ecx
shl edx, 5
mov esi, dword [edx + esi]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
call fcn.0043ae80
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
add esp, 0xc
push 0x530
push 0x42
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call ebp
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x40c8c8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x24], eax
push 0
mov dword [eax + 0x224], 0
mov edx, dword [0x460004]
push esi
push edx
call fcn.0040a3a0
add esp, 0xc
cmp eax, esi
je 0x40c8fc
mov dword [esp + 0x10], 1
jmp 0x40cac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x460004]
push 0x530
push eax
push ecx
call fcn.0040a3c0
mov esi, dword [esp + 0x34]
add esp, 0xc
cmp eax, 0x530
je 0x40c92d
mov dword [esp + 0x10], 1
jmp 0x40cac4
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], 0x1a
mov edx, dword [eax + 0x214]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x218]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x21c]
mov dword [esi + 0x20], edx
push 4
lea eax, [esp + 0x18]
mov dword [edi + 0xa10], esi
mov ecx, dword [0x460004]
push eax
push ecx
call fcn.0040a3c0
add esp, 0xc
cmp eax, 4
jne 0x40c920
mov eax, dword [esp + 0x14]
mov edi, 1
cmp eax, edi
jge 0x40c98a
mov dword [esp + 0x10], edi
jmp 0x40cac4
push eax
push 0x42
call ebx
push eax
call ebp
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
jne 0x40c9a9
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], edi
jmp 0x40ca7d
mov edx, dword [esp + 0x14]
mov eax, dword [0x460004]
push edx
push esi
push eax
call fcn.0040a3c0
add esp, 0xc
cmp eax, dword [esp + 0x14]
je 0x40c9d0
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], edi
jmp 0x40ca7d
xor edi, edi
cmp byte [esi], 0
mov dword [esp + 0x18], edi
mov ecx, esi
je 0x40ca03
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40c9e5
sub eax, esi
lea ecx, [ecx + eax + 1]
add edi, 1
cmp byte [ecx], dl
jne 0x40c9e0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov ecx, edi
imul ecx, ecx, 0x88
push ecx
push 0x42
call ebx
push eax
call ebp
mov ebp, eax
test ebp, ebp
jne 0x40ca23
mov dword [esp + 0x10], 1
jmp 0x40ca7d
test edi, edi
mov edx, esi
jle 0x40ca73
mov ebx, dword [esp + 0x18]
mov edi, ebp
nop
mov esi, edi
mov eax, edx
sub esi, edx
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x40ca36
mov eax, edx
mov dword [edi + 0x80], 1
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ca51
sub eax, esi
add edi, 0x88
sub ebx, 1
lea edx, [edx + eax + 1]
jne 0x40ca30
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x1c], edi
test esi, esi
je 0x40ca9b
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x10], 0
je 0x40caf2
test ebp, ebp
je 0x40cac0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x4d0
push 0
push esi
call fcn.0043ae80
add esp, 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, 0x4f5c
call fcn.0043bea0
mov eax, dword [0x4630e0]
xor eax, esp
mov dword [esp + 0x4f58], eax
push ebx
mov ebx, dword [esp + 0x4f64]
push ebp
push esi
push edi
mov edi, ebx
imul edi, edi, 0x1008
add edi, dword [0x464c00]
xor eax, eax
lea esi, [edi + 0xa14]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ebp, [edi + 0xefc]
mov dword [esi + 0x1c], eax
cmp byte [ebp], al
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jne 0x40d1fd
lea eax, [esp + 0x4e64]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
push 0
push 0x453740
lea ecx, [esp + 0x4e70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, ebp
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40d0e1
mov edx, dword [0x453738]
mov dword [eax], edx
mov cl, byte [0x45373c]
push 0x1000
push ebp
mov byte [eax + 4], cl
call fcn.0040a330
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jge 0x40d11c
mov eax, 1
jmp 0x40d2c2
push 0x10000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x40d145
mov dword [esp + 0x10], 1
jmp 0x40d278
mov eax, dword [0x464bfc]
mov ecx, dword [0x460004]
lea ebx, [ebx + ebx*2]
shl ebx, 5
mov edx, dword [ebx + eax + 4]
mov eax, dword [ebx + eax]
push 0
push eax
push ecx
mov dword [esp + 0x28], edx
call fcn.0040a3a0
mov edx, dword [0x464bfc]
add esp, 0xc
cmp eax, dword [ebx + edx]
je 0x40d185
mov dword [esp + 0x10], 1
jmp 0x40d278
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40d1d7
jmp 0x40d194
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x10000
jl 0x40d1a1
mov ebx, 0x10000
mov eax, dword [esp + 0x18]
mov ecx, dword [0x460004]
push ebx
push eax
push ecx
call fcn.0040a3c0
add esp, 0xc
cmp eax, ebx
jne 0x40d1f0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebx
push edx
push eax
call fcn.0040a3f0
add esp, 0xc
cmp eax, ebx
jne 0x40d1f0
sub dword [esp + 0x1c], ebx
jne 0x40d190
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040a380
add esp, 4
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x40d1fd
mov dword [esp + 0x10], 1
jmp 0x40d278
cmp dword [0x465314], 0
jne 0x40d213
call fcn.00405e40
test eax, eax
jne 0x40d112
push 0x4e40
lea edx, [esp + 0x28]
push 0
push edx
call fcn.0043ae80
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [0x465078]
test eax, eax
jne 0x40d112
push eax
lea ecx, [esp + 0x28]
mov ebx, 1
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], ebp
call dword [0x464f44]
test eax, eax
je 0x40d25d
mov dword [esp + 0x10], ebx
jmp 0x40d278
mov edx, dword [esp + 0x50]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 8], eax
mov dword [esi + 0x20], 0xc8
mov dword [edi + 0xa10], esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40d29a
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jle 0x40d2ac
push eax
call fcn.0040a380
add esp, 4
cmp dword [esp + 0x20], 0
je 0x40d2be
lea ecx, [esp + 0x24]
push ecx
call dword [0x464fc4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4f68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x4f5c
ret
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov edx, dword [0x464bfc]
push ebx
mov ebx, eax
imul ebx, ebx, 0x1008
add ebx, dword [0x464c00]
lea ecx, [eax + eax*2]
shl ecx, 5
mov ecx, dword [ecx + edx]
push ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx]
xor ebp, ebp
cmp ecx, 0x1f
push esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x20], ebx
lea esi, [ebx + 0xa14]
jne 0x411ff1
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x40b800
cmp ecx, 0x1b
jne 0x412005
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x4270a0
cmp ecx, 0x1a
jne 0x412019
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x40c850
cmp ecx, 0x1e
jne 0x41202d
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x40d040
cmp ecx, 0x27
jne 0x412041
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x4254d0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
call fcn.0040e020
add esp, 0x10
test eax, eax
je 0x412065
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 0x1c]
push edi
lea edi, [eax*4]
shl eax, 4
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esi + 0x24], eax
je 0x412139
lea edx, [edi + edi]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x412139
cmp dword [esi + 0x1c], 1
lea eax, [edi + ebp]
mov dword [esp + 0x1c], eax
jle 0x412195
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x460004]
add eax, ecx
push 0
push eax
push edx
mov dword [esp + 0x20], eax
call fcn.0040a3a0
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x412139
mov eax, dword [0x460004]
push edi
push ebp
push eax
call fcn.0040a3c0
add esp, 0xc
cmp eax, edi
jne 0x412139
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + edx]
push 0
push eax
mov dword [esp + 0x20], eax
mov eax, dword [0x460004]
push eax
call fcn.0040a3a0
add esp, 0xc
cmp eax, dword [esp + 0x18]
jne 0x412139
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x460004]
push edi
push ecx
push edx
call fcn.0040a3c0
add esp, 0xc
cmp eax, edi
je 0x4121a2
mov dword [esp + 0x10], 1
test ebp, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
je 0x412161
push ebp
call edi
push eax
call ebx
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x10], 0
je 0x412189
mov eax, dword [esi + 0x24]
test eax, eax
je 0x412189
push eax
call edi
push eax
call ebx
mov eax, dword [esi + 0x24]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x24], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp], ecx
mov dword [eax], edx
xor edi, edi
cmp dword [esi + 0x1c], edi
jle 0x4121f6
mov ecx, dword [esp + 0x1c]
mov ebx, ebp
xor eax, eax
sub ebx, ecx
mov ebp, dword [ebx + ecx]
mov edx, dword [esi + 0x24]
mov dword [eax + edx + 0xc], ebp
mov edx, dword [esi + 0x24]
mov ebp, dword [edx + eax + 0xc]
add edx, eax
mov dword [edx + 8], ebp
mov edx, dword [esi + 0x24]
mov dword [eax + edx + 4], 0
mov edx, dword [ecx]
add edx, dword [esp + 0x2c]
mov ebp, dword [esi + 0x24]
mov dword [eax + ebp], edx
add edi, 1
add ecx, 4
add eax, 0x10
cmp edi, dword [esi + 0x1c]
jl 0x4121b3
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0xa10], esi
jmp 0x412141
sub esp, 0x10c
mov eax, dword [0x4630e0]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x464bfc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push edi
lea edi, [esi + esi*2]
imul esi, esi, 0x1008
add esi, dword [0x464c00]
push 0x4d0
lea ebx, [esi + 0xa14]
push 0
shl edi, 5
mov ebp, dword [edi + eax]
push ebx
call fcn.0043ae80
add esi, 0xefc
add esp, 0xc
mov dword [ebx + 4], 0x27
cmp byte [esi], 0
jne 0x4255ff
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
push 0
push 0x453b3c
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x1000
push esi
call fcn.0040a330
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x10], esi
jl 0x425620
mov eax, dword [0x464bfc]
mov edi, dword [edi + eax + 4]
push 0x10000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x425620
mov ecx, dword [0x460004]
push 0
push ebp
push ecx
call fcn.0040a3a0
add esp, 0xc
cmp eax, ebp
jne 0x425620
test edi, edi
jle 0x4255f6
cmp edi, 0x10000
mov esi, edi
jl 0x4255c4
mov esi, 0x10000
mov edx, dword [0x460004]
push esi
push ebx
push edx
call fcn.0040a3c0
add esp, 0xc
cmp eax, esi
jne 0x425620
mov eax, dword [esp + 0x10]
push esi
push ebx
push eax
call fcn.0040a3f0
add esp, 0xc
cmp eax, esi
jne 0x425620
sub edi, esi
test edi, edi
jg 0x4255b5
mov esi, dword [esp + 0x10]
push esi
call fcn.0040a380
add esp, 4
mov esi, dword [esp + 0x120]
push esi
call fcn.004252f0
add esp, 4
test eax, eax
jne 0x42561c
push esi
call fcn.00425260
add esp, 4
xor eax, eax
jmp 0x425625
mov eax, 1
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x10c
ret
mov eax, 0x4018
call fcn.0043bea0
mov eax, dword [0x4630e0]
xor eax, esp
mov dword [esp + 0x4014], eax
mov eax, dword [0x464bfc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4028]
mov ebp, esi
imul ebp, ebp, 0x1008
add ebp, dword [0x464c00]
push edi
xor ecx, ecx
lea edi, [esi + esi*2]
mov dword [esp + 0x10], ecx
shl edi, 5
mov edx, dword [edi + eax]
push 0x4d0
lea eax, [ebp + 0xa14]
push ecx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
call fcn.0043ae80
add esp, 0xc
push 0x530
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
xor ecx, ecx
cmp ebx, ecx
jne 0x427137
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x427452
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x224], ecx
mov dword [ebx + 0x228], ecx
mov dword [eax + 0x24], ebx
mov dword [eax + 4], 0x1b
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [0x460004]
push eax
push ecx
call fcn.0040a3a0
add esp, 0xc
cmp eax, dword [esp + 0x20]
je 0x42717d
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x427452
mov eax, dword [0x460004]
push 0x4000
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0040a3c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4271ab
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x427452
cmp byte [esp + 0x24], 0x50
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ecx
jne 0x427225
cmp byte [esp + 0x25], 0x4b
jne 0x427225
lea eax, [ebx + 8]
push eax
push esi
mov dword [ebx + 0x220], 1
call fcn.00425ab0
mov eax, dword [0x465334]
add esp, 8
test eax, eax
jne 0x4271f2
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 7
jmp 0x427452
push 0x4000
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0040a3c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42721b
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x427452
lea eax, [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x427233
mov dword [ebx + 0x220], 0
mov byte [ebx + 8], 0
mov ecx, dword [0x464bfc]
cmp dword [edi + ecx + 0x48], 0
jbe 0x427254
lea edx, [ebx + 0x110]
push edx
lea eax, [ebx + 8]
push eax
push esi
call fcn.00426da0
add esp, 0xc
mov eax, dword [esp + 0x10]
push 0x4540a8
push eax
call fcn.0043d390
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42727f
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x427452
add eax, 4
push eax
call fcn.0043c56a
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x14]
push str.width
push ecx
call fcn.0043d390
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4272b6
mov dword [esp + 0x14], 1
jmp 0x427452
add eax, 7
push eax
call fcn.0043c56a
mov dword [edi + 0x10], eax
mov edx, dword [esp + 0x14]
push str.height
push edx
call fcn.0043d390
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4272e9
mov dword [esp + 0x14], 1
jmp 0x427452
add eax, 8
push eax
call fcn.0043c56a
mov dword [edi + 8], eax
lea eax, [esp + 0x28]
mov ecx, eax
push str._defs__style_type_text_css_
push ecx
mov dword [esp + 0x1c], eax
call fcn.0043d390
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x4273a9
push 0x454070
push eax
call fcn.0043d390
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x4273a9
push str.fill:
push eax
call fcn.0043d390
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x42737b
cmp byte [eax + 5], 0x6e
jne 0x427354
mov byte [0x465330], 0
jmp 0x42737b
push 0x10
lea edx, [esp + 0x14]
add eax, 6
push edx
push eax
mov byte [0x465330], 1
mov dword [esp + 0x1c], eax
call fcn.0043da28
mov dword [0x461ba8], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0x45405c
push eax
call fcn.0043d390
add esp, 8
test eax, eax
je 0x4273a9
push 0x10
lea ecx, [esp + 0x14]
add eax, 8
push ecx
push eax
mov dword [esp + 0x1c], eax
call fcn.0043da28
add esp, 0xc
mov dword [0x461bac], eax
lea edx, [esp + 0x24]
mov eax, edx
push str._ps_multiple_raster
push eax
mov dword [esp + 0x18], edx
call fcn.0043d390
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x427415
push 0x454044
push eax
call fcn.0043d390
mov esi, eax
add esp, 8
test esi, esi
je 0x427415
mov ecx, dword [esp + 0x10]
push str.value_
push ecx
call fcn.0043d390
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x427415
cmp eax, esi
jae 0x427415
add eax, 7
push eax
call fcn.0043c56a
add esp, 4
test eax, eax
je 0x427415
mov dword [ebx + 0x228], 1
push 0x550
mov dword [ebp + 0xa10], edi
call fcn.0043cde4
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x427438
mov dword [esp + 0x14], 1
mov dword [edi + 0x4c4], eax
mov dword [edi + 0x4c8], 0xa
mov dword [edi + 0x4cc], 0
cmp dword [ebx + 0x220], 1
jne 0x427477
mov eax, dword [0x465334]
test eax, eax
je 0x427477
push eax
call fcn.0040a380
add esp, 4
mov dword [0x465334], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4274cb
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
je 0x4274a7
push eax
call esi
push eax
call ebp
mov edx, dword [esp + 0x1c]
push edx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
push eax
call ebp
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x4d0
push 0
push edi
call fcn.0043ae80
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x4024]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x4018
ret