joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb4a250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb5e808
push 0xb4e288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xb4a329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xb4a329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00b4d1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xb4a329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xb4a329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xb4a32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00b4a351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb4ad20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xb4ad58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xb4ad60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xb4ad94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb4ad94
push eax
push esi
call fcn.00b4d20b
add esp, 8
pop esi
ret 0x10

Function at 0xb4ada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xb4ae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xb4ae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xb63320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00b4cdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xb4adda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xb4ae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xb4aec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xb4aeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xb63320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00b4cdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xb4aeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xb4ae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xb4b000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xb4b131
push esi
call fcn.00b4e145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00b3d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xb4b131
push 0
push ebp
call fcn.00b3d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00b3d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xb4b08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00b3d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xb4b121
push 0xb63918
push edi
call fcn.00b4c3f0
push eax
push ebx
push esi
call fcn.00b4af60
push 0xb638f8
push edi
call fcn.00b4c3f0
push eax
push ebx
push esi
call fcn.00b4af60
push 0xb638d8
push edi
call fcn.00b4c3f0
push eax
push ebx
push esi
call fcn.00b4af60
push 0xb638c0
push edi
call fcn.00b4c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00b4af60
push 0xb638a0
push edi
call fcn.00b4c3f0
push eax
push ebx
push esi
call fcn.00b4af60
push 0xb63888
push edi
call fcn.00b4c3f0
push eax
push ebx
push esi
call fcn.00b4af60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xb4c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00b4c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b4c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b4c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b4c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xb4cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb4cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb5e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb4cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb4cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401470
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
sub esp, 0x35c
mov eax, dword [0x6c9384]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push 0x104
lea eax, [esp + 0x260]
push eax
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x25c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4014a6
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x5a26d4]
mov dword [eax], ecx
mov cl, byte [0x5a26d8]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x5a2678
push edx
mov byte [eax + 8], cl
call fcn.00583b90
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401505
push eax
call fcn.00583946
add esp, 4
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.005837be
add esp, 0x35c
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x160]
push eax
push 0x104
call edi
lea eax, [esp + 0x160]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401524
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x5a26c4]
mov dword [eax], ecx
mov ecx, dword [0x5a26c8]
mov dword [eax + 4], edx
mov edx, dword [0x5a26cc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.005837cd
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.005837cd
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401564
lea edx, [esp + 0x160]
push edx
push 0x104
call edi
lea edi, [esp + 0x160]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4015e0
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea esp, [esp]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.005837cd
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.005837cd
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401610
push ebx
call fcn.00583946
mov ecx, dword [esp + 0x36c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005837be
add esp, 0x35c
ret
Function at 0x4016a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x6b9850
call fcn.0041b790
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x6ca974], ebp
call ebx
mov edi, eax
push 7
add edi, edi
call ebx
mov esi, eax
push 4
add esi, esi
call ebx
lea ecx, [esi + eax]
mov esi, dword [0x6fc9c4]
xor edx, edx
mov eax, esi
div dword [0x6fbf50]
mov eax, dword [0x6fbf54]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4016fd
cmp dword [edx], esi
je 0x401741
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4016f2
push 0
push ebp
push 0
push 0
add ecx, 0x300
push ecx
add edi, 0x400
push edi
push 0
push 0x80000000
push 0x2ca0000
push 0x6ca978
push 0x6cab90
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x6ca960], esi
test esi, esi
jne 0x40175d
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x4016fd
mov eax, dword [edx + 8]
push 0
push ebp
push 0
add eax, ecx
mov ecx, dword [edx + 4]
push 0
push eax
add ecx, edi
push ecx
jmp 0x401712
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x5ce064
call fcn.00403090
cmp dword [0x6bcbc8], 0
push 0
mov ecx, 0x5ce064
push 0
jne 0x4017ae
push 1
call fcn.00402ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.00402ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x401f50
Capabilities:
Create directory
Delete file
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push esi
push section..text
push 0xd
call edi
mov dword [0x6cae94], eax
mov eax, dword [esp + 0x30]
mov dword [0x6ca958], 0
mov ecx, str.gvkc9jw0ot0Ut
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401fa3
test dl, dl
je 0x401f9f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401fa3
add eax, 2
add ecx, 2
test dl, dl
jne 0x401f83
xor eax, eax
jmp 0x401fa8
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
je 0x401fca
push str.Error__
push 0x5a2804
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
push esi
push section..text
push 0xd
call edi
push str.._Log_Debug.txt
mov dword [0x6cae94], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x5a27f0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str._______________________________________________________
push 0x6c5e0c
call fcn.00528480
push str._____________________Client_Start______________________
push 0x6c5e0c
call fcn.00528480
push str._______________________________________________________
push 0x6c5e0c
call fcn.00528480
add esp, 0x18
call fcn.00401260
mov ecx, 0x6e29d8
call fcn.0053a8f0
push 0x6fbe22
push 0x6ca978
call fcn.00583d3f
push 0x6fbe22
push 0x6cab90
call fcn.00583d3f
push esi
call fcn.00401ee0
add esp, 0x14
mov ecx, 0x6e29d8
call fcn.00534860
push str.._Resource_QuestScript_QuestString.bin
mov ecx, 0x6dd7f0
call fcn.004e7730
push str.._Resource_QuestScript_QuestScript.bin
mov ecx, 0x6dd7f0
call fcn.004e82a0
push str.._Resource_QuestScript_NewbieGuide.bin
mov ecx, 0x6dd7f0
call fcn.004e63d0
push str.._Resource_QuestScript_QuestNpcList.bin
mov ecx, 0x6dd7f0
call fcn.004e78d0
mov ecx, 0x6d8e50
call fcn.0042a0b0
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.004016a0
add esp, 8
test eax, eax
jne 0x4020dd
mov eax, dword [0x6cae9c]
test eax, eax
je 0x4020d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6cae9c], 0
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
je 0x402113
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebp
jmp 0x4020f0
mov ecx, 0x5ce064
call fcn.00403390
cmp eax, 0xffffffff
jne 0x4020f0
mov eax, dword [0x6cae9c]
pop ebp
test eax, eax
je 0x40213d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6cae9c], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret 0x10
Function at 0x415b90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x130
mov eax, dword [0x6c9384]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
mov esi, dword [esp + 0x13c]
xor ebx, ebx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x415d42
cmp byte [esi], bl
je 0x415d42
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415d42
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x415c14
mov dword [esp + 0xc], 0x64
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x10], ebx
jbe 0x415d30
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea esp, [esp]
xor eax, eax
push edi
push str._04u
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], al
lea eax, [esp + 0x38]
push 5
push eax
call fcn.00416010
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415d09
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x415caf
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415d09
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x415ccc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415d09
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.Characteristics
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 4
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x415d27
mov esi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x415c30
mov edx, dword [esp + 0x18]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x415d44
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
pop ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x415d44
xor eax, eax
mov ecx, dword [esp + 0x134]
pop esi
pop ebx
xor ecx, esp
call fcn.005837be
add esp, 0x130
ret 4
Function at 0x415d60
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push edi
lea eax, [esp + 8]
xor edi, edi
push eax
push edi
mov ebp, ecx
mov dword [esp + 0x10], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x415da2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push ecx
call fcn.00416010
add esp, 0x10
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
mov edx, dword [esp + 8]
push esi
push edx
call fcn.00584a87
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, edi
jne 0x415dd5
mov eax, dword [esp + 0x18]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x415e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.00416010
push esi
call fcn.00584a4d
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x415e4b
cmp eax, 8
ja 0x415e4b
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.005840a0
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, ebp
call fcn.00415b90
test al, 4
jne 0x415e51
mov esi, dword [esi]
test esi, esi
jne 0x415e15
mov edx, dword [esp + 0x14]
push edx
call fcn.00584a4d
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 8
ret 4
Function at 0x438ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
push 0x5a2d48
push str.._image_InterfaceScript_21.bin
call fcn.0042ffe0
fild dword [0x6fbd88]
mov esi, eax
mov eax, dword [0x6fbd88]
test eax, eax
jns 0x438ae1
fadd dword [0x5a2d60]
movzx ecx, word [esi + 0x1ec]
mov ebx, dword [esi]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fsubp st(1)
fsub qword [0x5a3188]
fstp dword [esp + 0xc]
fld dword [esi + 0x1c8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.005846d0
fld dword [esp + 0xc]
push eax
call fcn.005846d0
mov edx, dword [ebx + 0x24]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x18]
push esi
call fcn.0057e690
mov ecx, esi
mov dword [0x6cbef8], esi
call fcn.004c5ea0
call fcn.0050af80
pop edi
pop esi
mov ecx, eax
pop ebx
add esp, 8
jmp fcn.0050afc0
Function at 0x46b0e0
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov ebx, ecx
test eax, eax
jne 0x46b100
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
ret 4
push esi
push eax
mov ecx, 0x6da050
call fcn.004a0ca0
mov esi, eax
test esi, esi
je 0x46b11f
mov ax, word [edi + 6]
mov word [esi + 0x28e], ax
jmp 0x46b14d
push str.CItemShopGridDialog::AddItem
push edi
mov ecx, 0x6da050
call fcn.004a3da0
mov esi, eax
test esi, esi
jne 0x46b13b
pop esi
pop edi
pop ebx
ret 4
push esi
mov ecx, 0x6da050
mov dword [esi + 0x24], 1
call fcn.004ad320
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx eax, ax
lea eax, [eax - 0xf0]
cdq
mov ecx, 0x1e
idiv ecx
push esi
mov ecx, ebx
push edx
call fcn.00424680
pop esi
pop edi
pop ebx
ret 4

Function at 0x4858a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x4858e3
mov eax, dword [0x6da300]
add eax, 0x1d4c0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f940
push str.ANRaster.tga
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f970
jmp 0x4858fc
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f940
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041fb10
mov esp, ebp
pop ebp
ret 4

Function at 0x485910
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x485958
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
add eax, dword [0x6da300]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f940
push str.ANRaster.tga
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f970
jmp 0x485971
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f940
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041fb10
mov esp, ebp
pop ebp
ret 8
Function at 0x4a87e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x6c9384]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4a880f
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4a88eb
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4a8845
test eax, eax
je 0x4a8842
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4a8836
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4a88ea
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4a88db
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push 0x5a267c
push eax
call fcn.00583d3f
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.004a3ba0
test eax, eax
je 0x4a88cc
mov ecx, 0x6c6908
call fcn.0052db00
push 0x230
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 1
push 0x179e
push 0x6ba2e8
call fcn.0043ad50
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4a8871
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [esp + 0x1b0]
pop esi
pop ebx
xor ecx, esp
call fcn.005837be
add esp, 0x1ac
ret