Function at 0x10007cad
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3b4
mov eax, dword [0x100e1c40]
xor eax, esp
mov dword [esp + 0x3b0], eax
cmp byte [0x100e3bbc], 0
push ebx
push esi
push edi
jne 0x1000820b
xor ebx, ebx
mov byte [0x100e3bbc], 1
push ebx
push fcn.10007bb6
call fcn.1003c880
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10007d54
push edi
call fcn.1003c510
pop ecx
push ebx
mov esi, eax
push 3
push esi
call fcn.1003bf60
add esp, 0xc
push esi
call fcn.1003b550
fld dword [0x100d6ec0]
fstp dword [esp]
push esi
call fcn.1003b860
fld dword [0x100d6ee0]
fstp dword [esp + 4]
fld dword [0x100d6ec0]
fstp dword [esp]
push esi
call fcn.1003b700
add esp, 0xc
push 0x100d2508
push esi
call fcn.1003b8d0
push esi
call fcn.1003b630
add esp, 0xc
push edi
call fcn.1003c690
pop ecx
xor eax, eax
lea edi, [esp + 0x8c]
stosd dword es:[edi], eax
lea ecx, [esp + 0x8c]
push 7
pop esi
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x1000
mov dword [esp + 0xa0], ebx
push edi
mov dword [esp + 0xa8], esi
mov word [esp + 0x94], ax
call fcn.10009bc4
call fcn.10007b3f
push ecx
push 2
mov ecx, eax
call fcn.1002aa91
call fcn.10007b3f
push ecx
push 4
mov ecx, eax
call fcn.1002aa91
cmp dword [esp + 0xa0], esi
lea eax, [esp + 0x8c]
push edi
cmova eax, dword [esp + 0x90]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0xa0], esi
lea edx, [esp + 0x8c]
mov esi, dword [esp + 0x9c]
cmova edx, dword [esp + 0x8c]
test esi, esi
je 0x10007e12
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x10007e07
cmp ecx, edx
je 0x10007e12
sub ecx, 2
cmp word [ecx], ax
jne 0x10007e00
sub ecx, edx
sar ecx, 1
jmp 0x10007e15
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
cmp esi, ecx
cmovb ecx, esi
cmp dword [esp + 0xa0], 7
push ecx
stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x90]
cmova eax, dword [esp + 0x90]
push eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.100243d8
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x90]
call fcn.10009194
lea ecx, [esp + 0x74]
call fcn.10009b96
cmp dword [esp + 0xa0], 7
lea eax, [esp + 0x8c]
cmova eax, dword [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x10007fbc
fld qword [0x100d6e98]
push ecx
push ecx
fstp qword [esp]
call fcn.1003b150
and dword [esp + 0x7c], ebx
lea eax, [esp + 0x20]
and dword [esp + 0x80], ebx
lea edx, [esp + 0x7c]
and dword [esp + 0x20], ebx
lea ecx, [esp + 0x110]
and dword [esp + 0x28], ebx
fstp st(0)
and dword [esp + 0xb8], ebx
and dword [esp + 0xbc], ebx
and dword [esp + 0xc0], ebx
push eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x88], 0x40a00000
push eax
mov dword [esp + 0x2c], 0x3f800000
call fcn.1002864b
fld dword [0x100d6ed8]
lea ecx, [esp + 0x158]
fstp dword [esp + 0xc]
fld dword [0x100d6e34]
fstp dword [esp + 8]
fld dword [0x100d6e5c]
fstp dword [esp + 4]
fld dword [0x100d6e48]
fstp dword [esp]
call fcn.1002379d
add esp, 0x10
mov dword [esp + 0x10], 0x3f800000
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc8]
push eax
call fcn.1001ff74
fld dword [0x100d6e48]
lea eax, [esp + 0x74]
and dword [esp + 0x74], ebx
mov edx, ecx
and dword [esp + 0x7c], ebx
push eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0x3f800000
fstp dword [esp]
call fcn.1002380f
pop ecx
pop ecx
push 0x10
pop ecx
mov esi, eax
lea edi, [esp + 0xc8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc8]
push eax
push ecx
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x154]
lea ecx, [esp + 0x3c]
call fcn.10023ab1
pop ecx
pop ecx
mov edx, eax
lea ecx, [esp + 0x18c]
call fcn.10023ab1
pop ecx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Fluent.dll
call ebx
test eax, eax
jne 0x1000804b
push 0x100d250c
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], al
mov dword [esp + 0x8c], eax
call fcn.1000a3dc
push 0
push ecx
push 3
push 0x100d2510
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x1dc]
call fcn.10023d95
mov al, byte [esp + 0x228]
test al, al
je 0x1000807b
lea ecx, [esp + 0x1c8]
call fcn.10002349
cmp byte [esp + 0x84], 0
jne 0x1000804b
push dword [esp + 0x88]
call fcn.10042ece
pop ecx
xor eax, eax
mov edi, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], edi
cmp eax, 1
jb 0x10008220
jmp 0x100080af
xor cl, cl
mov byte [esp + 0x22b], cl
test al, al
jne 0x10008028
test cl, cl
jne 0x10008024
call fcn.10001737
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [esp + 0x228]
test al, al
jne 0x10008028
mov cl, byte [esp + 0x22b]
jmp 0x10008088
cmp dword [esp + 0xa0], 7
lea eax, [esp + 0x8c]
push 1
cmova eax, dword [esp + 0x90]
push ecx
push dword [esp + 0xa4]
push eax
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x8c]
call fcn.100276f7
push 0x12
push str.tutorialsdiet.wav
lea ecx, [esp + 0x7c]
call fcn.100090fb
push eax
lea ecx, [esp + 0xb4]
call fcn.100091cb
lea ecx, [esp + 0x74]
call fcn.10009b96
cmp dword [esp + 0xc4], 7
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x18]
cmova eax, dword [esp + 0xb0]
push eax
call fcn.10009206
push ecx
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x7c]
call fcn.10007bf0
and dword [esp + 0x18], edi
mov esi, eax
lea eax, [esp + 0xac]
pop ecx
pop ecx
cmp eax, esi
je 0x1000817d
mov ecx, eax
call fcn.100093e4
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 8]
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0xa4], edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x74]
call fcn.100093e4
lea ecx, [esp + 0x18]
call fcn.10009b96
push str.tessdll.dll
call ebx
push 0x2332
push 0
lea esi, [eax + 0x1000]
push esi
mov dword [esp + 0x20], esi
call fcn.100450b0
mov esi, dword [esp + 0x1c]
add esp, 0xc
xor ebx, ebx
movzx eax, bl
lea edx, [esi + ebx]
imul eax, eax, 0xf
mov cl, 0xc0
sub cl, al
mov eax, 0x2332
add byte [edx], cl
inc ebx
cmp ebx, eax
jb 0x100081b6
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.10044b30
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0xb0]
call fcn.10009b96
lea ecx, [esp + 0xa4]
call fcn.100093e4
lea ecx, [esp + 0x8c]
call fcn.10009b96
mov ecx, dword [esp + 0x3bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10042ec0
mov esp, ebp
pop ebp
ret
call fcn.1000124b
int3