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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x101a7664]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
push 0x40
push 0xffffffffffffffff
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xdc]
push eax
push 5
call fcn.100207e0
add esp, 0x14
mov esi, eax
push esi
call fcn.10020b10
pop ecx
push esi
call fcn.10020800
cmp byte [0x101aea70], 0
pop ecx
jne 0x10005808
xor eax, eax
mov byte [0x101aea70], 1
lea edi, [esp + 0x2c]
mov esi, 0x1000
stosd dword es:[edi], eax
xor ebx, ebx
push ecx
push esi
lea ecx, [esp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
call fcn.10007d09
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push esi
cmovae eax, dword [esp + 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xf]
mov byte [esp + 0xf], bl
push eax
push 3
push 1
push 0x1e0
push 0x280
lea ecx, [esp + 0x64]
call fcn.10006067
mov eax, dword [esp + 0x54]
mov edx, ebx
test eax, eax
jle 0x10005527
mov ecx, dword [esp + 0x50]
mov esi, ebx
test ecx, ecx
jle 0x10005522
mov ebx, edx
and ebx, 0x800000ff
jns 0x100054c1
dec ebx
or ebx, 0xffffff00
inc ebx
mov eax, esi
and eax, 0x800000ff
jns 0x100054d1
dec eax
or eax, 0xffffff00
inc eax
imul ecx, edx
add ecx, dword [esp + 0x64]
mov byte [ecx + esi], al
lea ecx, [esi + edx]
mov eax, dword [esp + 0x54]
add eax, edx
imul eax, dword [esp + 0x50]
add eax, dword [esp + 0x64]
mov byte [eax + esi], bl
and ecx, 0x800000ff
jns 0x10005500
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [esp + 0x54]
lea eax, [edx + eax*2]
imul eax, dword [esp + 0x50]
add eax, dword [esp + 0x64]
mov byte [eax + esi], cl
inc esi
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jl 0x100054c1
mov eax, dword [esp + 0x54]
xor ebx, ebx
inc edx
cmp edx, eax
jl 0x100054a9
cmp dword [esp + 0x40], 8
lea edx, [esp + 0x2c]
mov esi, dword [esp + 0x3c]
cmovae edx, dword [esp + 0x2c]
test esi, esi
je 0x10005562
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x10005557
cmp ecx, edx
je 0x10005562
sub ecx, 2
cmp word [ecx], ax
jne 0x10005550
sub ecx, edx
sar ecx, 1
jmp 0x10005565
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
cmp esi, ecx
cmovb ecx, esi
cmp dword [esp + 0x40], 8
push ecx
stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.1001c2b0
lea ecx, [esp + 0x2c]
call fcn.10007cde
push 6
pop ecx
lea esi, [esp + 0x10]
xor eax, eax
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
call fcn.10007cde
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.FlowHeater.dll
call ebx
xor esi, esi
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
cmp eax, 1
jb 0x1000581d
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push 1
cmovae eax, dword [esp + 0x30]
push ecx
push dword [esp + 0x44]
push eax
push ecx
push dword [esp + 0x3c]
lea ecx, [esp + 0x28]
call fcn.1001ce76
push ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x6c]
call fcn.1001c150
pop ecx
lea ecx, [esp + 0x10]
call fcn.10007cde
mov edi, dword [esp + 0x48]
mov eax, 0x24fb
mov edx, dword [esp + 0x44]
mov ecx, edi
sub ecx, edx
cmp ecx, eax
jbe 0x10005662
lea eax, [edx + 0x24fb]
jmp 0x10005695
jae 0x10005699
mov eax, dword [esp + 0x4c]
sub eax, edx
mov edx, 0x24fb
cmp eax, edx
jae 0x10005680
push ecx
push ecx
lea ecx, [esp + 0x4c]
call fcn.1001d1d2
jmp 0x10005699
mov esi, edx
sub esi, ecx
push esi
push 0
push edi
call fcn.100fd2b0
add esp, 0xc
lea eax, [esi + edi]
xor esi, esi
mov dword [esp + 0x48], eax
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
push 0x1019b548
cmovae eax, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], esi
push eax
call fcn.100fee56
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x1000575f
cmp dword [esp + 0x3c], eax
jne 0x1000575f
push 6
push 0xffffffffffffffff
push 0x1019b550
lea ecx, [esp + 0x5c]
call fcn.100059f7
call fcn.100f2270
test eax, eax
je 0x100057dc
push esi
push esi
push 0x1019b554
push 0x1e0
push 0x280
call fcn.100f2610
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1000571c
call fcn.100f2330
jmp 0x100057dc
push esi
call fcn.100f1e70
pop ecx
call fcn.100f0220
test eax, eax
jne 0x100057dc
jmp 0x10005749
push 0x4000
call dword [sym.imp.OPENGL32.dll_glClear]
push esi
call fcn.100f1f00
pop ecx
call fcn.100f2a10
push esi
call fcn.100f2a30
pop ecx
test eax, eax
je 0x10005732
call fcn.100f2330
mov eax, dword [esp + 0x28]
xor esi, esi
push esi
push 0x5cc92
push eax
call fcn.100ff6b0
add esp, 0xc
mov edi, 0x24fb
push dword [esp + 0x28]
push edi
push 1
push dword [esp + 0x50]
call fcn.10102c21
push dword [esp + 0x38]
call fcn.100ff125
add esp, 0x14
push str.libGLESv3.dll
call ebx
push edi
push 0
lea esi, [eax + 0x1000]
push esi
call fcn.100fd2b0
mov edi, dword [esp + 0x50]
add esp, 0xc
xor ebx, ebx
mov cl, bl
lea edx, [ebx + edi]
add cl, cl
mov al, 0x2d
sub al, cl
add byte [edx], al
inc ebx
mov eax, 0x24fb
cmp ebx, eax
jb 0x100057ae
push eax
push dword [esp + 0x48]
push esi
call fcn.100fcd30
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x68]
call fcn.10007cde
lea ecx, [esp + 0x44]
call fcn.1000582d
cmp byte [esp + 0x60], 0
jne 0x100057ff
push dword [esp + 0x64]
call fcn.10020b60
pop ecx
lea ecx, [esp + 0x2c]
call fcn.10007cde
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100fb279
mov esp, ebp
pop ebp
ret
call fcn.100011f9
int3