Function at 0x1002ce89
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d03f
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x48]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.10018004
mov eax, dword [ebp - 0x48]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.10018004
mov eax, dword [ebp - 0xc0]
mov dword [eax], 1
mov eax, dword [ebp - 0xc0]
cmp dword [eax], 0xaf5bfb66
jne 0x1002cf6c
mov dword [ebp - 0xe0], 1
jmp 0x1002cf73
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xfffffffa
jbe 0x1002cf85
mov dword [ebp - 0x7c], 1
jmp 0x1002cf89
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jle 0x1002cf9c
mov dword [ebp - 0x60], 1
jmp 0x1002cfa0
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
cmp dword [ebp - 0x60], 0
jne 0x1002cfc9
push 0
mov ecx, dword [ebp - 0x68]
call fcn.10018004
cmp dword [eax], 0
jne 0x1002cfc9
and dword [ebp - 0xd8], 0
jmp 0x1002cfd3
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
cmp dword [ebp - 0xd8], eax
jg 0x1002cfef
mov dword [ebp - 0xd4], 1
jmp 0x1002cff6
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x867a
jne 0x1002d00e
mov dword [ebp - 0x120], 1
jmp 0x1002d015
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x100]
mov dword [eax], 0x299fa9ef
jmp 0x1002d907
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0x3342eb9
mov dword [ebp - 0x130], 0xc42ff18c
push 2
lea ecx, [ebp - 0x158]
call fcn.10017f97
and dword [ebp - 4], 0
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x128], 0x95a52772
mov dword [ebp - 0xe8], 0
push 0
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x590e
push 0x8aa
call fcn.1002ec52
add esp, 0x14
mov dword [ebp - 0x34], 0
jmp 0x1002d0d0
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002d141
mov dword [ebp - 0xe4], 1
lea eax, [ebp - 0x130]
push eax
push 1
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100261eb
add esp, 0x24
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002d13f
push 0x2ad3
push 0xd90
push 0
call fcn.100271e0
add esp, 0xc
jmp 0x1002d0c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10017fff
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x5efa
push 0x5e34
call fcn.1002808b
add esp, 0x14
mov dword [ebp - 0xf4], 8
mov dword [ebp - 0x184], 0x272a7275
mov dword [ebp - 0x18c], 0xfffffff8
mov dword [ebp - 0x194], 0xe704f3d
push 2
lea ecx, [ebp - 0x1a4]
call fcn.10017f97
mov dword [ebp - 4], 1
mov dword [ebp - 0xec], 0xffff
mov dword [ebp - 0x1c], 0
jmp 0x1002d1c2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002d1d8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1a8], 0x40d7
jmp 0x1002d1bb
mov dword [ebp - 0x1c], 0
jmp 0x1002d1e8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002d204
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.10018004
mov dword [eax], 0xe1f6f084
jmp 0x1002d1e1
push 1
lea eax, [ebp - 0xec]
push eax
push 0x289c
lea eax, [ebp - 0xf4]
push eax
push 0x5a95
push 0x6a4b
call fcn.10026655
add esp, 0x18
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002d23f
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.10017fff
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x1002d907
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002d547
mov dword [ebp - 0xcc], 0xffffffff
push 3
lea ecx, [ebp - 0x54]
call fcn.10017f97
mov dword [ebp - 4], 2
mov dword [ebp - 0x70], 0xfffffff9
mov dword [ebp - 0x2c], 0x34ea
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
push 1
call fcn.100271e0
add esp, 0xc
mov dword [ebp - 0x14], 0
jmp 0x1002d2b4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002d2ca
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x140], 3
jmp 0x1002d2ad
mov dword [ebp - 0x14], 0
jmp 0x1002d2da
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1002d2f0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x104], 0
jmp 0x1002d2d3
push 1
lea ecx, [ebp - 0x54]
call fcn.10018004
cmp dword [eax], 0
jge 0x1002d30b
mov dword [ebp - 0xb4], 1
jmp 0x1002d312
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xcc], 0
je 0x1002d32f
push 2
lea ecx, [ebp - 0x54]
call fcn.10018004
push 1
lea ecx, [ebp - 0x54]
call fcn.10018004
push 2
lea ecx, [ebp - 0x54]
call fcn.10018004
mov esi, eax
push 1
lea ecx, [ebp - 0x54]
call fcn.10018004
mov ecx, dword [esi]
sub ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
neg eax
mov dword [ebp - 0x8c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x140], ecx
mov esi, dword [ebp - 0xb4]
add esi, dword [ebp - 0x8c]
push 1
lea ecx, [ebp - 0x54]
call fcn.10018004
sub esi, dword [eax]
push 2
lea ecx, [ebp - 0x54]
call fcn.10018004
cmp esi, dword [eax]
jg 0x1002d39c
mov dword [ebp - 0xfc], 1
jmp 0x1002d3a3
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x70], 0
je 0x1002d3c7
mov eax, 0x1dbdae4
test eax, eax
je 0x1002d3c7
mov dword [ebp - 0x6c], 1
jmp 0x1002d3cb
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x104], ecx
push 1
lea ecx, [ebp - 0x54]
call fcn.10018004
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax]
jg 0x1002d3f8
mov dword [ebp - 0x94], 1
jmp 0x1002d3ff
and dword [ebp - 0x94], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10018004
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
jle 0x1002d41f
mov dword [ebp - 0xbc], 1
jmp 0x1002d426
and dword [ebp - 0xbc], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10018004
mov esi, dword [ebp - 0xbc]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x54]
call fcn.10018004
add esi, dword [eax]
neg esi
je 0x1002d460
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002d45e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1002d4b2
mov dword [ebp - 0x188], 0x5950cfdf
mov dword [ebp - 0x170], 0xb6bd0d42
mov dword [ebp - 0x44], 0
jmp 0x1002d484
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x1002d49a
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1b8], 0xfffffffd
jmp 0x1002d47d
push 0x54c0
push 1
push 0x62f
lea eax, [ebp - 0x2c]
push eax
call fcn.10027255
add esp, 0x10
mov dword [ebp - 0x2c], 0
jmp 0x1002d4c2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x1002d503
mov dword [ebp - 0x10c], 0xfffffffa
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x140], 0xd36fbc6a
jb 0x1002d4ee
mov dword [ebp - 0x9c], 1
jmp 0x1002d4f5
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10c], eax
jmp 0x1002d4bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10017fff
push 0x535c
lea eax, [ebp - 0xd0]
push eax
push 0x2818
push 0x66d3
lea eax, [ebp - 0x40]
push eax
push 0x2f68
push 0
push 0x1842
push 0x61d9
call fcn.1002df7b
add esp, 0x24
jmp 0x1002d907
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002d907
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], 0xde661fbc
mov dword [ebp - 0x18], 0x1213072c
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x38], 0
jmp 0x1002d591
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1002d5a4
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x5c], 0xb659d568
jmp 0x1002d58a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x10], 0
jne 0x1002d5c8
mov dword [ebp - 0xdc], 1
jmp 0x1002d5cf
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xbc07c207
jb 0x1002d5ed
mov dword [ebp - 0xa4], 1
jmp 0x1002d5f4
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
sub eax, 0x1bd9d14f
cmp eax, 0xfffffff6
jne 0x1002d613
cmp dword [ebp - 0x10], 0
jne 0x1002d613
and dword [ebp - 0xc4], 0
jmp 0x1002d61d
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0xc4], 0x693009c
jge 0x1002d635
mov dword [ebp - 0xac], 1
jmp 0x1002d63c
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xac], eax
jne 0x1002d650
mov dword [ebp - 0x78], 1
jmp 0x1002d654
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x5c], 0x9831
imul eax, dword [ebp - 0x78], 0x9831
cmp eax, dword [ebp - 0x10]
jl 0x1002d677
mov dword [ebp - 0x80], 1
jmp 0x1002d67b
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xfffffff7
jne 0x1002d68d
mov dword [ebp - 0x88], 1
jmp 0x1002d694
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0
jmp 0x1002d6b7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1002d8e3
mov dword [ebp - 0x30], 0x29b4ccc4
push 2
lea ecx, [ebp - 0x14c]
call fcn.10017f97
mov dword [ebp - 4], 3
mov dword [ebp - 0x114], 3
mov dword [ebp - 0x3c], 0
jmp 0x1002d6f6
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1002d712
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x14c]
call fcn.10018004
mov dword [eax], 1
jmp 0x1002d6ef
mov dword [ebp - 0x24], 0
jmp 0x1002d722
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x1002d769
mov dword [ebp - 0x10], 1
jmp 0x1002d738
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002d767
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002d759
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x5c], 0
je 0x1002d765
jmp 0x1002d767
jmp 0x1002d731
jmp 0x1002d71b
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x5c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x5c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x5c], 0
jne 0x1002d7a5
cmp dword [ebp - 0x30], 0
je 0x1002d7ab
cmp dword [ebp - 0x30], 0
jne 0x1002d7c1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x1002d7c1
and dword [ebp - 0x90], 0
jmp 0x1002d7cb
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x90], eax
jg 0x1002d7e2
mov dword [ebp - 0x98], 1
jmp 0x1002d7e9
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x14c]
call fcn.10018004
cmp esi, dword [eax]
jl 0x1002d816
mov dword [ebp - 0xa0], 1
jmp 0x1002d81d
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xa0]
sub ecx, dword [ebp + eax - 0x5c]
add ecx, dword [ebp - 0x18]
jne 0x1002d844
cmp dword [ebp - 0x114], 0
jne 0x1002d844
and dword [ebp - 0xa8], 0
jmp 0x1002d84e
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0xfffffff6
ja 0x1002d863
mov dword [ebp - 0xb0], 1
jmp 0x1002d86a
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x807c1f4b
jbe 0x1002d882
mov dword [ebp - 0xb8], 1
jmp 0x1002d889
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x5c]
cmp eax, dword [ebp - 0xb8]
jne 0x1002d8a1
mov dword [ebp - 0x74], 1
jmp 0x1002d8a5
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
shl eax, 2
cmp eax, dword [ebp - 0x30]
jge 0x1002d8bc
mov dword [ebp - 0xc8], 1
jmp 0x1002d8c3
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x124], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.10017fff
jmp 0x1002d6b0
push 0x5c04
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0x2554
push 0x67d1
call fcn.1002835d
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret