joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4182b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c7f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4748f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CPlustimeMgr.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x190
mov byte [ebp - 4], 1
call fcn.00429a20
mov esi, eax
add esp, 4
test esi, esi
je 0x41836d
mov dword [esi], vtable.CMemoryPoolTempl_struct_stPlusTime_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x41836f
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [edi + 4], esi
push str.stPlusTimePool
push eax
call fcn.0042ca30
lea eax, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [eax], 0
jne 0x4183a8
push 0x32
push eax
call fcn.004185f0
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
push 0x32
lea ecx, [edi + 8]
call fcn.00425d80
push 0x32
lea ecx, [edi + 0x2c]
call fcn.00425d80
mov dword [edi + 0x54], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4226a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4226ce
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4226c7
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push str.._Log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 0x10]
call fcn.0042cb60
movzx esi, ax
push esi
push str.AgentServer__d
push 0x48b5b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x48b5b0
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x48b5ac], eax
test eax, eax
je 0x422730
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x422730
push dword [0x48b5ac]
jmp 0x422791
call fcn.00422590
test eax, eax
je 0x4227a1
push 0x4e52
call fcn.00429a20
add esp, 4
test eax, eax
je 0x422753
mov ecx, eax
call fcn.004227b0
jmp 0x422755
xor eax, eax
push esi
mov ecx, eax
mov dword [0x48b600], eax
call fcn.00423b00
mov ecx, dword [0x48b600]
call fcn.00422c40
mov ecx, dword [0x48b600]
test ecx, ecx
je 0x42277d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x48b5ac]
mov dword [0x48b600], 0
test eax, eax
je 0x4227a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x48b5ac], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x424f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c7f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4748f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
mov dword [edi], vtable.CSkillDelayManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x1f4
mov byte [ebp - 4], 1
call fcn.00425d80
push 0x190
call fcn.00429a20
mov esi, eax
add esp, 4
test esi, esi
je 0x425039
mov dword [esi], vtable.CMemoryPoolTempl_struct_SKILLUSE_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x42503b
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [edi + 4], esi
push str.SKILLUSE
push eax
call fcn.0042ca30
lea eax, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [eax], 0
jne 0x425077
push 0x1f4
push eax
call fcn.004254a0
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
push 0xa
lea ecx, [edi + 0x2c]
call fcn.00425d80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414c30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x414c52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414c59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414c48
mov eax, 1
add ebx, ebx
jne 0x414c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414c60
jne 0x414c7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414c60
xor ecx, ecx
sub eax, 3
jb 0x414c90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414d02
mov ebp, eax
add ebx, ebx
jne 0x414c9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414ca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414ccc
inc ecx
add ebx, ebx
jne 0x414cb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414cad
jne 0x414cc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414cad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414cec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414cdd
jmp 0x414c4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414cec
add edi, ecx
jmp 0x414c4e
pop esi
mov edi, esi
mov ecx, 0x198
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414d0a
cmp byte [edi], 0xb
jne 0x414d0a
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 al, bl
loop 0x414d0f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414d7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x187d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414d3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1884c]
or eax, eax
je 0x414d78
mov dword [ebx], eax
add ebx, 4
jmp 0x414d59
call dword [esi + 0x18848]
mov ebp, dword [esi + 0x18850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414db2
sub esp, 0xffffff80
jmp 0x402530

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x450418
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4504e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x482b1c]
call fcn.00405da0
mov ecx, dword [ebp - 4]
mov dl, 4
mov eax, ebx
call fcn.004505d0
mov byte [ebx + 0x2a0], 0
mov si, word [ebx + 0x294]
cmp si, 0xffff
je 0x4504d0
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x4504c2
test byte [ebx + 0x20], 8
jne 0x45047f
cmp word [ebx + 0x42], 0
je 0x45047f
mov edx, ebx
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
cmp byte [ebx + 0x85], 0
jne 0x4504d0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4504a2
call fcn.00402dbc
mov word [ebx + 0x294], si
push 0x3f
push 0x465
mov eax, dword [ebx + 0x298]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x4504d0
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.004504f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4504ed
lea eax, [ebp - 4]
call fcn.00403af4
ret

