joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4939a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a64b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x8d600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push str.ulBytes__Requested__d
push 0
push 0
push 0xbf5
push str.HPXS::CeSCLDevice::ReadScan
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
push 0x129b5f0
push dword [0x12992f8]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0041f8ee
add esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 0
test edi, edi
je 0x493baf
cmp dword [esi + 0x114], 0
jne 0x493a84
push str.ReadScan:_m_pIScanJob__NULL
push 0xc01
lea eax, [ebp - 0x8c]
push 0x11
push eax
call fcn.0041fc07
add esp, 0x10
mov ecx, esi
call fcn.00491bc0
mov dword [ebp - 0x84], eax
test eax, eax
js 0x493ac7
cmp dword [esi + 0x114], 0
je 0x493ac7
push str.ReadScan:_CreateScanJob_succeeded
push 0xc0a
lea eax, [ebp - 0x8c]
push 0x11
push eax
call fcn.0041fc07
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0xfc], 0
push dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
push edi
push dword [ebp - 0x94]
je 0x493adb
mov ecx, esi
call fcn.00493120
mov dword [ebp - 0x84], eax
cmp eax, 0x83e8ebfc
jne 0x493b2a
push eax
push str.ReadScan:_m_pIScanJob__ReadScan_returned_E_SCAN_CANCELLED_0x_08X
push 0xc20
jmp 0x493b39
push str.ReadScan:_CreateScanJob_failed
push 0xc05
push 0x80
jmp 0x493bbb
mov ecx, dword [esi + 0x114]
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 8]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov dword [ebp - 0x84], eax
cmp eax, 0x83e8ebfb
jne 0x493b1c
push 0x83e8ebfc
push str.ReadScan:_m_pIScanJob__ReadScan_returned_E_SCAN_CANCELLED_0x_08X
mov dword [ebp - 0x84], 0x83e8ebfc
push 0xc20
jmp 0x493b39
cmp eax, 0x83e8ebf0
jne 0x493ab3
mov esi, eax
jmp 0x493bd0
test eax, eax
jns 0x493b4d
push eax
push str.ReadScan:_m_pIScanJob__ReadScan_failed_0x_08X
push 0xc24
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x98]
push eax
lea ecx, [eax + 0x1f4]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esi + 0xfc], 0
push eax
lea eax, [ebp - 0x8c]
je 0x493b98
push str.TIME4A_J_CeSCLDevice::ReadScan:_UseImagePipeLine_JPEG_took___ld_sec__ld_r_n
push 0xc2b
push 0x11
push eax
call fcn.0041fc07
add esp, 0x18
jmp 0x493bca
push str.TIME4A_R_CeSCLDevice::ReadScan:_m_pIScanJob__ReadScan_raw_took__ld_sec__ld_r_n
push 0xc2d
push 0x11
push eax
call fcn.0041fc07
add esp, 0x18
jmp 0x493bca
push str.ReadScan:_0_bytes_requested
push 0xc31
push 0x11
lea eax, [ebp - 0x8c]
push eax
call fcn.0041fc07
add esp, 0x10
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x8c]
call fcn.0041f95a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00525a3e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x493fda
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and dword [eax], 0
push edi
push ecx
mov dword [ebp - 4], edx
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x49405a
cmp word [esi + 8], 2
jne 0x49403c
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x49403c
mov edi, dword [esi + 0xc]
jmp 0x494036
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.00493f71
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x494055
lea eax, [ecx + 0x1c]
add edi, 4
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
test eax, eax
jne 0x494012
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.005e4121
add esp, 0x10
xor eax, eax
jmp 0x494078
push 8
pop eax
jmp 0x494078
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x494076
sub eax, 1
je 0x494088
sub eax, 1
je 0x494081
sub eax, 1
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x2afb
jmp 0x494078
mov eax, 0x2afa
jmp 0x494078
Function at 0x4946e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x8d600c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x12a0b20], 0
mov ax, cx
mov word [ebp - 0x232], ax
mov dword [ebp - 0x230], 0x805cac
mov dword [ebp - 0x22c], 0x49422c
mov dword [ebp - 0x228], str.getnameinfo
mov dword [ebp - 0x224], 0x4944fc
mov dword [ebp - 0x220], 0x805cc4
mov dword [ebp - 0x21c], fcn.004941ee
je 0x49474a
movzx eax, ax
jmp 0x49487c
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x49486b
push ebx
push esi
push edi
lea eax, [ebp - 0x218]
mov ebx, 0x10c
push eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.005d3067
push str.ws2_32
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.005e2614
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
xor edi, edi
test esi, esi
je 0x4947c9
push 0x805cac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4947c5
push esi
call ebx
mov esi, edi
test esi, esi
jne 0x494823
lea eax, [ebp - 0x218]
mov esi, 0x10c
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.005d3067
push str.wship6
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.005e2614
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x494868
push 0x805cac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x49481f
push esi
call ebx
mov esi, edi
test esi, esi
je 0x494868
mov ebx, edi
push dword [ebp + ebx*8 - 0x230]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + ebx*8 - 0x22c], eax
test eax, eax
je 0x494846
inc ebx
cmp ebx, 3
jl 0x494825
jmp 0x49484f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x494868
mov eax, dword [ebp + edi - 0x22c]
mov dword [edi + 0x12813a0], eax
add edi, 8
cmp edi, 0x18
jl 0x494853
pop edi
pop esi
pop ebx
movzx eax, word [ebp - 0x232]
mov dword [0x12a0b20], 1
mov ecx, dword [ebp - 4]
mov eax, dword [eax*8 + 0x12813a0]
xor ecx, ebp
call fcn.00525a3e
mov esp, ebp
pop ebp
ret
Function at 0x4948d3
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x8d600c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
xor esi, esi
lea ecx, [esp + 8]
push esi
push esi
push 0x20
push str.NGDiscovery::InitDiscoveryLib
push 0x129b60c
push dword [0x129b630]
call fcn.0041f881
mov eax, dword [0x1298fec]
test eax, eax
jne 0x494967
push 0x190
lea eax, [esp + 0x84]
push esi
push eax
call fcn.005b9760
add esp, 0xc
lea eax, [esp + 0x80]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x494962
push eax
push str.WSAStartup_failed__err_d
push 0x2a
lea eax, [esp + 0x14]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x14
push 2
pop esi
jmp 0x49496d
mov eax, dword [0x1298fec]
inc eax
mov dword [0x1298fec], eax
lea ecx, [esp + 8]
call fcn.0041f95a
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00525a3e
mov esp, ebp
pop ebp
ret

Function at 0x499d86
Capabilities:
Set socket configuration

Disassembly:
push 0xac
mov eax, 0x62c606
call fcn.005b83bf
mov dword [ebp - 0xb4], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xa4]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push ebx
push 0xb0
push str.NGDiscovery::CWSDSession::AddMembership
push 0x129b978
push dword [0x129b630]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb8], edi
call fcn.0041f881
push 0x3a
push esi
mov dword [ebp - 4], ebx
call fcn.005e9fd0
pop ecx
pop ecx
test eax, eax
je 0x499e6a
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], ebx
push eax
push ebx
xor edx, edx
mov ecx, edi
call fcn.004999e0
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x499e2d
cmp dword [ecx + 0x10], 0x1c
jne 0x499e28
mov esi, dword [ecx + 0x18]
lea edi, [ebp - 0x28]
add esi, 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb0]
jmp 0x499e2d
call fcn.00499a19
push esi
call fcn.0049adce
push 0x14
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xb4]
push 0xc
push 0x29
push dword [eax + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x499ed1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.setsockopt_IPV6_ADD_MEMBERSHIP___s__failed__err_d
push 0xba
jmp 0x499ebb
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push edi
call esi
push dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
call esi
push 8
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xb4]
push 0xc
push ebx
push dword [eax + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x499ed1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.setsockopt_IP_ADD_MEMBERSHIP___s__failed__err_d
push 0xc5
lea eax, [ebp - 0xa4]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x18
jmp 0x499ed3
mov bl, 1
lea ecx, [ebp - 0xa4]
call fcn.0041f95a
mov al, bl
call fcn.005b8369
ret 8
Function at 0x49d1bf
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
test ebx, ebx
jne 0x49d1d6
xor eax, eax
jmp 0x49d2bb
push esi
mov esi, dword [ebp + 8]
push edi
push 3
pop edi
jmp 0x49d225
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
push 4
or ecx, eax
pop edx
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x6db858]
mov byte [ebp + edx - 4], al
test edx, edx
jg 0x49d1f8
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push 4
call fcn.0049bec8
pop ecx
test eax, eax
jne 0x49d26b
sub esi, edi
add ebx, edi
cmp esi, 2
jg 0x49d1e0
test esi, esi
jle 0x49d2b7
xor ecx, ecx
mov edx, ecx
test esi, esi
jle 0x49d25a
mov edi, esi
mov dword [ebp - 0xc], esi
lea edx, [esi + 1]
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
inc ebx
sub edi, 1
jne 0x49d242
push 3
pop edi
cmp esi, edi
jge 0x49d289
mov edx, dword [ebp - 0xc]
mov eax, edi
sub eax, edx
inc edx
add edx, eax
shl ecx, 8
sub eax, 1
jne 0x49d261
jmp 0x49d289
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16138]
jmp 0x49d2b9
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x6db858]
mov byte [ebp + edx - 4], al
test edx, edx
jg 0x49d276
cmp esi, edi
jge 0x49d29b
mov byte [ebp + edi - 4], 0x3d
dec edi
cmp edi, esi
jg 0x49d291
mov ebx, dword [ebp - 8]
lea edx, [ebp - 4]
push 4
mov ecx, ebx
call fcn.0049bec8
pop ecx
test eax, eax
je 0x49d2b7
mov eax, dword [ebx + 0x16138]
jmp 0x49d2b9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49deee
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x8d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
inc esi
cmp dword [0x1298ff0], 0
mov dword [ecx + 0x1613c], esi
jne 0x49df35
lea eax, [ebp - 0x198]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x49df2f
or eax, 0xffffffff
jmp 0x49df37
mov dword [0x1298ff0], esi
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00525a3e
mov esp, ebp
pop ebp
ret
Function at 0x4a5d96
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
mov edi, dword [ebp + 0xc]
push 3
pop ebx
test esi, esi
jne 0x4a5de1
lea eax, [edi + 2]
cdq
idiv ebx
lea edx, [eax*4 + 1]
call fcn.0049f486
mov esi, eax
test esi, esi
jne 0x4a5dde
mov eax, dword [ebp - 8]
mov dword [eax + 0x16138], 0x10
xor eax, eax
jmp 0x4a5eb9
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov byte [esi], 0
test edx, edx
jne 0x4a5df2
mov eax, esi
jmp 0x4a5eb9
cmp edi, 2
jle 0x4a5e49
xor edx, edx
lea eax, [edi - 3]
div ebx
mov edx, dword [ebp - 4]
inc eax
imul ecx, eax, 0xfffffffd
mov dword [ebp + 8], eax
add edi, ecx
mov dword [ebp + 0xc], edi
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
push 4
or ecx, eax
pop edi
mov eax, ecx
dec edi
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x6db858]
mov byte [edi + esi], al
test edi, edi
jg 0x4a5e25
add esi, 4
add edx, ebx
sub dword [ebp + 8], 1
jne 0x4a5e0d
mov edi, dword [ebp + 0xc]
mov byte [esi], 0
test edi, edi
jle 0x4a5eb6
xor eax, eax
xor ecx, ecx
mov dword [ebp + 8], eax
test edi, edi
jle 0x4a5e76
mov dword [ebp - 8], edi
mov dword [ebp + 8], edi
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
inc edx
sub edi, 1
jne 0x4a5e61
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jge 0x4a5e8a
mov edx, dword [ebp + 8]
mov eax, ebx
sub eax, edx
inc edx
add edx, eax
shl ecx, 8
sub eax, 1
jne 0x4a5e80
jmp 0x4a5ea1
lea edx, [edi + 1]
jmp 0x4a5ea1
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x6db858]
mov byte [edx + esi], al
test edx, edx
jg 0x4a5e8f
cmp edi, ebx
jge 0x4a5eb2
mov byte [ebx + esi], 0x3d
dec ebx
cmp ebx, edi
jg 0x4a5ea9
mov byte [esi + 4], 0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6fa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4b6fc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4ea786
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x63beba
call fcn.005b83bf
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x4ea8bb
cmp byte [esi + 0x3d], bl
je 0x4ea8bb
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov eax, dword [esi]
push edi
call dword [eax + 0xc]
cmp eax, edi
mov dword [ebp - 4], 2
mov dword [ebp - 4], edi
sete al
test al, al
je 0x4ea7d1
xor al, al
jmp 0x4ea8bd
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004b55ea
lea eax, [esi + 0x40]
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea ebx, [ebp - 0x38]
mov byte [ebp - 4], 3
add eax, edi
push ebx
push eax
mov ecx, dword [ecx + 0x38]
push esi
push dword [ebp - 0x34]
mov edx, dword [ecx]
call dword [edx + 0x20]
xor ebx, ebx
sub eax, ebx
je 0x4ea838
sub eax, 1
jne 0x4ea89c
mov esi, dword [ebp - 0x30]
jmp 0x4ea83e
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3d], bl
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x4ea87e
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005d0fda
add esp, 0x10
cmp edi, eax
jne 0x4ea8a7
cmp byte [esi + 0x3d], 0
je 0x4ea8a5
test edi, edi
jne 0x4ea7e9
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041d6ba
jmp 0x4ea7e9
dec eax
sub eax, 1
jne 0x4ea8ab
inc eax
jmp 0x4ea8a9
mov bl, 1
mov al, bl
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041b40b
mov al, bl
jmp 0x4ea8bd
mov al, 1
call fcn.005b8369
ret
Function at 0x4f1210
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
mov esp, ebp
pop ebp
ret 8

