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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0045f826
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0045ecce
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x45ecb8
test ebx, ebx
jl 0x45ec5c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd14fd2
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45ec7d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x45ec6f
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0046063e
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0046063e
add esp, 8
mov ebx, 0x80070057
jmp 0x45ec5c
Function at 0x475b6e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.00476826
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.00475cce
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x475cb8
test ebx, ebx
jl 0x475c5c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd2bfd2
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x475c7d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x475c6f
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0047763e
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0047763e
add esp, 8
mov ebx, 0x80070057
jmp 0x475c5c
Function at 0x48d51e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0048e1d6
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0048d67e
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x48d668
test ebx, ebx
jl 0x48d60c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd43982
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48d62d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x48d61f
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0048efee
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0048efee
add esp, 8
mov ebx, 0x80070057
jmp 0x48d60c
Function at 0x4a45de
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a5296
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a473e
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a4728
test ebx, ebx
jl 0x4a46cc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd5aa42
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a46ed
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a46df
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a60ae
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a60ae
add esp, 8
mov ebx, 0x80070057
jmp 0x4a46cc
Function at 0x4ba5b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23d0
cmp edx, dword [eax]
je 0x4ba5d3
add eax, 8
inc ecx
cmp eax, 0x4c2460
jl 0x4ba5c4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23d0]
jne 0x4ba701
mov eax, dword [0x4c6d5c]
cmp eax, 1
je 0x4ba6db
test eax, eax
jne 0x4ba604
cmp dword [0x4c22fc], 1
je 0x4ba6db
cmp edx, 0xfc
je 0x4ba701
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba63b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004baf90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb420
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba67e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb420
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf9d4
push edi
call fcn.004bd2f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004baf90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bafa0
lea eax, [ebp - 0xa0]
push 0x4bf9b4
push eax
call fcn.004bafa0
push dword [esi + 0x4c23d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bafa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd264
add esp, 0x2c
pop edi
jmp 0x4ba701
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23d4]
push 0
push eax
push dword [esi]
call fcn.004bb420
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x13001bd0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1302f065
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x13043610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x13001c1b
mov eax, 1
jmp 0x13001d70
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0xffffffff
jne 0x13001c46
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x13001d70
mov ecx, 2
mov word [ebp - 0x20], cx
movzx edx, word [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1b8], 0x3e8
push 4
lea ecx, [ebp - 0x1b8]
push ecx
push 0x1006
push 0xffff
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1b4]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x13001cc7
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x13001d70
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x13001d58
cmp dword [0x13043110], 0
je 0x13001d58
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.13001d90
add esp, 4
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x1c8]
call fcn.13002cd0
push eax
push 0
lea ecx, [ebp - 0x1c8]
call fcn.13002790
push eax
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1b4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.130025d0
mov eax, dword [ebp - 0x1bc]
jmp 0x13001d70
mov ecx, dword [ebp - 0x1b4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.130133df
mov esp, ebp
pop ebp
ret
Function at 0x13002da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1302f2ed
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x13043610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
or ebx, 0xffffffff
mov esi, dword [ebp + 0x18]
xor edx, edx
test esi, esi
je 0x13002e02
mov edi, dword [ebp + 0x1c]
nop dword [eax + eax]
cmp edi, 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
movzx ecx, byte [eax + edx*2]
inc edx
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x13043118]
cmp edx, esi
jb 0x13002de0
not ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.13002960
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x13003980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x13043610]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.JuZs__Xynq]
xor eax, eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x70], 0
movaps xmm0, xmmword [0x13033260]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0x67006c
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x720075
mov dword [ebp - 0x40], 0x72006a
mov dword [ebp - 0x3c], 0x3a003a
mov dword [ebp - 0x38], 0xa0009
mov dword [ebp - 0x34], 0xc000b
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0x10000f
mov dword [ebp - 0x28], 0x120011
mov dword [ebp - 0x24], 0x140013
mov dword [ebp - 0x20], 0x160015
mov dword [ebp - 0x1c], 0x180017
mov dword [ebp - 0x18], 0x1a0019
mov dword [ebp - 0x14], 0x1c001b
mov dword [ebp - 0x10], 0x1e001d
mov dword [ebp - 0xc], 0x20001f
mov word [ebp - 8], ax
mov byte [ebp - 0x4c], al
movups xmmword [0x13044830], xmm0
movups xmmword [0x13044840], xmm0
mov cl, byte [ebp + eax - 0x6c]
sub cl, al
dec cl
mov byte [eax + 0x13044830], cl
inc eax
cmp eax, 0x20
jb 0x13003a37
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [0x130447e0], xmm0
movups xmmword [0x130447f0], xmm0
nop
mov ax, word [ebp + ecx*2 - 0x48]
sub ax, cx
dec ax
mov word [ecx*2 + 0x130447e0], ax
inc ecx
cmp ecx, 0x20
jb 0x13003a60
push 0x13044830
push 0x130447e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x13044820], eax
test eax, eax
je 0x13003aa9
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x13044820]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x70]
xor ecx, ebp
call fcn.130133df
mov esp, ebp
pop ebp
ret

Function at 0x13005230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1302f82f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x13043610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.130122d0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x130052e1
push eax
push esi
call fcn.130125dd
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.13012283
int3
Function at 0x1300b290
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x130303f2
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x13043610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.1300a760
lea ecx, [ebp - 0x7c]
call fcn.1300a820
push esi
lea ecx, [ebp - 0x7c]
call fcn.1300a910
mov dword [ebp - 0x80], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.13005c30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.130133df
mov esp, ebp
pop ebp
ret

Function at 0x1300b9b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1300b9fe
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x40
push eax
push 0x40
push 1
push esi
mov dword [0x13044864], 1
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1300b9f4
mov al, byte [ebp + 0xc]
mov byte [esi], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x13044864], 0
pop esi
pop ebp
ret

Function at 0x1300ba10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1300ba5e
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x40
push eax
push 0x40
push 4
push esi
mov dword [0x13044864], 1
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1300ba54
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x13044864], 0
pop esi
pop ebp
ret
Function at 0x1300bb10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x13043610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1300bb9c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub eax, esi
push edi
mov edi, dword [ebp + 0x10]
sub eax, 5
mov dword [ebp - 0xb], eax
add edi, 5
lea eax, [ebp - 0x10]
mov byte [ebp - 0xc], 0xe9
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x10], 0
mov dword [0x13044864], 1
call ebx
test eax, eax
je 0x1300bb90
xor eax, eax
test edi, edi
je 0x1300bb85
nop word [eax + eax]
cmp eax, 5
jae 0x1300bb7b
mov cl, byte [ebp + eax - 0xc]
jmp 0x1300bb7d
mov cl, 0x90
mov byte [esi + eax], cl
inc eax
cmp eax, edi
jb 0x1300bb70
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push esi
call ebx
pop edi
mov dword [0x13044864], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.130133df
mov esp, ebp
pop ebp
ret
Function at 0x1300bd40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x13043610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1300bef2
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x1300bedf
push 0x40
push 0x1000
push 0x20
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1300bedf
test esi, esi
je 0x1300bdc1
mov ecx, edi
sub ebx, edi
mov edx, esi
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1300bdb0
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx]
cmp al, 0xe8
je 0x1300be63
cmp al, 0xe9
je 0x1300be63
cmp al, 0x8d
je 0x1300bead
cmp al, 0x6a
jne 0x1300be1e
cmp esi, 7
jae 0x1300bead
mov byte [edi], al
mov esi, 7
movzx eax, byte [ebx + 1]
mov byte [edi + 1], al
movzx eax, byte [ebx + 2]
mov byte [edi + 2], al
movzx eax, byte [ebx + 3]
mov byte [edi + 3], al
movzx eax, byte [ebx + 4]
mov byte [edi + 4], al
movzx eax, byte [ebx + 5]
mov byte [edi + 5], al
movzx eax, byte [ebx + 6]
mov byte [edi + 6], al
jmp 0x1300bead
cmp al, 0xff
jne 0x1300bead
mov al, byte [ebx + 1]
cmp al, 0x15
je 0x1300be31
cmp al, 0x25
jne 0x1300bead
mov eax, 6
cmp esi, eax
cmovae eax, esi
mov esi, eax
test esi, esi
je 0x1300bead
mov dword [ebp - 0x10], ebx
mov ecx, edi
sub ebx, edi
mov edx, esi
nop word [eax + eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1300be50
mov ebx, dword [ebp - 0x14]
jmp 0x1300bead
xor edx, edx
test esi, esi
je 0x1300be9b
mov eax, edi
mov ecx, ebx
sub eax, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
sub eax, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov edi, eax
nop
mov al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, 5
jae 0x1300be8f
mov al, byte [ecx]
mov byte [edi + ecx], al
inc edx
inc ecx
cmp edx, esi
jb 0x1300be80
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
sub eax, edi
add dword [ebp - 0xb], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov al, byte [ebp - 8]
mov byte [edi + 4], al
push 0
lea eax, [esi + ebx]
push eax
lea eax, [esi + edi]
push eax
call fcn.1300bb10
lea ecx, [esi - 5]
push ecx
push dword [ebp - 0x1c]
push ebx
call fcn.1300bb10
add esp, 0x18
mov eax, edi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.130133df
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.130133df
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.130133df
mov esp, ebp
pop ebp
ret