Function at 0x40d2f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x234
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
mov ecx, dword [0x464bbc]
push ebx
push esi
lea esi, [eax + eax*2]
imul eax, eax, 0x1008
add eax, dword [0x464bc0]
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.0043b0e0
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 0x40bb4a
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0043b3fc
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.0043b5f0
add esp, 8
test eax, eax
je 0x40bba6
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [eax], 0x666d65
jmp 0x40bbcb
add ebp, 0xffffffff
lea esp, [esp]
mov al, byte [ebp + 1]
add ebp, 1
test al, al
jne 0x40bbb0
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 0x40bc14
mov dword [esp + 0x10], 2
jmp 0x40bec5
mov ecx, dword [esp + 0x14]
mov edx, dword [0x460004]
push 0
push ecx
push edx
call fcn.0040a650
add esp, 0xc
cmp eax, dword [esp + 0x14]
je 0x40bc3d
mov dword [esp + 0x10], 3
jmp 0x40bec5
mov eax, dword [0x464bbc]
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 0x40bc80
mov dword [esp + 0x10], 4
jmp 0x40bec5
cmp esi, 0x10000
jbe 0x40bc8f
mov edi, 0x10000
jmp 0x40bc95
test esi, esi
mov edi, esi
je 0x40bce4
mov edx, dword [0x460004]
push edi
push ebp
push edx
call fcn.0040a670
add esp, 0xc
cmp eax, edi
jne 0x40bccc
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 0x40bccc
cmp dword [esp + 0x20], edi
jne 0x40bccc
sub esi, edi
jmp 0x40bc80
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x14], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40bec1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebx + 8]
test esi, esi
je 0x40bd2c
lea eax, [esp + 0x38]
push esi
push eax
call fcn.00406fb0
add esp, 8
test eax, eax
jne 0x40bd15
mov dword [esp + 0x10], 6
jmp 0x40bec1
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebx + 0x10c], 1
jmp 0x40bd3a
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 0x40bd58
mov dword [esp + 0x10], 7
jmp 0x40beaf
mov ebp, dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
push 0
push 0
push esi
call ebp
mov edi, eax
cmp edi, 1
jge 0x40bd79
mov dword [esp + 0x10], 8
jmp 0x40beaf
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 0x40bda5
mov dword [esp + 0x10], 9
jmp 0x40be8d
fild dword [esi + 0x48]
fild dword [esi + 0x50]
fdiv qword [str.ffffff9__]
fdivp st(1)
fadd qword [0x4533f8]
call fcn.0043b410
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 0x40beab
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 0x40beba
push esi
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
cmp dword [esp + 0x10], 0
je 0x40beef
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.0043b0e0
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.0043b3fc
add esp, 0x234
ret
sub esp, 0x14
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*2]
imul eax, eax, 0x1008
add eax, dword [0x464bc0]
push ebx
push ebp
push esi
mov esi, dword [0x464bbc]
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.0043b0e0
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 0x40cb78
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.0040a650
add esp, 0xc
cmp eax, esi
je 0x40cbac
mov dword [esp + 0x10], 1
jmp 0x40cd70
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x460004]
push 0x530
push eax
push ecx
call fcn.0040a670
mov esi, dword [esp + 0x34]
add esp, 0xc
cmp eax, 0x530
je 0x40cbdd
mov dword [esp + 0x10], 1
jmp 0x40cd74
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.0040a670
add esp, 0xc
cmp eax, 4
jne 0x40cbd0
mov eax, dword [esp + 0x14]
mov edi, 1
cmp eax, edi
jge 0x40cc3a
mov dword [esp + 0x10], edi
jmp 0x40cd74
push eax
push 0x42
call ebx
push eax
call ebp
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
jne 0x40cc59
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], edi
jmp 0x40cd2d
mov edx, dword [esp + 0x14]
mov eax, dword [0x460004]
push edx
push esi
push eax
call fcn.0040a670
add esp, 0xc
cmp eax, dword [esp + 0x14]
je 0x40cc80
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], edi
jmp 0x40cd2d
xor edi, edi
cmp byte [esi], 0
mov dword [esp + 0x18], edi
mov ecx, esi
je 0x40ccb3
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40cc95
sub eax, esi
lea ecx, [ecx + eax + 1]
add edi, 1
cmp byte [ecx], dl
jne 0x40cc90
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 0x40ccd3
mov dword [esp + 0x10], 1
jmp 0x40cd2d
test edi, edi
mov edx, esi
jle 0x40cd23
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 0x40cce6
mov eax, edx
mov dword [edi + 0x80], 1
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40cd01
sub eax, esi
add edi, 0x88
sub ebx, 1
lea edx, [edx + eax + 1]
jne 0x40cce0
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 0x40cd4b
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 0x40cda2
test ebp, ebp
je 0x40cd70
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.0043b0e0
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.0043c1d0
mov eax, dword [0x4630b0]
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 [0x464bc0]
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 0x40d4ad
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 0x40d391
mov edx, dword [0x453738]
mov dword [eax], edx
mov cl, byte [0x45373c]
push 0x1000
push ebp
mov byte [eax + 4], cl
call fcn.0040a5e0
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jge 0x40d3cc
mov eax, 1
jmp 0x40d572
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 0x40d3f5
mov dword [esp + 0x10], 1
jmp 0x40d528
mov eax, dword [0x464bbc]
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.0040a650
mov edx, dword [0x464bbc]
add esp, 0xc
cmp eax, dword [ebx + edx]
je 0x40d435
mov dword [esp + 0x10], 1
jmp 0x40d528
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40d487
jmp 0x40d444
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x10000
jl 0x40d451
mov ebx, 0x10000
mov eax, dword [esp + 0x18]
mov ecx, dword [0x460004]
push ebx
push eax
push ecx
call fcn.0040a670
add esp, 0xc
cmp eax, ebx
jne 0x40d4a0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebx
push edx
push eax
call fcn.0040a6a0
add esp, 0xc
cmp eax, ebx
jne 0x40d4a0
sub dword [esp + 0x1c], ebx
jne 0x40d440
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040a630
add esp, 4
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x40d4ad
mov dword [esp + 0x10], 1
jmp 0x40d528
cmp dword [0x4652d4], 0
jne 0x40d4c3
call fcn.004060f0
test eax, eax
jne 0x40d3c2
push 0x4e40
lea edx, [esp + 0x28]
push 0
push edx
call fcn.0043b0e0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [0x465038]
test eax, eax
jne 0x40d3c2
push eax
lea ecx, [esp + 0x28]
mov ebx, 1
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], ebp
call dword [0x464f04]
test eax, eax
je 0x40d50d
mov dword [esp + 0x10], ebx
jmp 0x40d528
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 0x40d54a
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 0x40d55c
push eax
call fcn.0040a630
add esp, 4
cmp dword [esp + 0x20], 0
je 0x40d56e
lea ecx, [esp + 0x24]
push ecx
call dword [0x464f84]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4f68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x4f5c
ret
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov edx, dword [0x464bbc]
push ebx
mov ebx, eax
imul ebx, ebx, 0x1008
add ebx, dword [0x464bc0]
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 0x412291
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x40bab0
cmp ecx, 0x1b
jne 0x4122a5
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x427300
cmp ecx, 0x1a
jne 0x4122b9
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x40cb00
cmp ecx, 0x1e
jne 0x4122cd
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x40d2f0
cmp ecx, 0x27
jne 0x4122e1
pop esi
pop ebp
pop ebx
add esp, 0x18
mov dword [esp + 4], eax
jmp 0x425730
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
call fcn.0040e2d0
add esp, 0x10
test eax, eax
je 0x412305
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 0x4123d9
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 0x4123d9
cmp dword [esi + 0x1c], 1
lea eax, [edi + ebp]
mov dword [esp + 0x1c], eax
jle 0x412435
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.0040a650
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x4123d9
mov eax, dword [0x460004]
push edi
push ebp
push eax
call fcn.0040a670
add esp, 0xc
cmp eax, edi
jne 0x4123d9
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.0040a650
add esp, 0xc
cmp eax, dword [esp + 0x18]
jne 0x4123d9
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x460004]
push edi
push ecx
push edx
call fcn.0040a670
add esp, 0xc
cmp eax, edi
je 0x412442
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 0x412401
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 0x412429
mov eax, dword [esi + 0x24]
test eax, eax
je 0x412429
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 0x412496
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 0x412453
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0xa10], esi
jmp 0x4123e1
sub esp, 0x10c
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x464bbc]
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 [0x464bc0]
push 0x4d0
lea ebx, [esi + 0xa14]
push 0
shl edi, 5
mov ebp, dword [edi + eax]
push ebx
call fcn.0043b0e0
add esi, 0xefc
add esp, 0xc
mov dword [ebx + 4], 0x27
cmp byte [esi], 0
jne 0x42585f
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.0040a5e0
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x10], esi
jl 0x425880
mov eax, dword [0x464bbc]
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 0x425880
mov ecx, dword [0x460004]
push 0
push ebp
push ecx
call fcn.0040a650
add esp, 0xc
cmp eax, ebp
jne 0x425880
test edi, edi
jle 0x425856
cmp edi, 0x10000
mov esi, edi
jl 0x425824
mov esi, 0x10000
mov edx, dword [0x460004]
push esi
push ebx
push edx
call fcn.0040a670
add esp, 0xc
cmp eax, esi
jne 0x425880
mov eax, dword [esp + 0x10]
push esi
push ebx
push eax
call fcn.0040a6a0
add esp, 0xc
cmp eax, esi
jne 0x425880
sub edi, esi
test edi, edi
jg 0x425815
mov esi, dword [esp + 0x10]
push esi
call fcn.0040a630
add esp, 4
mov esi, dword [esp + 0x120]
push esi
call fcn.00425550
add esp, 4
test eax, eax
jne 0x42587c
push esi
call fcn.004254c0
add esp, 4
xor eax, eax
jmp 0x425885
mov eax, 1
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x10c
ret
mov eax, 0x4018
call fcn.0043c1d0
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x4014], eax
mov eax, dword [0x464bbc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4028]
mov ebp, esi
imul ebp, ebp, 0x1008
add ebp, dword [0x464bc0]
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.0043b0e0
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 0x427397
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x4276b2
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.0040a650
add esp, 0xc
cmp eax, dword [esp + 0x20]
je 0x4273dd
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x4276b2
mov eax, dword [0x460004]
push 0x4000
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0040a670
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42740b
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x4276b2
cmp byte [esp + 0x24], 0x50
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ecx
jne 0x427485
cmp byte [esp + 0x25], 0x4b
jne 0x427485
lea eax, [ebx + 8]
push eax
push esi
mov dword [ebx + 0x220], 1
call fcn.00425d10
mov eax, dword [0x4652f4]
add esp, 8
test eax, eax
jne 0x427452
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 7
jmp 0x4276b2
push 0x4000
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0040a670
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42747b
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x4276b2
lea eax, [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x427493
mov dword [ebx + 0x220], 0
mov byte [ebx + 8], 0
mov ecx, dword [0x464bbc]
cmp dword [edi + ecx + 0x48], 0
jbe 0x4274b4
lea edx, [ebx + 0x110]
push edx
lea eax, [ebx + 8]
push eax
push esi
call fcn.00427000
add esp, 0xc
mov eax, dword [esp + 0x10]
push 0x4540a8
push eax
call fcn.0043d6b0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4274df
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 1
jmp 0x4276b2
add eax, 4
push eax
call fcn.0043b378
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x14]
push str.width
push ecx
call fcn.0043d6b0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x427516
mov dword [esp + 0x14], 1
jmp 0x4276b2
add eax, 7
push eax
call fcn.0043b378
mov dword [edi + 0x10], eax
mov edx, dword [esp + 0x14]
push str.height
push edx
call fcn.0043d6b0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x427549
mov dword [esp + 0x14], 1
jmp 0x4276b2
add eax, 8
push eax
call fcn.0043b378
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.0043d6b0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x427609
push 0x454070
push eax
call fcn.0043d6b0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x427609
push str.fill:
push eax
call fcn.0043d6b0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x4275db
cmp byte [eax + 5], 0x6e
jne 0x4275b4
mov byte [0x4652f0], 0
jmp 0x4275db
push 0x10
lea edx, [esp + 0x14]
add eax, 6
push edx
push eax
mov byte [0x4652f0], 1
mov dword [esp + 0x1c], eax
call fcn.0043dd48
mov dword [0x461ba8], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0x45405c
push eax
call fcn.0043d6b0
add esp, 8
test eax, eax
je 0x427609
push 0x10
lea ecx, [esp + 0x14]
add eax, 8
push ecx
push eax
mov dword [esp + 0x1c], eax
call fcn.0043dd48
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.0043d6b0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x427675
push 0x454044
push eax
call fcn.0043d6b0
mov esi, eax
add esp, 8
test esi, esi
je 0x427675
mov ecx, dword [esp + 0x10]
push str.value_
push ecx
call fcn.0043d6b0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x427675
cmp eax, esi
jae 0x427675
add eax, 7
push eax
call fcn.0043b378
add esp, 4
test eax, eax
je 0x427675
mov dword [ebx + 0x228], 1
push 0x550
mov dword [ebp + 0xa10], edi
call fcn.0043d0fe
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x427698
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 0x4276d7
mov eax, dword [0x4652f4]
test eax, eax
je 0x4276d7
push eax
call fcn.0040a630
add esp, 4
mov dword [0x4652f4], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42772b
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 0x427707
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.0043b0e0
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.0043b3fc
add esp, 0x4018
ret