Function at 0x4f14a0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4f901b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x8d600c]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push 0xb0
push str.NGIOStack::CBufferedHTTPTransaction::StartTransaction
push 0x129e394
push dword [0x129c5a4]
lea ecx, [esp + 0x28]
call fcn.0041f881
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4f9069
mov esi, 0x80004005
jmp 0x4f9095
mov dword [esi + 4], eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x4f93e3
push edi
push edi
call fcn.005ce3c0
xor ecx, ecx
mov dword [esi + 0x50], eax
add esp, 0x18
mov esi, 0x80004005
test eax, eax
cmovne esi, ecx
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
call fcn.0041f95a
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00525a3e
mov esp, ebp
pop ebp
ret 4
Function at 0x4fbe22
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x6409ad
call fcn.005b838b
mov eax, edx
mov dword [ebp - 0x10], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 1
mov dword [ebx + 0x14], 7
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], ecx
jb 0x4fbe6d
mov ecx, dword [ebx]
jmp 0x4fbe6f
mov ecx, ebx
xor edx, edx
mov byte [ebp - 4], 0x1d
mov word [ecx], dx
and dword [ebp - 4], edx
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0x1e
mov esi, dword [eax]
mov dword [ebp - 4], 0x27
mov byte [ebp - 4], 0x24
jmp 0x4fbf81
mov al, byte [esi]
mov ecx, ebx
movzx edi, al
inc esi
mov eax, edi
shr eax, 2
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0041c0d8
mov eax, dword [ebp - 0x10]
and edi, 3
mov dword [ebp - 4], 0x2a
mov ecx, ebx
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
cmp esi, eax
je 0x4fbf4f
mov al, byte [esi]
inc esi
movzx eax, al
mov dword [ebp - 0x14], eax
shr eax, 4
shl edi, 4
or eax, edi
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0041c0d8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0x30
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
cmp esi, eax
je 0x4fbf3e
mov al, byte [esi]
inc esi
mov ecx, dword [ebp - 0x14]
movzx edi, al
and ecx, 0xf
shl ecx, 2
mov eax, edi
shr eax, 6
or ecx, eax
movzx eax, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, ebx
push eax
push 1
call fcn.0041c0d8
and edi, 0x3f
movzx eax, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x4fbf6e
mov eax, dword [ebp - 0x14]
and eax, 0xf
movzx eax, word [eax*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x4fbf63
shl edi, 5
movzx eax, word [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0041c0d8
push 0x3d
push 1
mov ecx, ebx
call fcn.0041c0d8
push 0x3d
push 1
mov ecx, ebx
call fcn.0041c0d8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0x24
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
cmp esi, eax
jne 0x4fbe9b
mov eax, ebx
call fcn.005b8354
ret
Function at 0x4fc850
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x640d0a
call fcn.005b83bf
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov word [eax], cx
push 0x24
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x1e
call fcn.0041b227
mov ebx, esi
push 0xa
pop ecx
mov eax, ebx
cdq
idiv ecx
lea ecx, [ebp - 0x28]
mov ebx, eax
mov eax, edx
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x81a36c]
movzx eax, ax
push eax
push 1
call fcn.0041c0d8
test ebx, ebx
jne 0x4fc8b1
test esi, esi
jns 0x4fc8ec
push 0x2d
push 1
lea ecx, [ebp - 0x28]
call fcn.0041c0d8
mov byte [ebp - 4], 0x1e
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x28]
call fcn.0041ea05
push dword [eax]
push esi
call fcn.004fc827
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041e7fc
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x28
call fcn.00416b1a
mov byte [ebp - 4], 0
mov eax, edi
call fcn.005b8369
ret

Function at 0x4fc944
Capabilities:
Encode data using xor

Disassembly:
push 0x34
mov eax, 0x640da3
call fcn.005b83bf
mov edi, ecx
mov dword [ebp - 0x38], edi
xor eax, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov word [eax], cx
push 0x24
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
call fcn.0041b227
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
push 0
push 0xa
push ebx
push esi
call fcn.005e9c40
mov dword [ebp - 0x38], ebx
pop ebx
mov esi, eax
mov ebx, edx
mov eax, ecx
lea ecx, [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x81a36c]
movzx eax, ax
push eax
push 1
call fcn.0041c0d8
mov eax, esi
or eax, ebx
jne 0x4fc9a7
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jg 0x4fc9f8
jl 0x4fc9ec
cmp dword [ebp + 8], ebx
jae 0x4fc9f8
push 0x2d
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041c0d8
mov byte [ebp - 4], 0x1e
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ea05
push dword [eax]
push esi
call fcn.004fc827
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0041e7fc
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x28
call fcn.00416b1a
mov byte [ebp - 4], bl
mov eax, edi
call fcn.005b8369
ret