joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a6a0
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x5f9d30], 1
jne 0x48a6c1
jmp 0x48a809
mov dword [0x5f9d30], 1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x56c31c
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SoftwareWine
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x48a717
cmp dword [ebp - 0xc], 0
jne 0x48a7ff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x55c710], 1
push str.Linux_VersionTRUE
push 1
call fcn.00436500
add esp, 8
push str.DYNED_IS_MANAGED
call fcn.00535cda
add esp, 4
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
push eax
push str.managed_user___d
lea ecx, [ebp - 0x110]
push ecx
call fcn.00532706
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
push 1
call fcn.00436500
add esp, 8
cmp dword [ebp - 0x114], 0
je 0x48a7fd
push str.DYNED_I_AM_ROOT
call fcn.00535cda
add esp, 4
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
push eax
push str.root_user___d
lea ecx, [ebp - 0x110]
push ecx
call fcn.00532706
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
push 1
call fcn.00436500
add esp, 8
cmp dword [ebp - 0x114], 0
je 0x48a7fd
push 0x5f9d2e
push 0x5f9d2f
push 0x56c398
push str.MSG_YouMayNotBeRootUser
call fcn.00422b80
add esp, 0x10
push 0x5f9d34
push 0x1a5e
push str.IsLinux
call fcn.00431ee0
add esp, 0xc
jmp 0x48a809
mov dword [0x55c710], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret

Function at 0x48ab00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
push str.SoftwareClassesCheatEngine_shellopencommand
lea eax, [ebp - 0x210]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
push 0x5f9d35
lea edx, [ebp - 0x210]
push edx
push reloc.WSOCK32.dll_bind
call fcn.00486ed0
add esp, 0x10
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x48ab79
mov dword [ebp - 0x214], 1
push str.ERROR:_CE_installed
push 1
call fcn.00436500
add esp, 8
push 0
push 0x48b610
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x5f9bd8], 1
jne 0x48aba8
mov dword [ebp - 0x214], 1
push str.ERROR:_CE_running
push 1
call fcn.00436500
add esp, 8
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x48d370
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
push str.GetTheLocalMachineIM
push 0
call fcn.00436500
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0xc]
push eax
push str.GetTheLocalMachineIM_2_ret_d__OutBufLen_ld
lea ecx, [ebp - 0x110]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push 0
call fcn.00436500
add esp, 8
cmp dword [ebp - 0x114], 0
ja 0x48d410
push str.OutBufLen_0
push 0
call fcn.00436500
add esp, 8
mov eax, dword [ebp - 0x118]
jmp 0x48d58c
mov eax, dword [ebp - 0x114]
add eax, 0x64
push eax
call fcn.005324a9
add esp, 4
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.GetTheLocalMachineIM_4_ret_d__OutBufLen_ld
lea edx, [ebp - 0x110]
push edx
call fcn.00532706
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.00436500
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x48d494
push str.ret_ERROR_SUCCESS
push 0
call fcn.00436500
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.00532828
add esp, 4
mov eax, dword [ebp - 0x118]
jmp 0x48d58c
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x48d57a
mov eax, dword [ebp - 8]
add eax, 0x1b0
je 0x48d56d
push str.0.0.0.0
mov ecx, dword [ebp - 8]
add ecx, 0x1b0
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
je 0x48d56d
push 0x10
mov edx, dword [ebp - 8]
add edx, 0x1b0
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00532bd0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x10], 0
mov edx, dword [ebp + 8]
push edx
push 0x56d470
lea eax, [ebp - 0x110]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
call fcn.00436500
add esp, 8
push 0x10
mov edx, dword [ebp - 8]
add edx, 0x1c0
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532bd0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x10], 0
mov edx, dword [ebp + 0xc]
push edx
push str.GetTheLocalMachineIM__s
lea eax, [ebp - 0x110]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
call fcn.00436500
add esp, 8
mov dword [ebp - 0x118], 1
jmp 0x48d57a
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x48d49a
mov ecx, dword [ebp - 4]
push ecx
call fcn.00532828
add esp, 4
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x48d5a0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x304], 0
mov eax, 0x101
mov word [ebp - 0x16c], ax
mov dword [ebp - 0x168], 0
push str.GTHIPA_1
push 1
call fcn.00436500
add esp, 8
lea ecx, [ebp - 0x300]
push ecx
movzx edx, word [ebp - 0x16c]
push edx
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x164], eax
movzx eax, word [ebp - 0x2fe]
and eax, 0xff
movzx ecx, al
push ecx
movzx edx, word [ebp - 0x2fe]
shr edx, 8
and edx, 0xff
movzx eax, dl
push eax
movzx ecx, word [ebp - 0x300]
and ecx, 0xff
movzx edx, cl
push edx
movzx eax, word [ebp - 0x300]
shr eax, 8
and eax, 0xff
movzx ecx, al
push ecx
mov edx, dword [ebp - 0x164]
push edx
push str.GTHIPA_1___d____d__d______d__d_
lea eax, [ebp - 0x160]
push eax
call fcn.00532706
add esp, 0x1c
lea ecx, [ebp - 0x160]
push ecx
push 1
call fcn.00436500
add esp, 8
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x168], eax
push str.GTHIPA_2
push 1
call fcn.00436500
add esp, 8
cmp dword [ebp - 0x168], 0
je 0x48d7de
push str.GTHIPA_3
push 1
call fcn.00436500
add esp, 8
push 0x50
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.005323e0
add esp, 0xc
mov dword [ebp - 0x308], 0
jmp 0x48d6d5
mov ecx, dword [ebp - 0x308]
add ecx, 1
mov dword [ebp - 0x308], ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x308]
cmp dword [eax + ecx*4], 0
je 0x48d7dc
push str.GTHIPA_4
push 1
call fcn.00436500
add esp, 8
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x308]
mov edx, dword [eax + ecx*4]
add edx, 4
push edx
push 1
call fcn.00436500
add esp, 8
mov dword [ebp - 0x170], 0
jmp 0x48d738
mov eax, dword [ebp - 0x170]
add eax, 1
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 4
jge 0x48d7a8
push 4
push 0
lea ecx, [ebp - 0x5c]
push ecx
call fcn.005323e0
add esp, 0xc
push 0xa
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x308]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x170]
movzx edx, byte [eax + ecx]
push edx
call fcn.0053c9d0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00532590
add esp, 8
cmp dword [ebp - 0x170], 3
je 0x48d7a6
push 0x56d4f4
lea edx, [ebp - 0x58]
push edx
call fcn.00532590
add esp, 8
jmp 0x48d729
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00532580
add esp, 8
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x48d7d7
mov dword [ebp - 0x304], 1
cmp dword [ebp - 0x308], 0
jne 0x48d7d7
jmp 0x48d7dc
jmp 0x48d6c6
jmp 0x48d815
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
push ecx
push str.GTHIPA_2_Warning__d
lea edx, [ebp - 0x160]
push edx
call fcn.00532706
add esp, 0xc
lea eax, [ebp - 0x160]
push eax
push 1
call fcn.00436500
add esp, 8
push str.GTHIPA_5
push 1
call fcn.00436500
add esp, 8
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [ebp - 0x304]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x492300
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
and ecx, 1
je 0x49237a
mov edx, dword [ebp + 8]
push edx
push str.WARNING:_File_was_ReadOnly__s
lea eax, [ebp - 0x208]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
push 1
call fcn.00436500
add esp, 8
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 0x20c], 1
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret

