Function at 0x100174d9
Capabilities:
Enumerate gui resources
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x328
mov eax, dword [0x1011d900]
xor eax, esp
mov dword [esp + 0x324], eax
cmp byte [0x10137980], 0
push esi
push edi
jne 0x10017a88
push 0x260
lea eax, [esp + 0xc4]
mov byte [0x10137980], 1
push 0
push eax
call fcn.10075050
add esp, 0xc
lea ecx, [esp + 0xc0]
call fcn.10010ea9
and dword [esp + 0x58], 0
push 0x30
call fcn.10072dfe
lea ecx, [esp + 0x14]
mov dword [esp], 0x100ce4e9
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
or dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], eax
call fcn.1001b48b
push 1
push 0x1010904c
mov ecx, eax
call fcn.1001cfa5
push eax
lea ecx, [esp + 0x60]
call fcn.1001b452
push 0x100d0c94
lea ecx, [esp + 0x60]
call fcn.1001b3b8
push eax
lea ecx, [esp + 0x9c]
call fcn.1001b452
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xc4]
call fcn.10011191
lea ecx, [esp + 0x98]
call fcn.1001ceee
lea ecx, [esp + 0x5c]
call fcn.1001ceee
lea ecx, [esp + 0x10]
call fcn.1001ceee
mov eax, dword [esp + 0x54]
imul ecx, dword [esp + 0xd0], 0x370
fld qword [0x1010e2a8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc8]
add ecx, 0x180
add eax, ecx
lea ecx, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
fst qword [esp + 0x30]
push eax
fstp qword [esp + 0x4c]
call fcn.10040432
and dword [esp + 0xbc], 0
lea eax, [esp + 0xc0]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x98]
lea eax, [esp + 0x54]
mov dword [esp + 0x10], 0x1010e17c
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x38], eax
call fcn.1003df49
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x14]
call fcn.1003df49
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2a4]
call fcn.1003df49
lea ecx, [esp + 0x98]
call fcn.100187bd
lea ecx, [esp + 0x10]
call fcn.100187bd
and dword [esp + 0xbc], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x98]
lea eax, [esp + 0xc0]
mov dword [esp + 0x10], 0x1010dff4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x38], eax
call fcn.1003df49
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x14]
call fcn.1003df49
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x164]
call fcn.1003df49
lea ecx, [esp + 0x98]
call fcn.100187bd
lea ecx, [esp + 0x10]
call fcn.100187bd
cmp dword [esp + 0x58], 1
je 0x10017750
push str.libigl_viewer
lea ecx, [esp + 0x9c]
call fcn.1001b48b
push ecx
push ecx
lea eax, [esp + 0xa0]
push eax
push ecx
lea ecx, [esp + 0xd0]
call fcn.10010a73
push ecx
lea ecx, [esp + 0xc4]
call fcn.10010cbf
lea ecx, [esp + 0xc0]
call fcn.10010dcb
lea ecx, [esp + 0x98]
call fcn.1001ceee
lea ecx, [esp + 0x54]
call fcn.10017cd4
lea ecx, [esp + 0xc0]
call fcn.100110ff
xor eax, eax
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
lea ecx, [esp + 0x74]
push 7
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [esp + 0x84], 0
mov edi, 0x1000
push eax
push edi
mov dword [esp + 0x90], esi
mov word [esp + 0x7c], ax
call fcn.1001ce5b
cmp dword [esp + 0x88], esi
lea eax, [esp + 0x74]
push edi
cmova eax, dword [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0x88], esi
lea edx, [esp + 0x74]
mov esi, dword [esp + 0x84]
cmova edx, dword [esp + 0x74]
test esi, esi
je 0x100177f2
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x100177e7
cmp ecx, edx
je 0x100177f2
sub ecx, 2
cmp word [ecx], ax
jne 0x100177e0
sub ecx, edx
sar ecx, 1
jmp 0x100177f5
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x78]
and dword [esp + 0x70], 0
and dword [esp + 0x74], 0
cmp esi, ecx
cmovb ecx, esi
pop esi
cmp dword [esp + 0x88], esi
push ecx
cmova eax, dword [esp + 0x78]
lea ecx, [esp + 0x60]
push eax
call fcn.1003a5a8
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
call fcn.1001b16b
lea ecx, [esp + 0x5c]
call fcn.1001ce2d
cmp dword [esp + 0x88], esi
lea eax, [esp + 0x74]
cmova eax, dword [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x100178c7
push 0x100ce784
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x70], al
mov dword [esp + 0x74], eax
call fcn.1001db58
push 0
push ecx
push 3
push 0x10109060
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xd4]
call fcn.10038fbf
mov al, byte [esp + 0x120]
test al, al
je 0x10017902
lea ecx, [esp + 0xc0]
call fcn.10013884
cmp byte [esp + 0x6c], 0
jne 0x100178c7
push dword [esp + 0x70]
call fcn.10072d0b
pop ecx
push str.PDFShared.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor eax, eax
mov edi, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x84]
mov dword [esp + 0x8c], edi
cmp eax, 1
jb 0x10017a9c
jmp 0x1001793a
xor cl, cl
mov byte [esp + 0x123], cl
test al, al
jne 0x100178aa
test cl, cl
jne 0x100178a6
call fcn.10012c70
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [esp + 0x120]
test al, al
jne 0x100178aa
mov cl, byte [esp + 0x123]
jmp 0x1001790f
cmp dword [esp + 0x88], esi
lea eax, [esp + 0x74]
push 1
cmova eax, dword [esp + 0x78]
push ecx
push dword [esp + 0x8c]
push eax
push ecx
push dword [esp + 0x68]
lea ecx, [esp + 0x74]
call fcn.1003d372
push 0xa
push str.client.wav
lea ecx, [esp + 0x64]
call fcn.1001b0d2
push eax
lea ecx, [esp + 0x9c]
call fcn.1001b1a2
lea ecx, [esp + 0x5c]
call fcn.1001ce2d
cmp dword [esp + 0xac], esi
lea eax, [esp + 0x98]
lea ecx, [esp + 0x10]
cmova eax, dword [esp + 0x98]
push eax
call fcn.1001b1dd
push ecx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.1001741c
and dword [esp + 0x58], edi
mov esi, eax
lea eax, [esp + 0x94]
pop ecx
pop ecx
cmp eax, esi
je 0x100179fd
mov ecx, eax
call fcn.100187db
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x8c], edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x5c]
call fcn.100187db
lea ecx, [esp + 0x10]
call fcn.1001ce2d
push str.EASendMailObj.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x2521
push 0
lea esi, [eax + 0x1000]
push esi
mov dword [esp + 0x60], esi
call fcn.10075050
mov esi, dword [esp + 0x5c]
add esp, 0xc
xor edx, edx
movzx eax, dl
lea ecx, [esi + edx]
imul eax, eax, 0x19
add byte [ecx], al
inc edx
mov eax, 0x2521
cmp edx, eax
jb 0x10017a3a
mov esi, dword [esp + 0x54]
push eax
push edi
push esi
call fcn.10074ad0
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x98]
call fcn.1001ce2d
lea ecx, [esp + 0x8c]
call fcn.100187db
lea ecx, [esp + 0x74]
call fcn.1001ce2d
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
xor ecx, esp
call fcn.10072cfd
mov esp, ebp
pop ebp
ret
call fcn.10001737
int3