joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416f37
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5ae840]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x416f82
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004170d2
test al, al
jne 0x416f7c
sub edx, 2
cmp edx, edi
jne 0x416f62
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416fa4
lea eax, [edi + 2]
cmp edx, eax
je 0x416fa4
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416e83
add esp, 0x10
jmp 0x41709e
push esi
lea ecx, [ebp - 0x255]
call fcn.004170d2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416fe7
push dword [ebp - 0x25c]
jmp 0x416f94
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x417024
cmp word [ebp - 0x226], 0
je 0x417045
cmp word [ebp - 0x226], ax
jne 0x417024
cmp word [ebp - 0x224], 0
je 0x417045
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416e83
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x417091
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x416ffe
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x417079
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41709e
push 0x416cb3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041ad60
add esp, 0x10
jmp 0x41706e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004073fc
leave
ret

Function at 0x419ca2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00411730
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419d11
cmp esi, dword [ebp - 4]
je 0x419d0c
cmp dword [ebp + 0xc], 0
je 0x419d0c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x419ce9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004197f4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x419d13
xor eax, eax
inc eax
jmp 0x419d13
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x419d78
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ae840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00411730
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00411730
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x419def
cmp word [ecx], dx
je 0x419def
mov eax, dword [0x421d1c]
push edi
dec eax
push eax
push 0x421c08
call fcn.00419d17
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x419e62
cmp word [eax], dx
je 0x419e62
mov eax, dword [edi]
test eax, eax
je 0x419e13
cmp word [eax], dx
je 0x419e13
lea eax, [ebp - 0x10]
push eax
call fcn.004196fa
jmp 0x419e1c
lea eax, [ebp - 0x10]
push eax
call fcn.00419795
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x419e8c
mov eax, dword [0x421c04]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4218f8
call fcn.00419d17
add esp, 0xc
test al, al
je 0x419e8c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x419e57
cmp word [eax], di
je 0x419e57
lea eax, [ebp - 0x10]
push eax
call fcn.004196fa
pop ecx
jmp 0x419e8e
lea eax, [ebp - 0x10]
push eax
call fcn.00419795
jmp 0x419e54
mov eax, dword [edi]
test eax, eax
je 0x419e79
cmp word [eax], dx
je 0x419e79
lea eax, [ebp - 0x10]
push eax
call fcn.004196af
pop ecx
jmp 0x419e8c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x419f57
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00419b9c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x419f57
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x419f57
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x419f57
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x419ee4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00412010
test ebx, ebx
je 0x419f52
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00412010
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419f57
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419f57
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041b3cd
add esp, 0x10
xor eax, eax
inc eax
jmp 0x419f59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004073fc
leave
ret
Function at 0x41cbf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41cc1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41cc1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x98f7ec
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x98f7f2
pop ebp
sub ebp, 6
sub ebp, 0x58f7ec
jmp 0x98f850
add byte [eax], al
add byte [eax], al
add byte [eax], al
jmp 0x98f859
mov eax, 0x58f7ec
add eax, ebp
add eax, 0x93
mov ecx, 0x5b4
mov edx, 0x2dbf161a
xor byte [eax], dl
inc eax
dec ecx
jne 0x98f870
jmp 0x98f883
xchg ecx, eax
xlatb
xchg ecx, eax
xchg ebx, eax
sbb bl, byte es:[edx]
sbb bl, byte [ebx + 0x1a1ae2db]
sbb bl, byte [ecx]
xlatb
mov byte [0x1a1a1a1e], al
mov al, byte [0x1a1a1a32]
in eax, dx
clc
sbb edx, edx
xchg ecx, eax
wait
push ss
sbb bl, byte [edx]
sbb bl, byte [ecx]
fisttp word [edx + 0x4a]
jb 0x98f8bf
sub byte [edi], dl
sbb dh, byte [edx - 8]
fist word [ecx + 0x1a]
sbb esi, dword [esi]
jb 0x98f84a
movsb byte es:[edi], byte [esi]
mov al, 0x13
pop ds
sbb bl, byte [edx]
sbb dh, bl
xor bl, byte [edx]
sbb bl, byte [edx]
dec edi
dec esi
inc edi
xchg ecx, eax
lahf
adc bl, byte [edx]
sbb bl, byte [edx]
xchg ecx, eax
invalid
Function at 0x401d48
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xacc
jge 0x401d63
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be411
jg 0x401d7d
inc edi
cmp edi, 0x3330601
jl 0x401d54
cmp dword [0x2078894], 0x400
jne 0x401db5
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
call fcn.0040453b
call fcn.00403fa1
push esi
call fcn.0040480f
pop ecx
pop ecx
xor edi, edi
cmp edi, 0x16c76
jge 0x401dc7
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401ded
inc edi
cmp edi, 0x3003f
jl 0x401db7
mov eax, dword [0x42b8b4]
mov dword [0x2078894], eax
call fcn.00401a93
mov edi, 0x3078f
cmp dword [0x2078894], 0x51f
jne 0x401e19
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec edi
jne 0x401e01
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x402987
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x424a5d
call fcn.004248e0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00403744
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.0040481e
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x4029cf
call fcn.004034f8
mov dword [ebx], eax
call fcn.004032b7
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x4029d1
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x405369
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a364]
jne 0x405373
repz ret
jmp fcn.00409b2c
Function at 0x40dbe4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a364]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408071
and dword [ebp - 0x14], 0
cmp dword [0x436a48], 0
mov dword [ebp - 0x18], eax
jne 0x40dc97
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40dd3f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40dd3f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x436a48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x436a4c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x436a50], eax
call edi
push eax
call esi
mov dword [0x436a58], eax
test eax, eax
je 0x40dc97
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x436a54], eax
mov eax, dword [0x436a54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40dcf0
cmp dword [0x436a58], ecx
je 0x40dcf0
push eax
call esi
push dword [0x436a58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40dcf0
test ebx, ebx
je 0x40dcf0
call edi
test eax, eax
je 0x40dce7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40dce7
test byte [ebp - 8], 1
jne 0x40dcf0
or dword [ebp + 0x10], 0x200000
jmp 0x40dd23
mov eax, dword [0x436a4c]
cmp eax, dword [ebp - 0x18]
je 0x40dd23
push eax
call esi
test eax, eax
je 0x40dd23
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40dd23
mov eax, dword [0x436a50]
cmp eax, dword [ebp - 0x18]
je 0x40dd23
push eax
call esi
test eax, eax
je 0x40dd23
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x436a48]
call esi
test eax, eax
je 0x40dd3f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40dd41
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405369
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x25cf6c1a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3c45c55
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4a2e10
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4a2e2c
cmp dword [esi + 0x6c], 0
je 0x4a2e2c
push 2
push 3
push esi
call fcn.004b8b40
add esp, 0xc
push dword [esp + 0xc]
call fcn.004b1dc0
add esp, 4
test esi, esi
je 0x4a2e4d
cmp dword [esi + 0x6c], 0
je 0x4a2e4d
push 3
push esi
call fcn.004b8b80
add esp, 8
pop esi
ret

Function at 0x4a3590
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x3c0], 2
je fcn.004a3540
mov al, 1
ret