Function at 0x4674ab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4824ee
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467503
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x48250f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4674f9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x467507
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x470050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x470058
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0046fd6a
adc eax, 0x8d4bc04b
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x47042c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x470441
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x47045f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4704bd
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4704a4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4704ad
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4704b7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x470499
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x470423
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x47050a
dec eax
je 0x470501
sub eax, 3
je 0x4704f8
mov dword [ebp - 4], 0x40
jmp 0x470527
mov dword [ebp - 4], 4
jmp 0x47050d
mov dword [ebp - 4], 0x20
jmp 0x47050d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x470559
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4704d9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0046fd6a
aam 0x98
cwde
pop esp
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x470565
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47be80
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00403f34
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47bebc
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp], cl
mov cl, byte [edx + 1]
mov byte [esp + 1], cl
mov cl, byte [edx + 2]
mov byte [esp + 2], cl
mov al, byte [edx + 3]
mov byte [esp + 3], al
push dword [esp]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, esi
call fcn.00403ca8
pop edx
pop esi
pop ebx
ret

Function at 0x47bed4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x38], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47c01d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x483928]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, 0x2000
call fcn.00402788
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47c000
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0x20
call fcn.00402aec
mov eax, dword [ebx + 0x304]
call fcn.00403f34
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
je 0x47bf6d
call fcn.00403608
jmp 0x47c007
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0x2000
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
push ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
jne 0x47bf9e
call fcn.00403608
jmp 0x47c007
test eax, eax
je 0x47bfa9
call fcn.00403608
jmp 0x47c007
mov esi, ebx
mov ebx, dword [ebp - 0xc]
dec ebx
test ebx, ebx
jl 0x47bf6d
inc ebx
lea eax, [ebp - 0x38]
mov edx, dword [esi + 0x14]
call fcn.00403ca8
mov edx, dword [ebp - 0x38]
mov eax, dword [0x483928]
mov ecx, dword [eax]
call dword [ecx + 0x34]
add esi, 0x20
dec ebx
jne 0x47bfb4
jmp 0x47bf6d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c024
lea eax, [ebp - 0x38]
call fcn.00403af4
ret
Function at 0x47e310
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e3bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.00403af4
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47e3a4
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x47e399
mov eax, dword [edi + ebx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, esi
call fcn.00408eb8
lea ecx, [ebp - 0x1d8]
mov edx, dword [esi]
mov eax, dword [ebp - 4]
call fcn.0047e3cc
cmp dword [ebp - 0x1d8], 0
jne 0x47e39f
inc ebx
cmp dword [edi + ebx*4], 0
jne 0x47e36e
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3c4
lea eax, [ebp - 0x1d8]
call fcn.00403af4
ret

Function at 0x47e3cc
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403f24
xor eax, eax
push ebp
push 0x47e44f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00403f34
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
push 2
push 4
lea eax, [ebp - 0x10]
push eax
call sub.wsock32.dll_gethostbyaddr
mov ebx, eax
test ebx, ebx
je 0x47e432
mov edx, esi
mov eax, dword [ebx]
call fcn.00408eb8
jmp 0x47e439
mov eax, esi
call fcn.00403af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e456
lea eax, [ebp - 4]
call fcn.00403af4
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
jmp section..htext
Function at 0x4057e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004db840
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x405833
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40588e
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x4058ae
xor ecx, ecx
jmp 0x4058c6
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4058b7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00404110
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d1376
mov esp, ebp
pop ebp
ret
Function at 0x405f40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b841
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x405fa3
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x406090
cmp dword [ebp - 0x12c], 2
jb 0x406090
push str.run_by_amdin
push 0x140
push str.CAppModel::runPlayer
call fcn.00435b50
add esp, 0xc
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
push 0x53719c
call fcn.00409130
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x405ffe
mov edx, dword [esi]
jmp 0x406000
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0042cfe0
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x40602d
push dword [ebp - 0x14c]
call fcn.004d1390
add esp, 4
cmp edi, 0xffffffff
jne 0x4060d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.run_by_amdin_error:__d
push 0x144
push str.CAppModel::runPlayer
call fcn.00435b50
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
call fcn.00409130
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.0043cf10
add esp, 0x10
cmp dword [ebp - 0x138], 8
jb 0x4060d5
push dword [ebp - 0x14c]
jmp 0x4060cd
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x164]
call fcn.00409130
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.0043cf10
add esp, 0x10
cmp dword [ebp - 0x150], 8
jb 0x4060d5
push dword [ebp - 0x164]
call fcn.004d1390
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d1376
mov esp, ebp
pop ebp
ret 4
Function at 0x40d030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c758
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call fcn.004d322b
push 0x551af8
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call fcn.004d31f9
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004d31d9
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call fcn.004d327c
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004d1376
mov esp, ebp
pop ebp
ret

Function at 0x40fd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cb1a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004d00cf
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40fe26
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004d2688
push 0x551b84
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004dad9d
push edi
push esi
call fcn.004cffa2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1376
mov esp, ebp
pop ebp
ret 4