joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
sub esp, 8
call fcn.0041a110
test al, al
jne 0x419f95
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x11a
push str...ip.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4197b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x419fc3
push str.ERROR:_CreateThread____failed
call fcn.004168b0
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x41a640
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x442288]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x4434ec]
push edi
mov edi, dword [ebp + 8]
add esi, 0xfffffff8
test di, di
je 0x41a793
movzx ebx, di
lea ecx, [ebp - 0x28]
push ebx
push esi
call fcn.004013b0
push eax
push str.Bind_at__s:_d.
call fcn.004168b0
add esp, 0xc
cmp dword [esi + 4], 0xffffffff
je 0x41a6ac
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x18d
push str.e:workwtftp..common_filterSockets.h
push str.ERROR
call fcn.00416950
add esp, 0x14
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x41a6d9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Create_socket_failed:__d.
call fcn.004168b0
add esp, 8
jmp 0x41a7b6
xorps xmm0, xmm0
mov eax, 2
movdqu xmmword [ebp - 0x18], xmm0
mov word [ebp - 0x18], ax
mov eax, dword [esi]
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x41a77e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind____failed:__d.
call fcn.004168b0
add esp, 8
lea ecx, [ebp - 0x28]
push esi
call fcn.004013b0
push eax
push str.ERROR__Error_occured_while_binding_socket_for_interface_IP_s.
call fcn.004168b0
push ebx
push str.ERROR__Port__d_already_used_by_another_application.
call fcn.004168b0
push str.ERROR__Only_one_application_can_use_TCP_or_UDP_port.
call fcn.004168b0
add esp, 0x14
push str.ERROR__To_determine_application_that_uses_port__run_Command_Prompt
call fcn.004168b0
add esp, 4
push str.ERROR__as_Administrator_and_execute_following_command:
call fcn.004168b0
add esp, 4
push str.netstat__abnp_udp
call fcn.004168b0
add esp, 4
mov ecx, esi
call fcn.004187f0
jmp 0x41a7b6
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041e406
mov esp, ebp
pop ebp
ret 4
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x188
push str.e:workwtftp..common_filterSockets.h
push str.ERROR
call fcn.00416950
add esp, 0x14
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e406
mov esp, ebp
pop ebp
ret 4
Function at 0x41b3f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x442288]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.XXXXIllegal_TFTP_operation.]
mov eax, dword [0x43f7fc]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], eax
movdqu xmmword [ebp - 0x20], xmm0
lea edi, [ebp - 0x20]
mov dword [ebp - 0x54], ebx
movq xmm0, qword [0x43f7f4]
lea ecx, [edi + 1]
movq qword [ebp - 0x10], xmm0
mov al, byte [edi]
inc edi
test al, al
jne 0x41b430
mov esi, dword [sym.imp.WS2_32.dll_htons]
sub edi, ecx
push 5
call esi
push 4
mov word [ebp - 0x20], ax
call esi
mov word [ebp - 0x1e], ax
lea eax, [edi + 1]
push 0
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x41b5b0
mov ebx, dword [ebx + 0xa6c]
lea ecx, [ebp - 0x50]
movzx edx, bl
call fcn.004015f0
xor ecx, ecx
lea ecx, [ecx]
cmp byte [ebp + ecx - 0x50], 0
je 0x41b4b1
cmp byte [ebp + ecx - 0x4f], 0
je 0x41b4b0
cmp byte [ebp + ecx - 0x4e], 0
je 0x41b4ab
cmp byte [ebp + ecx - 0x4d], 0
je 0x41b4a6
add ecx, 4
cmp ecx, 0x10
jb 0x41b480
jmp 0x41b4b1
add ecx, 3
jmp 0x41b4b1
add ecx, 2
jmp 0x41b4b1
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41b4c0
mov word [ebp + ecx - 0x50], 0x2e
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x40]
movzx edx, byte [esi + 0xa6d]
call fcn.004015f0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.004016c0
xor ecx, ecx
nop
cmp byte [ebp + ecx - 0x50], 0
je 0x41b511
cmp byte [ebp + ecx - 0x4f], 0
je 0x41b510
cmp byte [ebp + ecx - 0x4e], 0
je 0x41b50b
cmp byte [ebp + ecx - 0x4d], 0
je 0x41b506
add ecx, 4
cmp ecx, 0x10
jb 0x41b4e0
jmp 0x41b511
add ecx, 3
jmp 0x41b511
add ecx, 2
jmp 0x41b511
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41b520
mov word [ebp + ecx - 0x50], 0x2e
movzx edx, byte [esi + 0xa6e]
lea ecx, [ebp - 0x40]
call fcn.004015f0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.004016c0
xor eax, eax
lea esp, [esp]
cmp byte [ebp + eax - 0x50], 0
je 0x41b571
cmp byte [ebp + eax - 0x4f], 0
je 0x41b570
cmp byte [ebp + eax - 0x4e], 0
je 0x41b56b
cmp byte [ebp + eax - 0x4d], 0
je 0x41b566
add eax, 4
cmp eax, 0x10
jb 0x41b540
jmp 0x41b571
add eax, 3
jmp 0x41b571
add eax, 2
jmp 0x41b571
inc eax
lea ecx, [eax + 2]
cmp ecx, 0x10
ja 0x41b580
mov word [ebp + eax - 0x50], 0x2e
shr ebx, 0x18
lea ecx, [ebp - 0x40]
mov edx, ebx
call fcn.004015f0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.004016c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x50]
push eax
push str.__s__send___failed__error__d.
call fcn.00416900
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e406
mov esp, ebp
pop ebp
ret
Function at 0x41ba40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x442288]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
push 0
lea eax, [ebx - 1]
imul eax, dword [edi + 0xa24]
push eax
push dword [edi + 0x208]
call fcn.0042185f
add esp, 0xc
test eax, eax
je 0x41bbdc
mov ebx, dword [edi + 0xa6c]
lea ecx, [ebp - 0x38]
movzx edx, bl
call fcn.004015f0
xor ecx, ecx
lea ecx, [ecx]
cmp byte [ebp + ecx - 0x38], 0
je 0x41bac1
cmp byte [ebp + ecx - 0x37], 0
je 0x41bac0
cmp byte [ebp + ecx - 0x36], 0
je 0x41babb
cmp byte [ebp + ecx - 0x35], 0
je 0x41bab6
add ecx, 4
cmp ecx, 0x10
jb 0x41ba90
jmp 0x41bac1
add ecx, 3
jmp 0x41bac1
add ecx, 2
jmp 0x41bac1
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41bad0
mov word [ebp + ecx - 0x38], 0x2e
movzx edx, byte [edi + 0xa6d]
lea ecx, [ebp - 0x28]
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.004016c0
xor ecx, ecx
lea esp, [esp]
cmp byte [ebp + ecx - 0x38], 0
je 0x41bb21
cmp byte [ebp + ecx - 0x37], 0
je 0x41bb20
cmp byte [ebp + ecx - 0x36], 0
je 0x41bb1b
cmp byte [ebp + ecx - 0x35], 0
je 0x41bb16
add ecx, 4
cmp ecx, 0x10
jb 0x41baf0
jmp 0x41bb21
add ecx, 3
jmp 0x41bb21
add ecx, 2
jmp 0x41bb21
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41bb30
mov word [ebp + ecx - 0x38], 0x2e
movzx edx, byte [edi + 0xa6e]
lea ecx, [ebp - 0x28]
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.004016c0
xor ecx, ecx
lea esp, [esp]
cmp byte [ebp + ecx - 0x38], 0
je 0x41bb81
cmp byte [ebp + ecx - 0x37], 0
je 0x41bb80
cmp byte [ebp + ecx - 0x36], 0
je 0x41bb7b
cmp byte [ebp + ecx - 0x35], 0
je 0x41bb76
add ecx, 4
cmp ecx, 0x10
jb 0x41bb50
jmp 0x41bb81
add ecx, 3
jmp 0x41bb81
add ecx, 2
jmp 0x41bb81
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41bb90
mov word [ebp + ecx - 0x38], 0x2e
shr ebx, 0x18
lea ecx, [ebp - 0x28]
mov edx, ebx
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.004016c0
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
push str.__s__Requested_block__d_does_not_exist.
call fcn.00416900
add esp, 0xc
mov ecx, edi
call fcn.0041b3f0
mov byte [edi + 0xa71], 1
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041e406
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x208]
lea eax, [edi + 0x210]
push dword [edi + 0xa24]
push 1
push eax
call fcn.00421aa7
add esp, 0x10
mov dword [edi + 0xa0c], eax
cmp eax, dword [edi + 0xa24]
je 0x41bc0e
mov byte [edi + 0xa70], 1
add eax, 4
push 3
mov dword [edi + 0xa0c], eax
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov word [edi + 0x20c], ax
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov ecx, edi
mov word [edi + 0x20e], ax
call fcn.0041b5d0
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0041e406
mov esp, ebp
pop ebp
ret 4
Function at 0x42b82f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x442288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00423a8a
mov dword [ebp - 0x14], eax
cmp dword [0x444438], esi
jne 0x42b922
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42b8af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42ba02
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42ba02
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ba02
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x444438], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44443c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x444440], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x444448], eax
test eax, eax
je 0x42b91f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x444444], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42b947
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b93a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42b95c
push 4
pop eax
jmp 0x42ba04
cmp dword [ebp - 0x14], esi
je 0x42b95c
push dword [0x444438]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42b941
mov eax, dword [0x444444]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42b9ba
cmp dword [0x444448], edi
je 0x42b9ba
push eax
call ebx
push dword [0x444448]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42b9ba
test eax, eax
je 0x42b9ba
call ecx
test eax, eax
je 0x42b9af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42b9af
test byte [ebp - 8], 1
jne 0x42b9ba
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42b9ea
mov eax, dword [0x44443c]
cmp eax, edi
je 0x42b9e7
push eax
call ebx
test eax, eax
je 0x42b9e7
call eax
mov esi, eax
test esi, esi
je 0x42b9e7
mov eax, dword [0x444440]
cmp eax, edi
je 0x42b9e7
push eax
call ebx
test eax, eax
je 0x42b9e7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x444438]
call ebx
test eax, eax
je 0x42ba02
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42ba04
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e406
mov esp, ebp
pop ebp
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406037
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x406046
pop dword [ebp - 0x34]
mov eax, 0x8f720e8c
add eax, 0x70ce51ba
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xd0529695
add dword [ebp - 0x44], 0x7dffaeb6
mov dword [ebp - 0x40], 0xe9382f6f
add dword [ebp - 0x40], 0x48fb1cd6
mov dword [ebp - 0x3c], 0xdd4fac0c
add dword [ebp - 0x3c], 0x6efc9822
mov dword [ebp - 0x38], 0x45abfa09
sub dword [ebp - 0x38], 0x45abfa09
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xe9661c4b
sub dword [ebp - 0x44], 0x74f3b2f5
mov dword [ebp - 0x40], 0xe6c930a5
add dword [ebp - 0x40], 0x5aa330d0
mov dword [ebp - 0x3c], 0x3a440b6b
sub dword [ebp - 0x3c], 0xd6d49eff
mov dword [ebp - 0x38], 0xfc716be4
sub dword [ebp - 0x38], 0xfc716be4
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x1bc58862
add eax, 0xe47b47ea
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x37783
push 0
call eax
mov ecx, 0x3f91
xor edx, edx
add edx, eax
mov ebx, 0xd47fe699
sub ebx, 0xd43e3699
add ebx, dword [ebp - 0x34]
mov edi, 0x62a8083e
add edi, 0x34979fb0
sub dword [ebp - 0xc], edi
mov esi, dword [ebx]
xor esi, edi
sub dword [ebp - 0xc], 0xa5935b62
mov dword [edx], esi
sub dword [ebp - 0x10], ebx
add edx, 0xb8a9e377
sub edx, 0xb8a9e373
add ebx, 4
loop 0x40615f
add eax, 0x93a37196
sub eax, 0x93a2807f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x10001b77
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000e018
call fcn.1000dd50
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10001bf4
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10001bf4
call fcn.1000127b
mov esi, eax
jmp 0x10001cfa
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10001c17
call fcn.1000127b
jmp 0x10001ced
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10001c0d
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10001c4a
mov esi, 0x8007000e
jmp 0x10001cef
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10001d28
jb 0x10001c65
cmp eax, 0xffffffff
ja 0x10001d28
cmp eax, 0x400
jbe 0x10001c7a
push eax
lea ecx, [ebp - 0x418]
call fcn.10002f6f
jmp 0x10001c9c
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10001c9c
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10001c40
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10001c0d
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.10002f6f
mov esi, eax
test edi, edi
je 0x10001cfa
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10001d13
lea ecx, [ebp - 0x418]
call fcn.10004013
lea ecx, [ebp - 0x428]
call fcn.10003e34
mov eax, esi
call fcn.1000dca1
ret 0x10
push 0x80070216
call fcn.10002f6f
int3
Function at 0x10004775
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x1000e30d
call fcn.1000dcae
mov dword [ebp - 0x1c], ecx
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x58], esi
test ebx, ebx
jne 0x100047a6
mov dword [ebp - 0x10], edi
jmp 0x100047af
push ebx
lea ecx, [ebp - 0x10]
call fcn.10002f6f
push 5
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10004908
push 6
push ebx
mov byte [ebp - 4], 1
call edi
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x10004908
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10004abb
mov ebx, eax
test ebx, ebx
js 0x100048ed
lea ecx, [ebp - 0x18]
call fcn.10004abb
mov ebx, eax
test ebx, ebx
js 0x100048ed
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x40], 0
je 0x100048e8
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
call ebx
cmp eax, 0x8000
ja 0x100048e8
push dword [ebp - 0x10]
call ebx
cmp eax, 6
jb 0x100048e8
lea ecx, [ebp - 0x10]
call fcn.10004abb
mov ebx, eax
test ebx, ebx
js 0x100048ed
push str.http:
lea ecx, [ebp - 0x14]
call fcn.10002f6f
test al, al
je 0x1000486d
push str.https:
lea ecx, [ebp - 0x18]
call fcn.10002f6f
test al, al
jne 0x100048e8
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
test ax, ax
je 0x100048e8
mov ecx, eax
cmp cx, 0xd
je 0x100048e8
cmp cx, 0xa
je 0x100048e8
mov dword [ebp - 0x1c], 0x2f
lea eax, [edx + 1]
cmp word [ebp - 0x1c], cx
cmovne eax, edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x1000487f
cmp edx, 3
jb 0x100048e8
push dword [ebp - 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [ebp - 0x58]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x100048ed
mov ebx, 0x80070057
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
call edi
push dword [ebp - 0x10]
call edi
mov eax, ebx
call fcn.1000dc7f
ret 4
push 0x8007000e
call fcn.10002f6f
int3
Function at 0xfb4920
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xff8460
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1011014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x1012058
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00fc7a20
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x1011a88
push eax
call fcn.00fc7a20
mov esi, dword [0x1012068]
xor ebx, ebx
mov edi, dword [0x101206c]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x1015270], bl
mov eax, ebx
mov ecx, 0x1012058
cmovae ecx, dword [0x1012058]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x1015380], al
inc ebx
cmp ebx, 0x100
jl 0xfb49a0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x1015270]
movzx eax, byte [esi + 0x1015380]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xfb49f4
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x1015270]
mov byte [esi + 0x1015270], al
inc esi
mov byte [edi + 0x1015270], dl
cmp esi, 0x100
jl 0xfb49d0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00fb4570
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xfb4a49
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xfb4a3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xfb4a9f
push edx
push ecx
call fcn.00fccfc8
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xfb4a8b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xfb4a81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xfb4a9f
push edx
push ecx
call fcn.00fccfc8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00fe6597
int3
Function at 0xfb4ab0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1011014]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0xfb4b0b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x100714b
mov byte [esi], al
call fcn.00fc7a20
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00fcc951
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0xfb4b25
cmp byte [eax + edx - 1], 0x3d
je 0xfb4b25
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0xfb4b47
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0xfb4b3f
cmp byte [eax + edx - 2], 0x3d
jne 0xfb4b3f
mov dword [esp + 0x20], edi
jmp 0xfb4b47
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00fc78e0
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0xfb4c15
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x1007e70]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x1007e70]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x1007e70]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x1007e70]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0xfb4bb0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0xfb4c72
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x1007e70]
shl edx, 6
or edx, dword [ecx*4 + 0x1007e70]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0xfb4c72
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x1007e70]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.00fcc951
mov esp, ebp
pop ebp
ret