Function at 0x100039ad
Capabilities:
Enumerate gui resources
Read file on windows
Set current directory

Disassembly:
push 8
push 0x180
mov eax, 0x101f3729
call fcn.101f362d
cmp byte [0x10348143], 0
jne 0x100044d0
mov byte [0x10348143], 1
call fcn.1011a899
test eax, eax
lea ecx, [eax - 1]
cmove ecx, eax
push ecx
push 2
call fcn.100e5b40
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call fcn.100e45d0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push 1
push 0x40
push 0x40
push 0x40
push 0x10348148
call fcn.100e4670
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.100e5110
fld dword [0x102de620]
mov ecx, dword [ebp - 0x1c]
fst dword [esp]
sub esp, 0x14
fstp dword [esp + 0x10]
fld dword [0x102de658]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [0x102de634]
fst dword [esp + 4]
fstp dword [esp]
call fcn.100e4a40
mov ecx, dword [ebp - 0x1c]
mov esi, 0xff
push esi
push 0x64
push 0x64
push 0x64
call fcn.100e5050
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
push ecx
mov edx, esp
mov dword [edx], eax
call fcn.100e5880
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
call fcn.100e5110
fld dword [0x102de630]
fstp dword [esp]
fld dword [0x102de654]
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp]
call fcn.100e5370
fld dword [0x102de644]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de664]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de64c]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de678]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de65c]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [0x102de668]
mov ecx, dword [ebp - 0x18]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de674]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de66c]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de670]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de654]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de674]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de638]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de660]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de640]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de650]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de624]
fstp dword [esp]
call fcn.100e52b0
fld dword [0x102de644]
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x102de648]
fstp dword [esp]
call fcn.100e52b0
mov ecx, dword [ebp - 0x18]
call fcn.100e4ee0
mov ecx, dword [ebp - 0x18]
lea eax, [esi - 0x69]
push esi
push esi
push eax
push eax
call fcn.100e5050
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x18], 0
push ecx
mov edx, esp
mov dword [edx], eax
call fcn.100e5880
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
call fcn.100e5110
fld dword [0x102de63c]
mov ecx, dword [ebp - 0x24]
fst dword [esp]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [0x102de67c]
fst dword [esp + 4]
fstp dword [esp]
call fcn.100e47d0
lea ecx, [ebp - 0x24]
call fcn.10004576
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10003c1e
mov ecx, esi
call fcn.100e4710
push 0xc
push esi
call fcn.1011bc35
pop ecx
pop ecx
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10003c36
mov ecx, esi
call fcn.100e4710
push 0xc
push esi
call fcn.1011bc35
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
call fcn.10004590
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x40], 0
push eax
push 0x1000
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.10004924
fld qword [0x102de5f8]
lea ecx, [ebp - 0x8c]
sub esp, 0x10
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
fstp qword [esp + 8]
fld qword [0x102de608]
fstp qword [esp]
call fcn.10003910
fld qword [0x102de618]
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x14c]
push eax
push 1
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x102de610]
fstp qword [esp]
call fcn.100bf940
mov esi, eax
lea edi, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x150], esi
stosd dword es:[edi], eax
lea ecx, [ebp - 0x5c]
add esp, 0x20
stosd dword es:[edi], eax
push 0x17800
stosd dword es:[edi], eax
call fcn.10004601
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x28]
sub ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x8c]
push edx
sar ecx, 2
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xa0]
sar eax, 2
push ecx
push eax
push dword [ebp - 0x8c]
push esi
call fcn.100c01f0
add esp, 0x1c
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x28]
call fcn.100045aa
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xd0], 0xbb80
mov dword [ebp - 0xc8], 0x10002
test esi, esi
jne 0x10003d87
lea eax, [ebp - 0xd8]
push eax
push 0x20
push 0x102de59c
call fcn.100686f0
mov ecx, dword [ebp - 0x58]
add esp, 0xc
sub ecx, dword [ebp - 0x5c]
mov esi, eax
sar ecx, 2
push 0
push ecx
push dword [ebp - 0x5c]
push esi
call fcn.10068920
push esi
call fcn.10067ea0
mov esi, dword [ebp - 0x150]
add esp, 0x14
push esi
call fcn.100bfe50
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.10004550
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x10003db4
mov eax, dword [ebp - 0x84]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10004f04
pop ecx
pop ecx
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
push 0x1000
cmova eax, dword [ebp - 0x50]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x3c], 7
lea edx, [ebp - 0x50]
mov esi, dword [ebp - 0x40]
cmova edx, dword [ebp - 0x50]
or edi, 0xffffffff
test esi, esi
je 0x10003e06
lea eax, [esi - 1]
mov ecx, edi
cmp eax, edi
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x10003dfb
cmp ecx, edx
je 0x10003e06
sub ecx, 2
cmp word [ecx], ax
jne 0x10003df4
sub ecx, edx
sar ecx, 1
jmp 0x10003e08
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
and dword [ebp - 0x70], 0
and dword [ebp - 0x6c], 0
cmp esi, ecx
cmovb ecx, esi
cmp dword [ebp - 0x3c], 7
push ecx
cmova eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x80]
push eax
call fcn.10004c55
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x50]
call fcn.10004706
lea ecx, [ebp - 0x80]
call fcn.100048f6
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x100041a0
push 0x102de5a0
lea ecx, [ebp - 0xd0]
call fcn.10004811
lea eax, [ebp - 0xb8]
xor edx, edx
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x150], ecx
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x74], edx
push eax
push 1
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edx
call fcn.10004aeb
push fcn.100047d3
push 1
push 0x18
lea eax, [ebp - 0xd0]
push eax
call fcn.1011bb13
mov edi, dword [ebp - 0x70]
xor edx, edx
mov esi, dword [ebp - 0x74]
mov eax, edx
mov dword [ebp - 0xac], edx
mov ecx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
cmp esi, edi
je 0x10003fdb
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10003f0f
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.10065df0
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10003fc4
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [ebp - 0xa4]
je 0x10003f48
mov dword [ecx], eax
add dword [ebp - 0xa8], 4
jmp 0x10003f58
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.100051d4
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x84]
je 0x10003f74
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
add dword [ebp - 0x88], 4
jmp 0x10003f84
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1000510b
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
je 0x10003f97
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
add dword [ebp - 0x34], 4
jmp 0x10003fa4
lea eax, [ebp - 0x24]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1000510b
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x54]
je 0x10003fb7
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
add dword [ebp - 0x58], 4
jmp 0x10003fc4
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000510b
add esi, 0x18
cmp esi, edi
jne 0x10003f05
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
push 1
push ecx
push eax
call fcn.1011a890
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edx
jmp 0x10003ff5
add ecx, dword [eax]
add eax, 4
cmp eax, dword [ebp - 0x34]
jne 0x10003ff0
mov eax, dword [ebp - 0x5c]
imul ecx, edx
push 0xffffffffffffffff
mov esi, dword [eax]
pop eax
imul ecx, esi
mov dword [ebp - 0x24], esi
cmovo ecx, eax
push ecx
call fcn.101288bb
mov edx, dword [ebp - 0xac]
xor edi, edi
and dword [ebp - 0x20], 0
pop ecx
mov ecx, dword [ebp - 0xa8]
sub ecx, edx
mov dword [ebp - 0x28], eax
sar ecx, 2
mov dword [ebp - 0x150], edi
test ecx, ecx
je 0x1000416b
mov eax, dword [edx + edi*4]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x16c], ecx
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
test ecx, ecx
jle 0x10004139
imul esi, dword [ebp - 0x2c]
mov edi, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x170]
imul edi, edx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0xa0], esi
mov esi, dword [ebp - 0x20]
imul esi, eax
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x168], edi
mov edi, dword [ebp - 0x1c]
imul esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x28]
mov dword [ebp - 0x160], esi
test edx, edx
jle 0x10004109
mov dword [ebp - 0x174], ecx
mov ecx, esi
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
test edi, edi
jle 0x100040e8
push edi
push esi
push ecx
call fcn.1011e240
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add ecx, eax
add esi, edi
sub edx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
jne 0x100040d0
mov esi, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x9c]
add esi, dword [ebp - 0xa0]
add ecx, dword [ebp - 0x14c]
sub dword [ebp - 0x168], 1
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], ecx
jne 0x100040b8
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x16c]
push dword [ebp - 0x170]
add dword [ebp - 0x20], ecx
call fcn.10128533
mov eax, dword [ebp - 0xa8]
inc edi
mov edx, dword [ebp - 0xac]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x150], edi
pop ecx
cmp edi, eax
jb 0x1000403d
mov eax, dword [ebp - 0x28]
push eax
call fcn.10128533
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.10004550
lea ecx, [ebp - 0x38]
call fcn.10004550
lea ecx, [ebp - 0x8c]
call fcn.10004550
lea ecx, [ebp - 0xac]
call fcn.10004550
lea ecx, [ebp - 0x74]
call fcn.10004880
push str.DataEraser.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x100042fe
and dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000b4b0
xor eax, eax
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
pop ecx
lea ecx, [ebp - 0x98]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
add eax, 8
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
call fcn.10011890
mov esi, str.POINT_0_0_
lea ecx, [ebp - 0x68]
push esi
call fcn.10004811
push esi
lea ecx, [ebp - 0xd0]
call fcn.10004811
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000fe00
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000fe00
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
and dword [ebp - 0x20], 0
push eax
call fcn.10007120
push 0x60
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.1011e7c0
add esp, 0xc
lea ecx, [ebp - 0x148]
push dword [ebp - 0x20]
call fcn.100038d4
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push ecx
push ecx
fld1
lea ecx, [ebp - 0x148]
fstp qword [esp]
push eax
call fcn.10014940
push dword [ebp - 0x24]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x98]
call fcn.10013970
lea ecx, [ebp - 0xb8]
call fcn.100049b7
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100042a3
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x148]
call fcn.100044e4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100042bb
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100042c8
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100042d5
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0xd0]
call fcn.100049b7
lea ecx, [ebp - 0x68]
call fcn.100049b7
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100042f8
call fcn.1000c780
or eax, 0xffffffff
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x40]
cmp eax, 1
jb 0x100044d9
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
push 1
cmova eax, dword [ebp - 0x50]
push ecx
push dword [ebp - 0x40]
push eax
push ecx
push dword [ebp - 0x14c]
lea ecx, [ebp - 0xd0]
call fcn.10004fb9
push 0x18
push str.archives_application.wav
lea ecx, [ebp - 0xd0]
call fcn.1000466d
push eax
lea ecx, [ebp - 0x80]
call fcn.1000473d
lea ecx, [ebp - 0xd0]
call fcn.100048f6
cmp dword [ebp - 0x6c], 7
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x18c]
cmova eax, dword [ebp - 0x80]
push eax
call fcn.10004778
xor eax, eax
lea ecx, [ebp - 0x15c]
mov edi, 0x2619
mov dword [ebp - 0x15c], eax
push edi
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
call fcn.10004b81
cmp dword [ebp - 0x178], 7
lea eax, [ebp - 0x18c]
push 0
cmova eax, dword [ebp - 0x18c]
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
mov esi, eax
push 0x78200
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x9c]
push eax
push edi
push dword [ebp - 0x15c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xe4]
call fcn.100048d3
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x15c]
mov esi, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], eax
xor eax, eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
call fcn.100048d3
lea ecx, [ebp - 0x18c]
call fcn.100048f6
push str.CES_Title2.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x2619
push 0
lea edi, [eax + 0x1000]
push edi
call fcn.1011e7c0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea edx, [ecx + esi]
movzx eax, cl
movzx ecx, cl
imul ecx, eax
mov eax, 0x2619
shl cl, 4
add cl, 0x6d
add byte [edx], cl
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, eax
jb 0x10004473
push eax
push esi
push edi
call fcn.1011e240
add esp, 0xc
push 0
push edi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [ebp - 0x80]
call fcn.100048f6
test esi, esi
je 0x100044c8
mov eax, dword [ebp - 0x14c]
sub eax, esi
push eax
push esi
call fcn.10004f04
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
call fcn.100048f6
mov ecx, dword [ebp - 0x14]
call fcn.101f360b
ret
call fcn.100037a0
int3