joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5922d0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x98
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x59232f
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x59240b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, 0x6eae18
test ecx, ecx
jne 0x59239a
mov dword [ebp - 0x44], 0
jmp 0x5923aa
push 0x6eae18
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push 0x6eae18
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x592420
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50a0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x9a
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x59247f
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x592603
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, 0x6eae3c
test ecx, ecx
jne 0x5924ea
mov dword [ebp - 0x3c], 0
jmp 0x5924fa
push 0x6eae3c
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
push 0x6eae3c
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
mov ecx, str.ISMBoard2_Dll.dll
test ecx, ecx
jne 0x592592
mov dword [ebp - 0x60], 0
jmp 0x5925a2
push str.ISMBoard2_Dll.dll
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
push str.ISMBoard2_Dll.dll
lea ecx, [ebp - 0x30]
call fcn.00593d20
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x592620
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x9b
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x59267f
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x59275b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, 0x6eae50
test ecx, ecx
jne 0x5926ea
mov dword [ebp - 0x44], 0
jmp 0x5926fa
push 0x6eae50
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push 0x6eae50
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x592770
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x9c
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x5927cf
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x5928ab
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, 0x6eae64
test ecx, ecx
jne 0x59283a
mov dword [ebp - 0x44], 0
jmp 0x59284a
push 0x6eae64
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push 0x6eae64
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5928c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x9f
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x59291f
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x5929fb
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, 0x6eae74
test ecx, ecx
jne 0x59298a
mov dword [ebp - 0x44], 0
jmp 0x59299a
push 0x6eae74
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push 0x6eae74
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x592a10
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x9d
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x592a6f
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x592b4b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, str.RelayBoardApp.dll
test ecx, ecx
jne 0x592ada
mov dword [ebp - 0x44], 0
jmp 0x592aea
push str.RelayBoardApp.dll
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push str.RelayBoardApp.dll
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x592b60
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x720870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x20], eax
push 0xa
push 0x9e
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x592bbf
push 0
push 0
push str.Failed_to_load_dll_libraries.
call fcn.005ab103
xor eax, eax
jmp 0x592c9b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004297a0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, 0x6eae9c
test ecx, ecx
jne 0x592c2a
mov dword [ebp - 0x44], 0
jmp 0x592c3a
push 0x6eae9c
call fcn.005c9900
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push 0x6eae9c
lea ecx, [ebp - 0x28]
call fcn.00593d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
push 0x6eadcc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005ca92e
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005cba91
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.005ca6e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00429410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5936a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x5936cb
push 0x6eaff8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret
Function at 0x597a10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004418e0
add esp, 0x10
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00440b20
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00440a50
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 6
ja case.0x597a8b.2
mov ecx, dword [ebp - 0x1c]
jmp dword [ecx*4 + 0x597bdc]
xor eax, eax
jmp 0x597bd7
mov edx, dword [ebp - 8]
cmp edx, dword [0x708c44]
jne 0x597ad2
cmp dword [0x730fe8], 0
je 0x597ad0
push 0x6eb964
mov eax, dword [0x730fe8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
movzx edx, byte [ebp - 4]
push edx
call dword [ebp - 0x18]
add esp, 8
jmp 0x597b44
mov eax, dword [ebp - 8]
cmp eax, dword [0x708c48]
jne 0x597b0c
cmp dword [0x730fec], 0
je 0x597b0a
push 0x6eb964
mov ecx, dword [0x730fec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0xc]
push edx
movzx eax, byte [ebp - 4]
push eax
call dword [ebp - 0x18]
add esp, 8
jmp 0x597b44
mov ecx, dword [ebp - 8]
cmp ecx, dword [0x708c50]
jne 0x597b44
cmp dword [0x730fec], 0
je 0x597b44
push 0x6eb964
mov edx, dword [0x730fec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp - 4]
push ecx
call dword [ebp - 0x18]
add esp, 8
jmp 0x597bd4
cmp dword [0x730ffc], 0
je 0x597b76
push 0x6eb964
mov edx, dword [0x730ffc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp - 4]
push ecx
call dword [ebp - 0x18]
add esp, 8
jmp 0x597bd4
cmp dword [0x73100c], 0
je 0x597ba5
push 0x6eb964
mov edx, dword [0x73100c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp - 4]
push ecx
call dword [ebp - 0x18]
add esp, 8
jmp 0x597bd4
cmp dword [0x731010], 0
je 0x597bd4
push 0x6eb964
mov edx, dword [0x731010]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, byte [ebp - 4]
push ecx
call dword [ebp - 0x18]
add esp, 8
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5aba4a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5e7135
call fcn.005cc70c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5aba6f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5abab5
lea ecx, [ebp - 0x10]
call fcn.00429390
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005ab21e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.005aada8
mov eax, esi
call fcn.005cc7e4
ret 8

Function at 0x5ace44
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x720870]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x5acee2
push 0x6edb94
push 4
push eax
call fcn.005ccdfa
push eax
call fcn.005ab1f2
add esp, 0x10
push ebx
push edi
call fcn.005cccde
mov edi, dword [eax]
call fcn.005cccde
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005c9bd6
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.005cccde
cmp dword [eax], ebx
je 0x5acef9
call fcn.005cccde
push dword [eax]
call fcn.005ac3c0
pop ecx
jmp 0x5acf00
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x5ace8a
jmp 0x5acf87
call fcn.005cccde
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x5acf83
cmp dword [ebp - 0x11c], esi
jae 0x5acf83
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.005c9870
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x5acf72
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5acf72
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x5acf72
push ebx
push ebx
push esi
jmp 0x5acf7b
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x5acf85
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005c7e68
leave
ret