joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421ced
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x482e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421d38
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421e8c
test al, al
jne 0x421d32
sub edx, 2
cmp edx, edi
jne 0x421d18
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421d5a
lea eax, [edi + 2]
cmp edx, eax
je 0x421d5a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421c39
add esp, 0x10
jmp 0x421e54
push esi
lea ecx, [ebp - 0x255]
call fcn.00421e8c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421d9d
push dword [ebp - 0x25c]
jmp 0x421d4a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421dda
cmp word [ebp - 0x226], 0
je 0x421dfb
cmp word [ebp - 0x226], ax
jne 0x421dda
cmp word [ebp - 0x224], 0
je 0x421dfb
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421c39
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421e47
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421db4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421e2f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421e54
push 0x421a69
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427660
add esp, 0x10
jmp 0x421e24
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cd03
leave
ret

Function at 0x429130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42915d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42915d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42a699
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42a719
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42a718
push ebx
mov ebx, 0x484c50
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402d1f
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402d1f
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42b5b8
mov byte [edi + esi], al
call fcn.0041229e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42a6bb
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00406502
pop edi
pop ebp
ret 0x14

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x403520
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x6d74f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x54], ecx
push 0
push str.data
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.data_aiconfig
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x6e6cc8
call fcn.004073d0
mov ecx, eax
call fcn.00407770
mov word [ebp - 8], ax
movzx eax, word [ebp - 8]
push eax
push str.._data_aiconfig__d.dat
lea ecx, [ebp - 0x50]
push ecx
call fcn.00591984
add esp, 0xc
push 0x5b0684
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 4]
push eax
call fcn.0059193d
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4035bc
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x1c64
mov edx, dword [ebp - 0x54]
add edx, 0xec
push edx
call fcn.005917f0
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00591625
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0059146f
mov esp, ebp
pop ebp
ret