Function at 0x4923e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00532580
add esp, 8
lea edx, [ebp - 0x108]
push edx
call fcn.004299d0
add esp, 4
lea eax, [ebp - 0x108]
push eax
call fcn.0053aa0e
add esp, 4
push 0x5c
push 0x5c
push str._cDYNED_c
lea ecx, [ebp - 0x208]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00532680
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49246c
mov ecx, dword [ebp - 4]
mov byte [ecx + 7], 0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x492be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
cmp dword [0x5fb0b8], 0
jne 0x492bfd
xor eax, eax
jmp 0x492d8e
cmp dword [0x5fb6c8], 0
jne 0x492c23
push 5
mov eax, dword [0x5fb0b8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00484fa0
mov dword [0x5fb6c8], 1
cmp dword [ebp + 8], 0
je 0x492c66
push 4
push 0x56dfb0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x492c55
push 0x5fb0c0
mov edx, dword [ebp + 8]
push edx
push 0
call fcn.0046d1b0
add esp, 0xc
jmp 0x492c66
mov eax, dword [ebp + 8]
push eax
push 0x5fb0c0
call fcn.00532580
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x492ca9
push 4
push 0x56dfb8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x492c98
push 0x5fb2c0
mov edx, dword [ebp + 0xc]
push edx
push 0
call fcn.0046d1b0
add esp, 0xc
jmp 0x492ca9
mov eax, dword [ebp + 0xc]
push eax
push 0x5fb2c0
call fcn.00532580
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x492cec
push 4
push 0x56dfc0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x492cdb
push 0x5fb4c0
mov edx, dword [ebp + 0x10]
push edx
push 0
call fcn.0046d1b0
add esp, 0xc
jmp 0x492cec
mov eax, dword [ebp + 0x10]
push eax
push 0x5fb4c0
call fcn.00532580
add esp, 8
call fcn.00483eb0
fsub dword [0x5fb6d4]
fcomp qword [0x54c408]
fnstsw ax
test ah, 5
jp 0x492d0b
xor eax, eax
jmp 0x492d8e
call fcn.00483eb0
fstp dword [0x5fb6d4]
push 5
mov ecx, dword [0x5fb0b8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5fb0b8]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x5fb0b8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 1
push 0
mov ecx, dword [0x5fb0b8]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x5fb0b8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x492d8b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4930d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [0x601324], 0
je 0x4930eb
xor eax, eax
jmp 0x493238
cmp dword [0x5fb0bc], 0
jne 0x4930fb
xor eax, eax
jmp 0x493238
cmp dword [0x5fb6cc], 0
jne 0x493121
push 5
mov eax, dword [0x5fb0bc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00484fa0
mov dword [0x5fb6cc], 1
cmp dword [ebp + 8], 0
je 0x493164
push 4
push 0x56dffc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x493153
push 0x5fb1c0
mov edx, dword [ebp + 8]
push edx
push 0
call fcn.0046d1b0
add esp, 0xc
jmp 0x493164
mov eax, dword [ebp + 8]
push eax
push 0x5fb1c0
call fcn.00532580
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4931a7
push 4
push 0x56e004
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x493196
push 0x5fb3c0
mov edx, dword [ebp + 0xc]
push edx
push 0
call fcn.0046d1b0
add esp, 0xc
jmp 0x4931a7
mov eax, dword [ebp + 0xc]
push eax
push 0x5fb3c0
call fcn.00532580
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4931ea
push 4
push 0x56e00c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x4931d9
push 0x5fb5c0
mov edx, dword [ebp + 0x10]
push edx
push 0
call fcn.0046d1b0
add esp, 0xc
jmp 0x4931ea
mov eax, dword [ebp + 0x10]
push eax
push 0x5fb5c0
call fcn.00532580
add esp, 8
push 5
mov ecx, dword [0x5fb0bc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5fb0bc]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x5fb0bc]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 1
push 0
mov ecx, dword [0x5fb0bc]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x5fb0bc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00484fa0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x493270
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x41
jl 0x4932a3
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x5a
jle 0x4932aa
xor eax, eax
jmp 0x493392
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
push edx
push str.__c:
lea eax, [ebp - 0x108]
push eax
call fcn.00532706
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x49334d
push 0x227
call fcn.005324a9
add esp, 4
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [edx + 4], 0x227
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004933a0
add esp, 8
test eax, eax
je 0x493334
mov edx, dword [ebp - 0x110]
cmp dword [edx + 0x1c], 7
jne 0x493334
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp - 0x110]
push eax
call fcn.00532828
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10c], 0
jne 0x49338c
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x49338c
cmp dword [ebp - 0x114], 2
jae 0x49338c
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x493400
Capabilities:
Link many functions at runtime
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x56e01c
push 0x5c
push 0x56e02c
push 0x5c
push 0x5f98d8
push str._s_c_s_c_s
lea eax, [ebp - 0x318]
push eax
call fcn.00532706
add esp, 0x1c
lea ecx, [ebp - 0x318]
push ecx
call fcn.00423310
add esp, 4
cmp eax, 1
jne 0x493460
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5fb6d8], eax
cmp dword [0x5fb6d8], 0
jne 0x493505
push 0x56e040
mov eax, dword [ebp + 8]
push eax
push 0x56e04c
lea ecx, [ebp - 0x108]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
push 0xff
lea eax, [ebp - 0x210]
push eax
push 0x5fb6e0
push str.records_ini_path_win
push 0x56e06c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x214], eax
push str.usb_info.dll
push 0x5c
push 0x56e084
lea ecx, [ebp - 0x210]
push ecx
push 0x56e08c
lea edx, [ebp - 0x318]
push edx
call fcn.00532706
add esp, 0x18
lea eax, [ebp - 0x318]
push eax
call fcn.00423310
add esp, 4
cmp eax, 1
jne 0x493505
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5fb6d8], eax
cmp dword [0x5fb6d8], 0
je 0x493639
push str.USB007_RetrieveDriveInfoDB
mov edx, dword [0x5fb6d8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71cc70], eax
push str.USB007_DC_SetWriteProtectDrive
mov eax, dword [0x5fb6d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71cc64], eax
push str.USB007_DC_UnSetWriteProtectDrive
mov ecx, dword [0x5fb6d8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71adb0], eax
push str.USB007_DC_SetTempWriteProtectDrive
mov edx, dword [0x5fb6d8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71cc68], eax
push str.USB007_DC_UnSetTempWriteProtectDrive
mov eax, dword [0x5fb6d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71cc6c], eax
cmp dword [0x71cc70], 0
je 0x4935cf
cmp dword [0x71cc64], 0
jne 0x4935cf
cmp dword [0x71adb0], 0
jne 0x4935cf
cmp dword [0x71cc68], 0
jne 0x4935cf
cmp dword [0x71cc6c], 0
jne 0x4935cf
mov ecx, dword [0x5fb6d8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x10c], eax
mov dword [0x5fb6d8], 0
jmp 0x493639
push 0x71adc0
call dword [0x71cc70]
add esp, 4
xor edx, edx
mov word [ebp - 0x31c], dx
jmp 0x4935fa
mov ax, word [ebp - 0x31c]
add ax, 1
mov word [ebp - 0x31c], ax
movzx ecx, word [ebp - 0x31c]
cmp ecx, dword [0x71adc0]
jae 0x493639
movzx edx, word [ebp - 0x31c]
imul edx, edx, 0x620
movsx eax, byte [edx + 0x71b1e4]
movsx ecx, byte [ebp - 0x318]
cmp eax, ecx
jne 0x493637
movzx edx, word [ebp - 0x31c]
mov dword [0x5fb6dc], edx
jmp 0x493639
jmp 0x4935e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x4a5210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov al, byte [0x5fcff9]
mov byte [ebp - 0x110], al
push 0xfe
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.005323e0
add esp, 0xc
mov dword [ebp - 8], 0
push str.BabelForceRecognition
push 4
call fcn.00436500
add esp, 8
push str.TEMP.WAV
push 0x5c5ed8
push 0x571d1c
lea edx, [ebp - 0x110]
push edx
call fcn.00532706
add esp, 0x10
push 2
lea eax, [ebp - 0x110]
push eax
call fcn.004869a0
add esp, 8
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00532580
add esp, 8
mov byte [0x5fcdd0], 0
push 0x571d24
lea edx, [ebp - 0x110]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a537a
push 0x4e1f
mov eax, dword [0x5fcd94]
push eax
call dword [0x719848]
call fcn.00532f90
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
shl ecx, 1
push ecx
call fcn.005324a9
add esp, 4
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00534efc
add esp, 4
test eax, eax
jne 0x4a5358
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
push 2
mov edx, dword [ebp - 0x11c]
push edx
call fcn.0053367b
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jg 0x4a5338
jmp 0x4a5358
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [0x5fcd94]
push edx
call dword [0x7197f8]
mov dword [ebp - 8], eax
jmp 0x4a52fb
push 0
push 0
mov eax, dword [0x5fcd94]
push eax
call dword [0x7197f8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.00532828
add esp, 4
call fcn.004a5870
push 0x118
call fcn.004a69e0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x4b7620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1f0]
push eax
mov ecx, dword [0x5c4c28]
imul ecx, ecx, 0x127c
add ecx, 0x11a6ec0
push ecx
call fcn.004281d0
add esp, 8
push 0x1102600
push 0x5c
mov edx, dword [0x5c4c28]
imul edx, edx, 0x127c
add edx, 0x11a6f12
push edx
push 0x5c
lea eax, [ebp - 0x1f0]
push eax
push 0x5c44f8
push 0x57340c
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.00532706
add esp, 0x20
cmp dword [0x5f6630], 1
jne 0x4b76bc
cmp dword [0x5f663c], 0
je 0x4b76bc
push 0x1068ea0
push 0x573424
lea edx, [ebp - 0x2f0]
push edx
call fcn.00532706
add esp, 0xc
push 1
push 0x573430
lea eax, [ebp - 0x2f0]
push eax
call fcn.00459360
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [0x5fdb24], 1
jne 0x4b76e3
jmp 0x4b7828
cmp dword [ebp - 4], 0
jne 0x4b76f8
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.0045c4a0
add esp, 4
cmp dword [ebp - 4], 0
jne 0x4b773c
lea edx, [ebp - 0x2f0]
push edx
push 0x573434
lea eax, [ebp - 0x110]
push eax
call fcn.00532706
add esp, 0xc
push 0x5fd718
push 0x5fd719
push 0x573448
lea ecx, [ebp - 0x110]
push ecx
call fcn.00422b80
add esp, 0x10
jmp 0x4b7828
mov edx, dword [ebp - 4]
push edx
call fcn.004557e0
add esp, 4
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 8], 1
jmp 0x4b7760
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x1e0]
jg 0x4b781c
mov edx, dword [ebp - 4]
push edx
push 1
push 0xc8
lea eax, [ebp - 0x1d8]
push eax
call fcn.0053367b
add esp, 0x10
push 0
push 3
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.0041aba0
add esp, 0xc
movsx edx, word [ebp - 0x1d8]
cmp edx, 5
jne 0x4b7817
movsx eax, word [ebp - 0x1d6]
cmp eax, dword [0x5fdb08]
jne 0x4b7817
cmp dword [ebp + 8], 0xffffffff
jne 0x4b7800
mov dword [ebp - 0x1dc], 0
jmp 0x4b77d8
mov ecx, dword [ebp - 0x1dc]
add ecx, 1
mov dword [ebp - 0x1dc], ecx
cmp dword [ebp - 0x1dc], 0x20
jge 0x4b77fe
mov edx, dword [ebp - 0x1dc]
movsx eax, word [ebp + edx*2 - 0x1d2]
mov ecx, dword [ebp - 0x1dc]
mov dword [ecx*4 + 0x658f20], eax
jmp 0x4b77c9
jmp 0x4b7815
mov edx, dword [ebp + 8]
movsx eax, word [ebp + edx*2 - 0x1d2]
mov ecx, dword [ebp + 8]
mov dword [ecx*4 + 0x658f20], eax
jmp 0x4b781c
jmp 0x4b7757
mov edx, dword [ebp - 4]
push edx
call fcn.00431d50
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret