joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467da5
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
pushfd
call fcn.00467cf0
mov cl, bh
mov esi, 0x63ded34f
jmp 0x467d88
mov ebp, dword [esp + 0x2c]
lea esi, [edi*4]
push cx
neg bh
jl 0x467dc9
jge 0x467dce
stosb byte es:[edi], al
cmp eax, 0xf547b4ad
mov word [edi], ds
xchg cx, ax
mov word [esp + 3], di
lea esp, [esp + 2]
mov dword [esp], esi
jmp 0x467d73
call 0x468171
lea esp, [esp + 2]
jmp 0x467e06
lea edi, [esp]
bsr ax, dx
jno 0x467e96
jo 0x467e80
or edx, dword [eax + reloc.mfc100u.dll_CDateTimeCtrl::GetRuntimeClass]
lea eax, reloc.mfc100u.dll_CDateTimeCtrl::GetRuntimeClass
mov si, ax
mov esi, dword [esp]
dec esi
jmp 0x467efe
mov si, ax
mov esi, dword [esp]
dec esi
jmp 0x467efe
setge al
lea ebx, [edx + ebp]
xchg cx, ax
jmp fcn.00467ee7
jmp 0x467eb9
sub esp, 0xc0
mov esi, esp
btc ax, sp
jae 0x467ecf
setge al
lea ebx, [edx + ebp]
xchg cx, ax
jmp fcn.00467ee7

Function at 0x467ff5
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc bx
rdtsc
inc bx
xchg dword [esp + 4], esi
mov dx, di
jmp 0x468010

Function at 0x54cf5e
Capabilities:
Execute anti-debugging instructions

Disassembly:
std
add esp, 2
add esp, 1
jmp 0x54cf33

Function at 0x54d176
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov esi, dword [esp + 3]
mov si, 0x89e9
pop word [esp + 0x17]
jmp 0x54d19d

Function at 0x54da0a
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
mov ebp, 0x7154ef05
cpuid
or dh, cl
bswap esi
rdtsc
jmp 0x54da30
add esp, 4
bswap esi
xchg dword [esp + 3], eax
xchg word [esp + 4], si
jmp 0x54d9f4
mov esi, dword [esp + 0xb]
mov al, byte [esp + 6]
mov dh, 0xc0
mov dword [esp + 3], edx
jmp 0x54da5f
mov cx, 0x9083
not ecx
xor si, dx
mov ch, 0x5b
push sp
mov ebp, 0x930c8d41
jmp 0x54da1a

Function at 0x55134e
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header

Disassembly:
call fcn.00551032
jmp 0x55141e
mov dword [esp + 8], edi
lea esp, [esp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x5513a5
push eax
jmp 0x55102d
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x551384
pop dword [esp]
lea esp, [esp + 2]
mov dword [esp + 8], esi
push dx
mov byte [esp], ah
push word [esp + 1]
jmp 0x551353
Function at 0x10006800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034758
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10048070]
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
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000692f
cmp byte [ebx + 0x3d], 0
je 0x1000692f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10006859
xor al, al
jmp 0x10006931
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10006310
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100068c7
sub eax, 1
je 0x100068cb
sub eax, 2
je 0x10006921
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.10002ab0
mov al, bl
jmp 0x10006931
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10006903
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1001aaae
add esp, 0x10
cmp esi, eax
jne 0x100068b9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x10006921
test esi, esi
jne 0x10006884
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.100063e0
jmp 0x1000687e
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.10002ab0
mov al, bl
jmp 0x10006931
mov al, 1
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.100131da
mov esp, ebp
pop ebp
ret

Function at 0x10006dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034526
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001376b
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10011ec0
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000bc30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10049b0c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100520c4]
cmp eax, dword [ecx + 4]
jle 0x1000bc88
push 0x100520c4
call fcn.10013306
add esp, 4
cmp dword [0x100520c4], 0xffffffff
jne 0x1000bc88
push 0x40
push 0x1000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x100520c4
mov dword [0x100520c0], eax
call fcn.100132c7
add esp, 4
mov edx, dword [0x100520c0]
push esi
lea esi, [edx + 0x1000]
cmp edx, esi
je 0x1000bcb3
nop dword [eax]
lea ecx, [edx + 0x1c]
call fcn.1000bc20
test eax, eax
je 0x1000bcb7
add edx, 0x20
cmp edx, esi
jne 0x1000bca0
xor eax, eax
pop esi
ret
mov eax, edx
pop esi
ret

Function at 0x1000bcc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov edi, ecx
call fcn.1000bc30
mov ebx, eax
xor esi, esi
mov dword [ebp - 4], ebx
nop word [eax + eax]
lea ecx, [esi + edi]
call fcn.1000b9e0
add esi, eax
cmp esi, 5
jl 0x1000bce0
test esi, esi
jle 0x1000bd11
mov ecx, ebx
mov edx, esi
mov ebx, edi
sub ebx, ecx
nop dword [eax + eax]
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1000bd00
mov ebx, dword [ebp - 4]
lea ecx, [esi + ebx]
lea eax, [edi - 5]
mov byte [ecx], 0xe9
sub esi, ecx
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ecx + 1], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call esi
mov eax, dword [ebp - 0xc]
sub eax, edi
mov byte [edi], 0xe9
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cf10
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
sub dword [ebp + 0xc], 1
jne 0x1000d029
push esi
mov esi, dword [ebp + 8]
mov dword [0x1004b2e8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x1000ceb0
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x1000cf63
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1000cf63
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000cf65
xor eax, eax
push esi
mov dword [0x1004b2ec], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 1
push str.D:P_D_OICI_GA___BG__D_OICI_GA___AN_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1000cfbc
push dword [ebp - 8]
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
test eax, eax
jne 0x1000cfc4
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x100431cc
push str.core.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000d00b
lea eax, [ebp + 0xc]
push eax
push 4
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000d00b
lea eax, [ebp + 0xc]
mov byte [esi], 0
push eax
push dword [ebp + 0xc]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000d013
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x10001cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034e18
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.Initializing_extender
mov ecx, 0x100493b8
call fcn.100070f0
push eax
call fcn.10007610
add esp, 4
cmp dword [0x1004b2e4], 0
jne 0x1000d396
mov dword [0x1004b2e4], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1000da40
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 8
push str.dsetup.u
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002d30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x60]
call fcn.10004120
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov bl, al
call fcn.10002ab0
test bl, bl
je 0x1000d2bd
push 9
push str.server_ip
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002d30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
call fcn.10004770
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10002ab0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x68], 0xf
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
call fcn.10002e30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x10051cf0
call fcn.10002e30
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.10002ab0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000db20
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov ecx, 0x100493b8
call fcn.100073a0
push eax
call fcn.10007610
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10002ab0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10002ab0
jmp 0x1000d2d5
mov edx, str.Failed_to_load_configuration.
mov ecx, 0x100493b8
call fcn.100070f0
push eax
call fcn.10007610
add esp, 4
call fcn.10010d10
test al, al
je 0x1000d379
mov edx, str.PHX_created
mov ecx, 0x100493b8
call fcn.100070f0
push eax
call fcn.10007610
mov edx, str.HWID_created
mov ecx, 0x100493b8
call fcn.100070f0
push eax
call fcn.10007610
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.10008a90
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1000d324
mov eax, dword [eax]
push eax
call dword [0x10051c38]
lea ecx, [ebp - 0x40]
mov dword [0x1004aedc], eax
mov byte [ebp - 4], 0
call fcn.10002ab0
cmp dword [0x1004aedc], 0
je 0x1000d379
mov edx, str.ENGINE_created
mov ecx, 0x100493b8
call fcn.100070f0
push eax
call fcn.10007610
push 0
push 0
push 0x1000d040
call fcn.1001ce14
push 0
push 0
push 0x1000d3e0
call fcn.1001ce14
add esp, 0x1c
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
push eax
push dword [eax]
lea eax, [ebp - 0x64]
push eax
call fcn.1000d510
push dword [ebp - 0x60]
call fcn.100131d5
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100131da
mov esp, ebp
pop ebp
ret
Function at 0x1000de00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034e88
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10048070]
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, dword [ebp + 8]
lea ecx, [ebp - 0x78]
push 9
push str.127.0.0.1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.10002d30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
cmovae eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000dea4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000dea4
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
lea eax, [ebp - 0x60]
push str._u._u._u._u
push eax
call fcn.1000dd90
add esp, 0x18
lea edx, [ebp - 0x60]
jmp 0x1000dea9
mov edx, 0x100430e4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x1000dec3
xor ecx, ecx
jmp 0x1000ded1
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dec8
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10002d30
lea ecx, [ebp - 0x78]
call fcn.10002ab0
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.100131da
mov esp, ebp
pop ebp
ret 4

Function at 0x100100d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
jmp 0x100100ec
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
push eax
push dword [ebp + 8]
lea ecx, [ebx + 0x100]
mov dword [ebx + 0x110], eax
push ecx
call fcn.10015ea0
add esp, 0xc
xor eax, eax
nop dword [eax]
mov byte [eax + ebx], al
inc eax
cmp eax, 0x100
jl 0x10010110
xor edi, edi
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
xor esi, esi
mov dword [ebp + 0xc], edi
nop word [eax + eax]
mov dl, byte [esi + ebx]
movzx eax, byte [ebx + edi + 0x100]
add eax, dword [ebp + 0xc]
movzx ecx, dl
add ecx, eax
movzx ecx, cl
mov dword [ebp + 0xc], ecx
mov al, byte [ecx + ebx]
mov byte [esi + ebx], al
lea eax, [edi + 1]
mov byte [ecx + ebx], dl
inc esi
cdq
idiv dword [ebx + 0x110]
mov edi, edx
cmp esi, 0x100
jl 0x10010140
jmp 0x10010189
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10024538
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100243b7

Function at 0x1002a5fc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002a2bc
Function at 0x407411
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc8c], 0
jne 0x40744f
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407425
mov dword [ecx*4 + 0x46bc88], eax
inc ecx
cmp ecx, 0x100
jl 0x407420
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40747c
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc88]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40745d
not eax
pop ebp
ret 0xc

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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xe8]
lea eax, [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xec]
push eax
push edi
call fcn.0040f3d0
mov esi, eax
add esp, 8
test esi, esi
je 0x40ff24
mov ecx, dword [esp + 0x10]
sub esi, edi
mov edx, dword [esp + 0x14]
mov al, 3
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov byte [ebp + 8], al
lea eax, [esi + 1]
jmp 0x40ff44
push 0x462558
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x40ff5d
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x40ff5f
xor eax, eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f441
add esp, 0xd8
ret
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040f350
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40fffc
push 0x2e
push edi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x40ff42
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ff90
sub ecx, edx
cmp ecx, 0xc8
ja 0x40ff42
lea edx, [esp + 0x18]
mov ecx, edi
sub edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40ffb0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
sub esi, edi
push ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + esi + 0x1c], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040f350
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40ff42
mov eax, edi
lea ecx, [esp + 0x18]
sub eax, ecx
add esi, eax
test esi, esi
je 0x40ff42
movsd xmm0, qword [esp + 0x10]
sub esi, edi
mov al, 0x13
movsd qword [ebp], xmm0
mov byte [ebp + 8], al
lea eax, [esi + 1]
jmp 0x40ff44
Function at 0x439970
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2040
call fcn.0045f980
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x203c], eax
push esi
mov esi, dword [esp + 0x2048]
mov dword [esp + 4], 0
push edi
mov edi, dword [esp + 0x2050]
test esi, esi
jne 0x4399be
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x203c]
xor ecx, esp
call fcn.0045f441
add esp, 0x2040
ret
push 0x2000
lea eax, [esp + 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x38
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64]
add esp, 0x20
test eax, eax
je 0x439a0c
pop edi
mov eax, 0xfffffffd
pop esi
mov ecx, dword [esp + 0x203c]
xor ecx, esp
call fcn.0045f441
add esp, 0x2040
ret
mov ecx, dword [esp + 0x12]
test cl, cl
js 0x439a1b
or dword [esi + 0x4e008], 1
movzx eax, cx
and ecx, 0xf000
shl eax, 0x10
or eax, dword [esi + 0x4e008]
mov dword [esi + 0x4e008], eax
cmp ecx, 0x4000
jne 0x439a44
or eax, 0x10
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push ebx
push 0x46584c
push edi
mov dword [esi + 0x4e010], eax
mov dword [esi + 0x4e014], ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x439a89
lea eax, [ebx - 0x10]
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x203c]
xor ecx, esp
call fcn.0045f441
add esp, 0x2040
ret
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [esp + 0x4c]
push ebx
push 0x2000
push 1
push eax
call ebp
mov edi, eax
add esp, 0x10
test edi, edi
je 0x439b3a
nop dword [eax]
add dword [esi + 0x60], edi
lea eax, [esp + 0x4c]
push edi
adc dword [esi + 0x64], 0
push eax
push dword [esi + 0x70]
call fcn.0042fcb0
add esp, 0xc
mov dword [esi + 0x70], eax
test byte [esi + 0x50], 0xf
lea eax, [esp + 0x4c]
jne 0x439afc
push edi
push eax
push dword [esi + 0x7c]
mov eax, dword [esi + 0x3c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, edi
jne 0x439b32
add dword [esi + 0x78], edi
adc dword [esi + 0x7c], 0
add dword [esi + 0x68], edi
adc dword [esi + 0x6c], 0
jmp 0x439b18
push 0
push edi
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.00434bd0
add esp, 0x10
cmp eax, 1
je 0x439b18
test eax, eax
jne 0x439b32
push ebx
push 0x2000
lea eax, [esp + 0x54]
push 1
push eax
call ebp
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x439ab0
jmp 0x439b3a
mov dword [esp + 0x10], 0xfffffff8
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [esp + 0x2050]
add esp, 4
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045f441
add esp, 0x2040
ret
Function at 0x439be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x45c
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x458], eax
push esi
mov esi, dword [esp + 0x464]
push edi
mov edi, dword [esp + 0x46c]
test esi, esi
jne 0x439c22
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret
cmp dword [esi + 0x14], 1
je 0x439c44
pop edi
mov eax, 0xfffffffc
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret
cmp edi, dword [esi + 0x10]
jb 0x439c65
pop edi
mov eax, 0xfffffff6
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ecx]
jne 0x439c8e
pop edi
mov eax, 0xfffffff5
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret
push ebx
movzx ebx, word [eax + 0x1c]
push ebp
lea ebp, [eax + 0x2e]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x439caf
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x5c], 0
push 0x2f
push 0x5c
push ebx
push ebp
call fcn.0043a2a0
add esp, 0x10
mov dword [esi + 0x5c], eax
pop ebp
pop ebx
test eax, eax
jne 0x439ce2
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret
lea eax, [esp + 8]
push eax
push edi
push esi
call fcn.00431ef0
add esp, 0xc
test eax, eax
jne 0x439d11
pop edi
mov eax, 0xfffffffd
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x1e]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x4c]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x44]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x58], edi
mov dword [esi + 0x4e014], ecx
mov ecx, dword [esp + 0x460]
mov dword [esi + 0x4e010], eax
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0045f441
add esp, 0x45c
ret