Function at 0x10004b25
Capabilities:
Enumerate gui resources
Read file on windows
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3ec
mov eax, dword [0x10291440]
xor eax, esp
mov dword [esp + 0x3e8], eax
cmp byte [0x1029a7fc], 0
push ebx
push esi
push edi
jne 0x10005408
lea eax, [esp + 0x2e8]
mov byte [0x1029a7fc], 1
push eax
call fcn.1022f9e9
pop ecx
push 0x4c
xor ebx, ebx
lea eax, [esp + 0x1ec]
push ebx
push eax
call fcn.10220d70
add esp, 0xc
lea ecx, [esp + 0x1e8]
push ebx
push ebx
call fcn.100cc8b0
push ebx
push 1
push 1
push ebx
lea eax, [esp + 0x2f8]
push eax
push ebx
lea ecx, [esp + 0x200]
call fcn.100cddb0
push 4
push 0x10282e7c
lea ecx, [esp + 0x6c]
call fcn.100cc850
push 6
push str.value
lea ecx, [esp + 0x270]
call fcn.100cc850
push ebx
lea eax, [esp + 0x26c]
push eax
lea eax, [esp + 0x6c]
push eax
push ebx
lea ecx, [esp + 0x1f8]
call fcn.100cdf10
lea ecx, [esp + 0x3c]
call fcn.100cc890
push ebx
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push eax
push ebx
lea ecx, [esp + 0x1f8]
call fcn.100cd0d0
test eax, eax
jne 0x10004c27
push 0x10282d50
push 0x10299910
call fcn.10007cd6
push dword [esp + 0x44]
push eax
call fcn.10007cd6
push eax
call fcn.10007e5c
add esp, 0x14
push ebx
lea ecx, [esp + 0x1ec]
call fcn.100ccc60
lea ecx, [esp + 0x3c]
call fcn.10005ce0
lea ecx, [esp + 0x268]
call fcn.10005ce0
lea ecx, [esp + 0x64]
call fcn.10005ce0
lea ecx, [esp + 0x1e8]
call fcn.100cca60
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
push ebx
push 0x1000
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
call fcn.10006eaf
fld1
lea eax, [esp + 0x1e8]
fstp qword [esp + 0x268]
fld qword [0x102832d8]
fstp qword [esp + 0x270]
fld qword [0x102832e0]
fstp qword [esp + 0x278]
fld qword [0x102832e8]
fstp qword [esp + 0x280]
fld qword [0x102832f0]
fstp qword [esp + 0x288]
fld qword [0x102832f8]
fstp qword [esp + 0x290]
fld qword [0x10283300]
push 0x40
push eax
fstp qword [esp + 0x2a0]
fld qword [0x10283308]
lea eax, [esp + 0x270]
push eax
push 8
fstp qword [esp + 0x2b0]
call fcn.1000eb40
mov esi, eax
push esi
call fcn.1000eb60
add esp, 0x14
push str.result:
push 0x10299910
call fcn.10007cd6
push eax
call fcn.10007e5c
add esp, 0xc
push esi
call fcn.1000e820
fld1
fstp qword [esp + 0x1ec]
fld qword [0x102832d8]
fstp qword [esp + 0x1f4]
fld qword [0x102832e0]
fstp qword [esp + 0x1fc]
fld qword [0x102832e8]
fstp qword [esp + 0x204]
fld qword [0x102832f0]
fstp qword [esp + 0x20c]
fld qword [0x102832f8]
fstp qword [esp + 0x214]
fld qword [0x10283300]
fstp qword [esp + 0x21c]
fld qword [0x10283308]
fstp qword [esp + 0x224]
fld qword [0x10283310]
fstp qword [esp + 0x22c]
fld qword [0x10283318]
fstp qword [esp + 0x234]
pop ecx
fld qword [0x10283320]
lea eax, [esp + 0x2e8]
fstp qword [esp + 0x238]
fld qword [0x10283328]
fstp qword [esp + 0x240]
fld qword [0x10283330]
push 0x40
fstp qword [esp + 0x24c]
fld qword [0x10283338]
push eax
fstp qword [esp + 0x258]
fld qword [0x10283340]
lea eax, [esp + 0x1f0]
push eax
push 4
fstp qword [esp + 0x268]
fld qword [0x10283348]
pop ebx
push ebx
push ebx
fstp qword [esp + 0x274]
call fcn.1000ebb0
add esp, 0x14
mov edi, eax
lea eax, [esp + 0x268]
push 0x40
push eax
lea eax, [esp + 0x2f0]
push eax
push ebx
push ebx
call fcn.1000eb80
add esp, 0x14
mov ebx, eax
push edi
call fcn.1000eb60
pop ecx
push ebx
call fcn.1000eb60
mov dword [esp], str.result:
push 0x10299910
call fcn.10007cd6
push eax
call fcn.10007e5c
fld qword [0x102832d0]
add esp, 0xc
xor esi, esi
fmul qword [esp + esi*8 + 0x268]
push ecx
push ecx
mov ecx, 0x10299910
fstp qword [esp]
call fcn.10005e68
push eax
call fcn.10007e5c
fld qword [0x102832d0]
inc esi
pop ecx
cmp esi, 0x10
jl 0x10004e6b
push edi
fstp st(0)
call fcn.1000e820
pop ecx
push ebx
call fcn.1000e820
cmp dword [esp + 0x3c], 7
lea eax, [esp + 0x28]
mov dword [esp], 0x1000
cmova eax, dword [esp + 0x28]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
pop edi
push edi
lea eax, [esp + 0x1ec]
push ebx
push eax
call fcn.10220d70
add esp, 0xc
lea ecx, [esp + 0x1e8]
call fcn.1000daa0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x20], ebx
call fcn.1000e230
lea ecx, [esp + 0x18]
call fcn.10006d70
lea ecx, [esp + 0x1e8]
call fcn.1000dfc0
push edi
lea eax, [esp + 0x1ec]
push ebx
push eax
call fcn.10220d70
add esp, 0xc
lea ecx, [esp + 0x1e8]
call fcn.1000daa0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x14], ebx
call fcn.1000e230
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x20], ebx
call fcn.1000e230
lea ecx, [esp + 0x18]
call fcn.10006d70
lea ecx, [esp + 0xc]
call fcn.10006d70
lea ecx, [esp + 0x1e8]
call fcn.1000dfc0
cmp dword [esp + 0x38], 7
lea edx, [esp + 0x24]
mov esi, dword [esp + 0x34]
cmova edx, dword [esp + 0x24]
test esi, esi
je 0x10004fb7
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edx + ecx*2]
jmp 0x10004fac
cmp ecx, edx
je 0x10004fb7
sub ecx, 2
cmp word [ecx], di
jne 0x10004fa5
sub ecx, edx
sar ecx, 1
jmp 0x10004fba
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
cmp esi, ecx
cmovb ecx, esi
cmp dword [esp + 0x38], 7
push ecx
stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
cmova eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.100082bd
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.10006135
lea ecx, [esp + 0x3c]
call fcn.10006e81
push 0x168
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.10220d70
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.1000784c
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
and dword [esp + 0x10], 0
lea ecx, [esp + 0x80]
and dword [esp + 0x14], 0
mov ebx, 0x10283150
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x84], ebx
push eax
call fcn.10006c30
and dword [esp + 0x10], 0
lea eax, [esp + 0xc]
and dword [esp + 0x14], 0
lea ecx, [esp + 0x80]
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x10], 0x3f800000
push eax
call fcn.10006c30
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
and dword [esp + 0x14], 0
lea ecx, [esp + 0x80]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x3f800000
push eax
call fcn.10006c30
push dword [esp + 0x1c]
lea eax, [esp + 0x40]
push dword [esp + 0x6c]
lea ecx, [esp + 0x88]
push dword [esp + 0x48]
push eax
call fcn.101b22a0
lea eax, [esp + 0x2e8]
push eax
call fcn.1022f9e9
pop ecx
lea eax, [esp + 0x2e8]
push eax
lea ecx, [esp + 0x40]
call fcn.100062af
xor eax, eax
lea edi, [esp + 0x268]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edx, edx
mov dword [esp + 0xc], 0x102831e8
xor eax, eax
mov dword [esp + 0x278], edx
push 0xf
pop ecx
mov dword [esp + 0x27c], ecx
lea edi, [esp + 0x280]
mov byte [esp + 0x268], dl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x290], edx
mov dword [esp + 0x294], ecx
mov byte [esp + 0x280], dl
mov dword [esp + 0x298], 0x2000
mov dword [esp + 0x10], eax
call fcn.101e12d0
xor edi, edi
mov esi, eax
push edi
push 6
sub esp, 0x34
lea eax, [esp + 0x2a4]
mov ecx, esp
push eax
call fcn.10008c48
lea eax, [esp + 0x48]
mov ecx, esi
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.101e2370
lea ecx, [esp + 0x280]
mov dword [esp + 0xc], 0x1028305c
call fcn.10006f42
lea ecx, [esp + 0x268]
call fcn.10006f42
lea ecx, [esp + 0x3c]
call fcn.10006f42
mov esi, 0x10283188
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], esi
call fcn.1000499e
push 0x168
lea eax, [esp + 0x84]
push edi
push eax
call fcn.10220d70
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.1000784c
and dword [esp + 0xc], edi
lea eax, [esp + 0xc]
and dword [esp + 0x10], edi
lea ecx, [esp + 0x80]
and dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x84], ebx
push eax
call fcn.10006c30
and dword [esp + 0x10], edi
lea eax, [esp + 0xc]
and dword [esp + 0x14], edi
lea ecx, [esp + 0x80]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x10], 0x3f800000
push eax
call fcn.10006c30
and dword [esp + 0xc], edi
lea eax, [esp + 0xc]
and dword [esp + 0x14], edi
lea ecx, [esp + 0x80]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x14], 0x3f800000
push eax
call fcn.10006c30
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], esi
call fcn.1000499e
push 7
pop esi
cmp dword [esp + 0x38], esi
lea eax, [esp + 0x24]
cmova eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Core.Google.Data.dll
call ebx
mov eax, accept
mov dword [esp + 0x58], edi
sub eax, dword [esp + 0x34]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
cmp eax, 1
jb 0x1000541d
cmp dword [esp + 0x38], esi
lea eax, [esp + 0x24]
push 1
cmova eax, dword [esp + 0x28]
push ecx
push dword [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x54]
call fcn.10009d35
push 0x17
push str.soundeffects_replay.wav
lea ecx, [esp + 0x44]
call fcn.1000609c
push eax
lea ecx, [esp + 0x68]
call fcn.1000616c
lea ecx, [esp + 0x3c]
call fcn.10006e81
cmp dword [esp + 0x78], esi
lea eax, [esp + 0x64]
lea ecx, [esp + 0x3c]
cmova eax, dword [esp + 0x64]
push eax
call fcn.100061a7
push 0x25a4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.10008130
cmp dword [esp + 0x50], esi
lea eax, [esp + 0x3c]
push edi
cmova eax, dword [esp + 0x40]
push 0x80
push 3
push edi
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
mov esi, eax
push 0x5cd0c
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x1c]
push eax
push 0x25a4
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x58]
call fcn.10006ced
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.10006e81
push str.QTSourcePXT.dll
call ebx
push 0x25a4
push 0
lea esi, [eax + 0x1000]
push esi
call fcn.10220d70
add esp, 0xc
xor ebx, ebx
mov cl, bl
lea edx, [ebx + edi]
add cl, cl
mov al, 0xf4
sub al, cl
add byte [edx], al
inc ebx
mov eax, 0x25a4
cmp ebx, eax
jb 0x100053c2
push eax
push edi
push esi
call fcn.102207f0
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x64]
call fcn.10006e81
lea ecx, [esp + 0x58]
call fcn.10006ced
lea ecx, [esp + 0x24]
call fcn.10006e81
mov ecx, dword [esp + 0x3f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1021eb98
mov esp, ebp
pop ebp
ret
call fcn.10003afb
int3