Function at 0x4035d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x6d74f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x54], ecx
mov ecx, 0x6e6cc8
call fcn.004073d0
mov ecx, eax
call fcn.00407770
mov word [ebp - 8], ax
movzx eax, word [ebp - 8]
push eax
push str.._data_aiconfig__d.dat
lea ecx, [ebp - 0x50]
push ecx
call fcn.00591984
add esp, 0xc
push 0x1c64
push 0
mov edx, dword [ebp - 0x54]
add edx, 0xec
push edx
call fcn.005912a0
add esp, 0xc
push 0x5b06b8
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0059193d
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4036b4
mov edx, dword [ebp - 4]
push edx
push 1
push 0x1c64
mov eax, dword [ebp - 0x54]
add eax, 0xec
push eax
call fcn.00591c70
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00591625
add esp, 4
call fcn.004012e0
mov edx, dword [eax + 0x228]
imul edx, edx, 0x64
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], 0
fild qword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
fstp dword [eax + 0xe0]
call fcn.004012e0
mov ecx, dword [eax + 0x22c]
imul ecx, ecx, 0x64
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
fild qword [ebp - 0x64]
mov edx, dword [ebp - 0x54]
fstp dword [edx + 0xe8]
jmp 0x4036bc
mov ecx, dword [ebp - 0x54]
call fcn.004036d0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0059146f
mov esp, ebp
pop ebp
ret
Function at 0x410840
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
sub esp, 0x35c
mov eax, dword [0x6d74f0]
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 0x410876
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x5b0994]
mov dword [eax], ecx
mov cl, byte [0x5b0998]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x5b0938
push edx
mov byte [eax + 8], cl
call fcn.00591926
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4108d5
push eax
call fcn.00591625
add esp, 4
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.0059146f
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 0x4108f4
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x5b0984]
mov dword [eax], ecx
mov ecx, dword [0x5b0988]
mov dword [eax + 4], edx
mov edx, dword [0x5b098c]
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.00592bd1
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.00592bd1
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410934
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 0x4109b0
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.00592bd1
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.00592bd1
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4109e0
push ebx
call fcn.00591625
mov ecx, dword [esp + 0x36c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0059146f
add esp, 0x35c
ret
Function at 0x410a70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x6c79b0
call fcn.0042ad40
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x6d8c54], 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 [0x708f94]
xor edx, edx
mov eax, esi
div dword [0x708520]
mov eax, dword [0x708524]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x410acd
cmp dword [edx], esi
je 0x410b11
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x410ac2
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 0x6d8c58
push 0x6d8e70
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x6d8c40], esi
test esi, esi
jne 0x410b2d
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x410acd
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 0x410ae2
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, 0x5dc140
call fcn.00412340
cmp dword [0x6cacf0], 0
push 0
mov ecx, 0x5dc140
push 0
jne 0x410b7e
push 1
call fcn.00412190
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.00412190
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x411320
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 0x4103d0
push 0xd
call edi
mov dword [0x6d9174], eax
mov eax, dword [esp + 0x30]
mov dword [0x6d8c38], 0
mov ecx, str.gvkc9jw0ot0Ut
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411373
test dl, dl
je 0x41136f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411373
add eax, 2
add ecx, 2
test dl, dl
jne 0x411353
xor eax, eax
jmp 0x411378
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
je 0x41139a
push str.Error__
push 0x5b0ac4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
push esi
push 0x4103d0
push 0xd
call edi
push str.._Log_Debug.txt
mov dword [0x6d9174], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x5b0ab0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str._______________________________________________________
push 0x6d3f00
call fcn.0052fa20
push str._____________________Client_Start______________________
push 0x6d3f00
call fcn.0052fa20
push str._______________________________________________________
push 0x6d3f00
call fcn.0052fa20
add esp, 0x18
call fcn.00410630
mov ecx, 0x6eefa8
call fcn.00541cf0
push 0x7083f2
push 0x6d8c58
call fcn.00591984
push 0x7083f2
push 0x6d8e70
call fcn.00591984
push esi
call fcn.004112b0
add esp, 0x14
mov ecx, 0x6eefa8
call fcn.0053bc60
push str.._Resource_QuestScript_QuestString.bin
mov ecx, 0x6ecff8
call fcn.004f9500
push str.._Resource_QuestScript_QuestScript.bin
mov ecx, 0x6ecff8
call fcn.004fa070
push str.._Resource_QuestScript_NewbieGuide.bin
mov ecx, 0x6ecff8
call fcn.004f81a0
push str.._Resource_QuestScript_QuestNpcList.bin
mov ecx, 0x6ecff8
call fcn.004f96a0
mov ecx, 0x6e66d0
call fcn.00439640
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.00410a70
add esp, 8
test eax, eax
jne 0x4114ad
mov eax, dword [0x6d917c]
test eax, eax
je 0x4114a3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6d917c], 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 0x4114e3
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebp
jmp 0x4114c0
mov ecx, 0x5dc140
call fcn.004126c0
cmp eax, 0xffffffff
jne 0x4114c0
mov eax, dword [0x6d917c]
pop ebp
test eax, eax
je 0x41150d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6d917c], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret 0x10
Function at 0x425140
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x130
mov eax, dword [0x6d74f0]
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 0x4252f2
cmp byte [esi], bl
je 0x4252f2
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 0x4252f2
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 0x4251c4
mov dword [esp + 0xc], 0x64
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x10], ebx
jbe 0x4252e0
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.004255c0
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 0x4252b9
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 0x42525f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4252b9
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42527c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4252b9
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 0x4252d7
mov esi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x4251e0
mov edx, dword [esp + 0x18]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x4252f4
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 0x4252f4
xor eax, eax
mov ecx, dword [esp + 0x134]
pop esi
pop ebx
xor ecx, esp
call fcn.0059146f
add esp, 0x130
ret 4
Function at 0x425310
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 0x425352
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.004255c0
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.00593a57
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, edi
jne 0x425385
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 0x4253c0
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.004255c0
push esi
call fcn.00593a1d
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 0x4253fb
cmp eax, 8
ja 0x4253fb
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.00591f60
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, ebp
call fcn.00425140
test al, 4
jne 0x425401
mov esi, dword [esi]
test esi, esi
jne 0x4253c5
mov edx, dword [esp + 0x14]
push edx
call fcn.00593a1d
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 8
ret 4
Function at 0x47ba80
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 0x47baa0
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, 0x6e78d8
call fcn.004b2500
mov esi, eax
test esi, esi
je 0x47babf
mov ax, word [edi + 6]
mov word [esi + 0x28e], ax
jmp 0x47baed
push str.CItemShopGridDialog::AddItem
push edi
mov ecx, 0x6e78d8
call fcn.004b5680
mov esi, eax
test esi, esi
jne 0x47badb
pop esi
pop edi
pop ebx
ret 4
push esi
mov ecx, 0x6e78d8
mov dword [esi + 0x24], 1
call fcn.004becf0
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.00433c30
pop esi
pop edi
pop ebx
ret 4

Function at 0x4962f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x496333
mov eax, dword [0x6e7b88]
add eax, 0x1d4c0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0044f040
push str.ANRaster.tga
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0044f070
jmp 0x49634c
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0044f040
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.0042f150
mov esp, ebp
pop ebp
ret 4

Function at 0x496360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x4963a8
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
add eax, dword [0x6e7b88]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0044f040
push str.ANRaster.tga
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0044f070
jmp 0x4963c1
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0044f040
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.0042f150
mov esp, ebp
pop ebp
ret 8
Function at 0x4ba150
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x6d74f0]
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 0x4ba17f
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4ba25b
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4ba1b5
test eax, eax
je 0x4ba1b2
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4ba1a6
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ba25a
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4ba24b
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push 0x5b093c
push eax
call fcn.00591984
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.004b5480
test eax, eax
je 0x4ba23c
mov ecx, 0x6d4a00
call fcn.00535160
push 0x230
mov ecx, 0x6e87f0
call fcn.004daab0
push eax
push 1
push 0x179e
push 0x6c8410
call fcn.0044a450
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4ba1e1
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.0059146f
add esp, 0x1ac
ret
Function at 0x4cc2a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x6ca551], 0
push esi
mov esi, ecx
je 0x4cc2c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x6e7b8c], eax
mov byte [0x6ca551], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x6e7b8c], eax
cmp eax, ecx
jae 0x4cc2da
dec edx
mov dword [0x6e7b84], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x6e7b84]
add dword [0x6e7b88], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4cc304
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret