joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465910
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1008
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51e710]
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
test ecx, ecx
je 0x465b02
cmp word [ecx], 0
je 0x465b02
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0045ec20
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00466460
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x465af4
cmp eax, ecx
jg 0x465af4
xor ebx, ebx
mov dword [ebp - 0x1c], 0
cmp word [edx + eax*2], 0x5c
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
setne bl
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x5c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00465400
mov edi, dword [ebp - 0x20]
add esp, 4
sub edi, dword [ebp - 0x24]
sar edi, 2
mov dword [ebp - 0x28], edi
cmp ebx, 1
jne 0x4659dc
dec edi
mov dword [ebp - 0x28], edi
call fcn.00473e96
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4659f8
push 0x80004005
call fcn.0045f320
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov byte [ebp - 4], 2
test edi, edi
jle 0x465aa2
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
mov eax, dword [eax + ebx*4]
push dword [eax - 0xc]
push eax
call fcn.0045edf0
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x465a3f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jmp 0x465a4a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x465afe
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2c], eax
lea edi, [eax + 1]
test edi, edi
js 0x465af4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x465a7e
push edi
lea ecx, [ebp - 0x18]
call fcn.0045f070
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, 0x5c
mov word [esi + eax*2], cx
cmp edi, dword [esi - 8]
jg 0x465af4
xor eax, eax
mov dword [esi - 0xc], edi
inc ebx
mov word [esi + edi*2], ax
cmp ebx, dword [ebp - 0x28]
jl 0x465a13
mov ebx, 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x465ac7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.004667d0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x465af0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x465b04
push 0x80070057
call fcn.0045f320
xor ebx, ebx
jmp 0x465aa7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487e85
mov esp, ebp
pop ebp
ret
Function at 0x467140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d12aa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x51e710]
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.004a5fb0
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 0x4671e6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00489c8a
push 0x51b0a4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0048a653
push edi
push esi
call fcn.004a5e83
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.00487e85
mov esp, ebp
pop ebp
ret 4
Function at 0x470c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1e4e
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x51e710]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov eax, dword [0x51e710]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00475f47
lea ecx, [esp + 0xc]
push ecx
push 0x511e10
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0x511e20
push eax
call fcn.00476b52
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 8
push eax
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.004754e3
push 0x511e3c
mov ecx, edi
call fcn.0047bf8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x470cc8
push str.ChangeWindowMessageFilter
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x470cc1
push 1
push 0x4a
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xb0
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0048a180
add esp, 8
lea ecx, [esp + 0x40]
call fcn.00470eb0
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x3c]
push dword [edi + 0x48]
call fcn.00471040
test eax, eax
je 0x470d3c
lea eax, [esp + 0x3c]
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.0047c694
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x470d3c
push str.ChangeWindowMessageFilter
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x470d35
push 2
push 0x4a
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x100], 2
or esi, 0xffffffff
mov edx, dword [esp + 0xe0]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x470d6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 1
mov edx, dword [esp + 0xd4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x470d90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x100], 0xffffffff
call fcn.0047c1e5
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00487e85
mov esp, ebp
pop ebp
ret

Function at 0x471860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0047c381
Function at 0x4725f9
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4d1fa2
call fcn.0048a6e8
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004726da
and dword [ebp - 4], 0
mov dword [ebx], vtable.CHttpConnection.0
call fcn.00473e96
push eax
lea ecx, [ebx + 0x18]
call fcn.0045f2a0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.0045eec0
push dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x47266f
push eax
push dword [ebx + 8]
call fcn.00472d28
push dword [ebx + 0xc]
mov ecx, 0x5ec4d4
push eax
call fcn.00473715
mov eax, ebx
call fcn.0048a6b6
ret 0x18

Function at 0x4727e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x472809
call fcn.00475f47
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x472836
push esi
push eax
mov ecx, 0x5ec4d4
call fcn.00473715
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.00472d28
int3

Function at 0x477c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x477c55
call fcn.00475f47
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x477c55
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x477c71
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00471bc9
mov ebx, eax
test edi, edi
je 0x477c6f
test esi, esi
je 0x477c6f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49bfdd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51e710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048f904
mov dword [ebp - 0x14], eax
cmp dword [0x5ef3ec], esi
jne 0x49c0d0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49c05d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49c1b0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49c1b0
push 0x4daa44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49c1b0
push eax
call ebx
push 0x4daa50
push edi
mov dword [0x5ef3ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4daa60
push edi
mov dword [0x5ef3f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4daa74
push edi
mov dword [0x5ef3f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5ef3fc], eax
test eax, eax
je 0x49c0cd
push 0x4daa90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5ef3f8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49c0f5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49c0e8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49c10a
push 4
pop eax
jmp 0x49c1b2
cmp dword [ebp - 0x14], esi
je 0x49c10a
push dword [0x5ef3ec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49c0ef
mov eax, dword [0x5ef3f8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49c168
cmp dword [0x5ef3fc], edi
je 0x49c168
push eax
call ebx
push dword [0x5ef3fc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49c168
test eax, eax
je 0x49c168
call ecx
test eax, eax
je 0x49c15d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49c15d
test byte [ebp - 8], 1
jne 0x49c168
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49c198
mov eax, dword [0x5ef3f0]
cmp eax, edi
je 0x49c195
push eax
call ebx
test eax, eax
je 0x49c195
call eax
mov esi, eax
test esi, esi
je 0x49c195
mov eax, dword [0x5ef3f4]
cmp eax, edi
je 0x49c195
push eax
call ebx
test eax, eax
je 0x49c195
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5ef3ec]
call ebx
test eax, eax
je 0x49c1b0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49c1b2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487e85
mov esp, ebp
pop ebp
ret
Function at 0x4a6e90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
call fcn.004a7da0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a6ebf
call fcn.004a70c0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.004cc645
call fcn.004a6e50
call fcn.004a6e70
mov dword [0x5ef650], 0
pop esi
add esp, 4
cmp ebp, esp
call fcn.004cc645
mov esp, ebp
pop ebp
ret
Function at 0x4aaa80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d35fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov dword [ebp - 0x18], 0xcccccccc
mov dword [ebp - 0x14], 0xcccccccc
mov dword [ebp - 0x10], 0xcccccccc
mov eax, dword [0x51e710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.004ade30
mov dword [ebp - 4], 0
push 0x4e22d8
push 0x4e22ec
push str.OPM_Library_Build_Time.__s__s
lea eax, [ebp - 0x14]
push eax
call fcn.004a6ef0
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0045f220
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.004cc645
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004a6ad0
push edx
mov ecx, ebp
push eax
lea edx, [0x4aab38]
call fcn.004cc5ed
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004cc645
mov esp, ebp
pop ebp
ret

Function at 0x4ad890
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d38c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov dword [ebp - 0x18], 0xcccccccc
mov dword [ebp - 0x14], 0xcccccccc
mov dword [ebp - 0x10], 0xcccccccc
mov eax, dword [0x51e710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.004ade30
mov dword [ebp - 4], 0
push str.21:16:32
push str.Feb_18_2016
push str.COPP_Library_Build_Time.__s__s
lea eax, [ebp - 0x14]
push eax
call fcn.004ae100
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0045f220
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.004cc645
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004adf80
push edx
mov ecx, ebp
push eax
lea edx, [0x4ad948]
call fcn.004cc5ed
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004cc645
mov esp, ebp
pop ebp
ret
Function at 0x4b7e20
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push ecx
lea edi, [ebp - 0x54]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x4b7ed4
cmp dword [ebp + 0xc], 0
je 0x4b7ed4
cmp dword [ebp - 8], 0
jbe 0x4b7ed4
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047228e
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x4b7eaa
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jae 0x4b7ec8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movsx cx, byte [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
jmp 0x4b7ea1
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov esi, esp
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.004be3e0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.0045f220
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp esi, esp
call fcn.004cc645
lea ecx, [ebp - 0x40]
call fcn.004adf80
mov eax, dword [ebp - 0x18]
push eax
call fcn.0047228e
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x38], ecx
mov esi, esp
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004be3e0
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.0045f220
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp esi, esp
call fcn.004cc645
lea ecx, [ebp - 0x48]
call fcn.004adf80
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
push eax
push 0x3f
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048a180
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00472297
add esp, 4
push edx
mov ecx, ebp
push eax
lea edx, [0x4b7fe0]
call fcn.004cc5ed
pop eax
pop edx
pop edi
pop esi
add esp, 0x54
cmp ebp, esp
call fcn.004cc645
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c7aa0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x10325476
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0xc3d2e1f0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x14], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x14], 0
pop ebp
ret
Function at 0x10003ea0
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], al
cmp eax, ebx
je 0x10003eff
add eax, esi
cmp dword [eax], ebx
je 0x10003eff
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10003efa
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10003ee4
invalid
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10003eec
cmp edx, ebx
jne 0x1000403a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10003ebb
add eax, dword [eax + 4]
jmp 0x10003ea8
mov dword [ebp + 0xc], ebx
jmp 0x10003f0a
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10003f22
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10003f40
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 0x10003f9e
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 0x10003f85
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10003f8e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10003f98
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10003f7a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10003f04
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 0x10003feb
dec eax
je 0x10003fe2
sub eax, 3
je 0x10003fd9
mov dword [ebp - 4], 0x40
jmp 0x10004008
mov dword [ebp - 4], 4
jmp 0x10003fee
mov dword [ebp - 4], 0x20
jmp 0x10003fee
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 0x1000403a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10003fba
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000384b
inc esi
into
jo 0x1000403f
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x10004046
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10004cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x72a5b], al
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
invalid
test ecx, ebx
Function at 0x10004cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.1000384b
ljmp 0xd485
Function at 0x10010c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100154ec
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1001c018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esi + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x10014613
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c018]
jne 0x1001461d
repz ret
jmp fcn.10014b70