joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8f05
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c901d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c901d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0051ae40
mov esi, eax
test esi, esi
je 0x4c901d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4c901d
mov ecx, esi
call fcn.004c8e90
cmp edi, eax
jge 0x4c901d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4c8fa3
mov dword [esp + 0x34], 1
jmp 0x4c8ffe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4c901d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004c8490
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4cd450
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x1409a74]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1409a04]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4cd463
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4cd4a4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1409aac]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4cd4d6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4cd4da
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4cd4cb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4cd4f8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4cd4fc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4cd4ed
xor ecx, ecx
mov eax, 0x1409a14
xor ebx, ebx
mov bl, byte [ecx + 0x1409abc]
cmp byte [esp + ebx + 0x14], 0
je 0x4cd527
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1409ad4]
cmp byte [esp + ebx + 0x14], 0
je 0x4cd53e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x1409a74
jl 0x4cd50e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4cd497
lea edx, [esp + 0x84]
push edx
call fcn.004cd580
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4d7960
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004ddd70
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4d7a59
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.00458790
test eax, eax
jne 0x4d7a59
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.00458790
test eax, eax
jne 0x4d7a59
lea edx, [esp + 0x10]
push 0x140ca68
push edx
call fcn.005059a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d7a2a
lea eax, [esp + 0x10]
push 0x140ca64
push eax
call fcn.005059a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d7a2a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4d7a2d
mov byte [esi], 0
push 0x140c22c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4ddcb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x528e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4ddd60
mov eax, dword [0x1413350]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.005197bc
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0051980b
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00519768
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4ddd47
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4ddd47
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.005193d8
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4e0e60
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x529300
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e1007
mov ecx, dword [0x1413350]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4e0f5c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004dfb80
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005194c5
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005193d8
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x140c22c
call fcn.00519446
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004dff40
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.005194c5
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.005193d8
lea ecx, [esp + 0xc]
call fcn.005198a0
mov ecx, dword [esp + 0xc]
push 0x140cc6c
push ecx
call fcn.00504834
add esp, 8
test eax, eax
je 0x4e0f84
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4e0ebd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.005193d8
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005193d8
jmp 0x4e100b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004e0c00
test eax, eax
push 0
je 0x4e0fef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004df2a0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4e0fd5
cmp eax, 0x64
jg 0x4e0fc3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4e0f60
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4e0f60
cmp eax, 0x64
jge 0x4e0f5c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4e0f60
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004df2a0
mov esi, eax
jmp 0x4e0f60
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4e1015
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4ea010
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4ea076
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4ea076
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4ea057
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4ea400
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4ea438
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4eb0b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4eb0f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4eb570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5296b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004eb120
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004eb1a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004eb1a0
lea ecx, [esi + 0xc]
call fcn.00519363
lea ecx, [esi + 0x10]
call fcn.00519363
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004ec730
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004ec730
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004ec730
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005193d8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005193d8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ef770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1460808]
xor edx, edx
cmp eax, edx
jne 0x4ef796
xor eax, eax
mov byte [eax + 0x1460708], al
inc eax
cmp eax, 0x100
jl 0x4ef77e
mov dword [0x1460808], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1460708
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ef827
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4ef7fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ef7c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ef8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ef8f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ef8da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f62a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x529aae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004f6bc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x13aae24
call fcn.00519119
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4f6333
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00519119
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4f632c
push 0
mov ecx, eax
call fcn.004ed3a0
mov dword [esi + 0xc], eax
jmp 0x4f6335
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f6335
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x50695b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x50697b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00505daa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x50699e
test byte [esp + 8], 2
je 0x50699e
call fcn.00505e1d
mov dword [eax], 0xd
call fcn.00505e26
mov dword [eax], 5
jmp 0x506977
xor eax, eax
ret

Function at 0x51b7e3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51b81b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00519833
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0051980b
jmp 0x51b827
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51ced1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51cf13
call fcn.00522f1d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51cf13
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51cf0a
xor eax, eax
jmp 0x51cf1b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051cf21
pop edi
pop esi
pop ebx
ret 4

Function at 0x52344d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x52347b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x523499
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005233b3
jmp 0x523499
mov eax, dword [esi + 0x14]
test eax, eax
je 0x523499
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005233b3
test edi, edi
mov eax, edi
jne 0x523483
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40e84b
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x41a310
call fcn.0040f44c
push 1
call fcn.0040ea1e
pop ecx
test al, al
jne 0x40e6f4
push 7
call fcn.0040f217
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040e9e9
mov byte [ebp - 0x24], al
mov eax, dword [0x41c460]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40e6ed
test eax, eax
jne 0x40e75e
mov dword [0x41c460], ecx
push 0x411378
push 0x411360
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40e741
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e845
push 0x41135c
push 0x411344
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x41c460], 2
jmp 0x40e763
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040eb7b
pop ecx
call fcn.0040f20b
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40e793
push esi
call fcn.0040eaee
pop ecx
test al, al
je 0x40e793
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0040f446
call esi
call fcn.0040f211
mov esi, eax
cmp dword [esi], edi
je 0x40e7b1
push esi
call fcn.0040eaee
pop ecx
test al, al
je 0x40e7b1
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0040f32c
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0040f35f
test al, al
jne 0x40e7ea
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40e7f3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040eb98
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40e845
call fcn.0040f492
ret
call fcn.0040e565
jmp 0x40e6d5

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 0x4046a3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d003
call sub.msvcrt.dll__EH_prolog
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040e65b
lea eax, [ebp - 0xa4]
push eax
call fcn.00403f45
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x63d15c]
push eax
call dword [0x63d0f4]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040e85b
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x404735
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x404869
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x63d158]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x404860
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x3c]
push 0x423394
push dword [ebp - 0x24]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x404859
cmp esi, ebx
je 0x4047ad
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x4047fd
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040e68f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040e68f
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x40488f
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f82e
pop ecx
cmp eax, 0xc8
jne 0x4047da
cmp esi, ebx
je 0x404859
jmp 0x404854
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x63d080]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x404859
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0040f87f
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x404835
cmp dword [ebp - 0x10], ebx
ja 0x404817
push edi
call dword [0x63d054]
push dword [ebp - 0x24]
call dword [0x63d054]
push dword [ebp - 0x18]
call dword [0x63d054]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040e68f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040e68f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4053f7
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d211
call sub.msvcrt.dll__EH_prolog
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040e65b
lea eax, [ebp - 0xb4]
push eax
call fcn.00403f45
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x42336e
lea ecx, [ebp - 0x30]
call fcn.0040e624
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040e85b
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x40547e
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4055c2
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x63d158]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4055b9
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x4c]
push 0x42349c
push dword [ebp - 0x1c]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x4055b0
cmp esi, ebx
je 0x4054f6
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x405535
mov ecx, dword [ebp + 8]
push 0x4234a0
call fcn.0040e624
jmp 0x4055ce
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040f82e
pop ecx
cmp eax, 0xc8
jne 0x40560a
cmp esi, ebx
je 0x4055a9
mov esi, 0x7cf
jmp 0x405592
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4055a9
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e79d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040e6e2
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040e68f
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x63d080]
cmp eax, ebx
jne 0x405558
push edi
call dword [0x63d054]
push dword [ebp - 0x1c]
call dword [0x63d054]
push dword [ebp - 0x10]
call dword [0x63d054]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040e65b
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040e68f
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040e68f
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040e68f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x4234a8
call fcn.0040e624
jmp 0x4055ce