Function at 0x4a5810
Capabilities:
Check for software breakpoints
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
xor ebx, ebx
push edi
cmp eax, 0xd2
jg 0x4a6518
je 0x4a64fe
add eax, 0xfffffffd
cmp eax, 0xcc
ja 0x4a7a9b
movzx eax, byte [eax + 0x4a7bf8]
jmp dword [eax*4 + 0x4a7aac]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x4b8], ecx
mov eax, ebx
pop ebx
add esp, 8
ret
cmp eax, 0x2711
jg 0x4a6804
je 0x4a67ea
add eax, 0xffffff2c
cmp eax, 0x35
ja 0x4a7a9b
movzx eax, byte [eax + 0x4a7d54]
jmp dword [eax*4 + 0x4a7cf4]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x148], ecx
mov eax, ebx
pop ebx
add esp, 8
ret
cmp eax, 0x27b4
jg 0x4a7173
je 0x4a7159
add eax, 0xffffd8ee
cmp eax, 0x93
ja 0x4a7a9b
movzx eax, byte [eax + 0x4a7e50]
jmp dword [eax*4 + 0x4a7d8c]
salc
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x4a71cc
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004a6d41
push eax
push esi
push dword [ebp + 8]
call fcn.004a6cf6
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004a6d31
push eax
dec esp
loopne 0x4a7182
invalid
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004a6d31
out dx, eax
sub al, 0xb3
jle 0x4a71a7
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
stc
invalid
Function at 0x4acca0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
mov esi, dword [edi + eax*4 + 0x198]
call fcn.004ad0d0
add esp, 8
push 0
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [ebp], 0
cmp ebx, 0xffffffff
jne 0x4acd26
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x4accfe
pop edi
pop esi
mov dword [ebp], 0x51
xor eax, eax
pop ebp
pop ebx
ret
push esi
push edi
call fcn.0049d480
push eax
push str.Send_failure:__s
push dword [edi]
call fcn.004ac850
mov eax, dword [edi]
add esp, 0x14
mov dword [eax + 0x46b4], esi
mov eax, ebx
mov dword [ebp], 0x37
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4ad0d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
shl eax, 4
mov ebp, dword [ebx + ecx*4 + 0x198]
lea esi, [ebx + 0x1bc]
add esi, eax
mov eax, dword [ebx + 0x3b8]
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x3c], 3
je 0x4ad188
cmp dword [ebx + ecx*4 + 0x1ac], 0x4acc00
jne 0x4ad188
cmp dword [esi], 0
je 0x4ad11c
test edi, edi
je 0x4ad188
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.004ac1a0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4ad188
test al, 1
je 0x4ad188
cmp dword [esi], 0
jne 0x4ad171
mov eax, dword [ebx]
mov eax, dword [eax + 0x32c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x55d300]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x4ad171
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x4ad188
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4ad190
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x4ad1b9
push dword [esi + 0x13c]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call eax
add esp, 0x14
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x4ad1f2
push dword [esi + 0x138]
lea eax, [eax + eax*2]
push 1
add eax, 0x527f1c
push 2
push eax
call fcn.004e0e5c
push dword [esi + 0x138]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004e0e5c
add esp, 0x20
xor eax, eax
pop esi
ret
Function at 0x404126
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040e10b
lea eax, [ebp - 0x98]
push eax
call fcn.00403b2f
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0x5f5e0ff
xor esi, esi
push esi
call dword [0x638870]
push eax
call dword [0x638800]
push esi
push esi
xor ebx, ebx
push esi
inc ebx
push esi
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call fcn.0040e2bd
push eax
call dword [0x638764]
push dword [0x627a14]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x58]
xor edi, edi
call dword [0x638840]
test eax, eax
jne 0x4041a7
mov edi, ebx
cmp dword [ebp - 0xc], esi
je 0x4042d2
push esi
push esi
push 3
push esi
push esi
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0xc]
call dword [0x638864]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x4042c9
mov eax, edi
neg eax
push esi
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push esi
push esi
push dword [0x627860]
push dword [ebp - 0x30]
push 0x420284
push dword [ebp - 0x18]
call dword [0x6388a4]
mov ebx, eax
cmp ebx, esi
je 0x4042c2
cmp edi, esi
je 0x40421f
or dword [ebp - 0x14], 0x10300
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1f
push ebx
call dword [0x63865c]
push esi
push esi
push esi
push esi
push ebx
call dword [0x63882c]
push esi
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x198]
push eax
push 0x13
push ebx
mov dword [ebp - 0x1c], 0x100
call dword [0x6388bc]
test eax, eax
jne 0x404266
lea ecx, [ebp + 8]
call fcn.0040e13f
lea ecx, [ebp + 0x14]
call fcn.0040e13f
mov eax, dword [ebp - 0x20]
mov edx, esi
jmp 0x4042f1
lea eax, [ebp - 0x198]
push eax
call fcn.0040f091
pop ecx
cmp eax, 0xc8
jne 0x40424c
cmp edi, esi
je 0x4042c2
jmp 0x4042bd
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x598]
push eax
push ebx
call dword [0x63878c]
xor edi, edi
cmp dword [ebp - 4], esi
jbe 0x4042c2
push 1
lea eax, [ebp + edi - 0x598]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
push eax
call fcn.0040f0e2
inc dword [ebp - 8]
inc edi
cmp edi, dword [ebp - 4]
jb 0x40429e
cmp dword [ebp - 4], esi
ja 0x404280
push ebx
call dword [0x638760]
push dword [ebp - 0x18]
call dword [0x638760]
push dword [ebp - 0xc]
call dword [0x638760]
lea ecx, [ebp + 8]
call fcn.0040e13f
lea ecx, [ebp + 0x14]
call fcn.0040e13f
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret