joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10276210
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x5e1], 0
je 0x1027629c
cmp dword [esi + 0x194], 0
je 0x10276263
push esi
call fcn.1026ae60
push 1
push esi
mov byte [esp + 0x14], al
call fcn.1026b0f0
push dword [esi + 0x144]
mov eax, dword [esi + 0x194]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.1026b0f0
add esp, 0x28
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x1027629c
push dword [esi + 0x140]
lea eax, [eax + eax*2]
push 1
add eax, 0x102b4af0
push 2
push eax
call fcn.1029c382
push dword [esi + 0x140]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.1029c382
add esp, 0x20
pop esi
ret

Function at 0x10278390
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x102b4df0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x102783aa
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x102b4e0c
push esi
call fcn.102a0760
add esp, 8
test eax, eax
je 0x102783f2
test ebp, ebp
je 0x102783e3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x10278418
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10278418
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x102784cf
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10278435
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x102c9530]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x102784c5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x102784c5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10278467
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10278480
sub ecx, edx
add ecx, ebx
sub ecx, esi
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10278490
test ebp, ebp
je 0x102784bc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x102c9534]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x102c9534]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x1027c7d0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1027c810
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x1027c7ff
push 0
call fcn.1027c7d0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x104], cl
mov ecx, dword [esi + 0x7c]
xor eax, eax
pop esi
cmp byte [ecx + 0x104], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1027c82d
xor esi, esi
xor eax, eax
cmp eax, esi
pop esi
sbb eax, eax
neg eax
ret
push eax
mov esi, 1
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
cmp eax, esi
pop esi
sbb eax, eax
neg eax
ret
Function at 0x10282430
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [eax], ebx
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x102825c1
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x102825ac
push ebp
push edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1028248e
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10282480
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10282490
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ecx
cmp eax, 2
jne 0x102824a1
lea ebp, [eax + 0xe]
jmp 0x102824ad
cmp eax, 0x17
jne 0x1028254e
lea ebp, [eax + 5]
cmp dword [esi + 0x18], 0
je 0x1028254e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1028254e
cmp eax, ebp
jb 0x1028254e
lea eax, [ecx + 0x20]
add eax, ebp
push eax
call dword [0x102c9530]
mov edi, eax
add esp, 4
test edi, edi
je 0x1028259d
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x20]
push ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.10292d70
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x1028253a
mov eax, dword [edi + 0x18]
add eax, ebp
push ecx
mov dword [edi + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.10292d70
add esp, 0xc
mov eax, dword [esp + 0x18]
test ebx, ebx
cmove ebx, edi
test eax, eax
je 0x1028254a
mov dword [eax + 0x1c], edi
mov dword [esp + 0x18], edi
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10282472
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
test eax, eax
je 0x1028256e
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x102825a8
test ebx, ebx
je 0x1028258d
mov esi, dword [ebx + 0x1c]
push ebx
call dword [0x102c9534]
add esp, 4
mov ebx, esi
test esi, esi
jne 0x10282576
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x1028255d
test ebx, ebx
jne 0x102825b8
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x10285910
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x102c9538]
mov edi, eax
add esp, 8
test edi, edi
je 0x102858e7
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x102858ff
cmp esi, ebx
je 0x102858ff
cmp esi, 0x8000
ja 0x102858ff
cmp esi, ebx
jb 0x102858f8
push esi
push edi
call dword [0x102c9538]
mov edi, eax
add esp, 8
test edi, edi
jne 0x102858b0
push ebp
call dword [0x102c9534]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x102c9534]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
jmp 0x10285890

Function at 0x102897c0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x102cde08]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x10289811
push 3
push 2
push eax
push eax
push 6
call fcn.1028b400
add esp, 0x14
test al, al
je 0x10289805
mov dword [0x102cde08], 2
add esp, 0xc
ret
mov dword [0x102cde08], 1
jmp 0x10289816
cmp eax, 2
je 0x1028985c
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x10289841
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x1028985c
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0x1028a0f0
Capabilities:
Connect socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [ebx + 8]
push dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
push dword [edi + 0x98]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1028a144
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
cmp ecx, 0xb
je 0x1028a1a5
cmp ecx, 0x2732
jle 0x1028a132
cmp ecx, 0x2734
jle 0x1028a1a5
mov eax, dword [esp + 0x10]
pop edi
pop ebx
mov dword [eax + 0x83c], ecx
mov eax, 7
ret
push dword [esp + 0x10]
mov byte [edi + 0x15e], 1
push ebx
call fcn.1028a270
push dword [edi + 0xec]
cmp dword [edi], 5
lea eax, [edi + 0xbc]
push eax
push dword [edi + 0x120]
lea eax, [edi + 0xf0]
mov ecx, 0x102b7188
push eax
push dword [edi + 0x98]
mov eax, str.QUIC
cmovne eax, ecx
push eax
push str._s_socket__d_connected:___s:_d_______s:_d_
push ebx
push dword [esp + 0x38]
call fcn.10275590
push 1
push dword [edi + 0x98]
call fcn.1028ee40
add esp, 0x34
pop edi
xor eax, eax
pop ebx
ret

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

Disassembly:
sub esp, 0x104
mov eax, dword [0x102c97f4]
xor eax, esp
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0x10c]
push edi
mov edi, dword [esp + 0x11c]
push 0
mov eax, dword [ebx]
push dword [esp + 0x11c]
push ecx
mov eax, dword [eax + 8]
mov dword [edi], 0
push dword [eax + 0x98]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1028a24e
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x1028a21a
mov dword [edi], 0x51
jmp 0x1028a24a
push 0x100
lea eax, [esp + 0x10]
push eax
push esi
call fcn.102885e0
push eax
push str.Recv_failure:__s
push dword [ebx + 4]
call fcn.102762a0
mov eax, dword [ebx + 4]
add esp, 0x18
mov dword [eax + 0x83c], esi
mov dword [edi], 0x38
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x108]
pop edi
pop ebx
xor ecx, esp
call fcn.10291b7e
add esp, 0x104
ret
Function at 0x1028a270
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x102c97f4]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x13c]
test dword [eax + 0x44], 0x800
jne 0x1028a39e
push 0x80
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x80
push 0
push eax
call fcn.10293870
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1028a32a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.102885e0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.102762a0
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.10291b7e
add esp, 0x188
ret
lea eax, [esi + 0x120]
push eax
lea eax, [esi + 0xf0]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.10277260
add esp, 0x10
test al, al
jne 0x1028a39e
push edi
call fcn.1029aa2b
mov esi, eax
call fcn.1029aa2b
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push dword [esi]
call fcn.102885e0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.102762a0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.10291b7e
add esp, 0x188
ret
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.10291b7e
add esp, 0x188
ret

Function at 0x1028a5b0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x102c97f4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
xor eax, eax
push 4
cmp byte [esi + 0x5ed], al
setne al
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 8
push 0xffff
push dword [esp + 0x34]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
js 0x1028a652
push dword [esi + 0x59c]
mov dword [esp + 0x10], 1
call fcn.10278360
push dword [esi + 0x5a0]
imul eax, eax, 0x3e8
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
call fcn.10278360
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push dword [esp + 0x44]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1028a658
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.10291b7e
add esp, 0x18
ret
Function at 0x1028a670
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x108
mov eax, dword [0x102c97f4]
xor eax, esp
mov dword [esp + 0x104], eax
push 4
lea eax, [esp + 4]
mov dword [esp + 4], 1
push eax
push 1
push 6
push dword [esp + 0x120]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1028a6d3
push 0x100
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.102885e0
push eax
push str.Could_not_set_TCP_NODELAY:__s
push dword [esp + 0x120]
call fcn.10275590
add esp, 0x18
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10291b7e
add esp, 0x108
ret
Function at 0x1028c690
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x102c97f4]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.102a40e5
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1028c708
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.102886c0
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.102762a0
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x1028c847
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x1028c75a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.102886c0
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.102762a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x1028c847
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1028c79a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.102886c0
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.102762a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x1028c83d
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x1028c7c8
jg 0x1028c7ae
cmp edi, 0x100000
jbe 0x1028c7c8
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.102762a0
add esp, 0xc
mov esi, 0x4d
jmp 0x1028c83d
lea eax, [edi + 1]
push eax
call dword [0x102c9530]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1028c7e0
lea esi, [eax + 0x1b]
jmp 0x1028c83d
test edi, edi
je 0x1028c824
nop dword [eax]
nop dword [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1028c881
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1028c87d
add esi, eax
cmp esi, edi
jb 0x1028c7f0
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.1028c490
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x102c9534]
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x1028c862
push eax
call fcn.1029a2b6
add esp, 4
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10291b7e
add esp, 0x120
ret
mov edi, esi
jmp 0x1028c824
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.102886c0
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.102762a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x1028c83d
Function at 0x1028e9d0
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.10293870
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret

Function at 0x102a9019
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.102a8e98
Function at 0x10008069
Capabilities:
Get session user name

Disassembly:
push 0x138
mov eax, 0x1009f134
call fcn.1009de72
mov esi, ecx
mov dword [ebp - 0x134], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
mov edi, dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
xor ebx, ebx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x128], eax
call edi
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], ebx
call edi
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x120]
add eax, 4
mov byte [ebp - 4], 1
mov esi, dword [esi + 0xc]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
push ecx
push ebx
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.1000822f
lea ecx, [ebp - 0x120]
mov byte [ebp - 0x115], al
mov byte [ebp - 4], 1
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
lea ecx, [ebp - 0x12c]
call edi
mov edi, dword [ebp - 0x134]
lea ecx, [ebp - 0x144]
push 0x1267
push ebx
push ebx
mov byte [ebp - 4], 3
mov esi, dword [edi + 0xc]
push 6
call dword [sym.imp.fpsrvutl.dll_Ordinal_304]
push eax
lea ecx, [esi + 0x44]
call dword [sym.imp.fpsrvutl.dll_Ordinal_933]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_4818]
test al, al
je 0x1000816b
mov ecx, dword [edi + 8]
call fcn.100063e6
push ebx
lea ecx, [ebp - 0x12c]
push ecx
push str.vti_username
mov ecx, eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3695]
mov bl, al
test bl, bl
je 0x1000816b
lea ecx, [ebp - 0x12c]
jmp 0x1000817a
cmp byte [ebp - 0x115], 0
je 0x100081a3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5580]
mov edi, dword [ebp - 0x124]
mov ecx, edi
push eax
call esi
cmp byte [ebp - 0x115], 0
je 0x100081a9
lea ecx, [ebp - 0x130]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5580]
push eax
jmp 0x100081ae
mov edi, dword [ebp - 0x124]
push 0x100b0de0
mov ecx, dword [ebp - 0x128]
call esi
test bl, bl
jne 0x100081fc
cmp byte [ebp - 0x115], bl
jne 0x100081fc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x81
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5525]
mov ecx, dword [ebp - 0x128]
push 0x100b0de0
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x12c]
mov edi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov esi, dword [eax - 4]
call edi
lea ecx, [ebp - 0x130]
call edi
lea ecx, [ebp - 0x11c]
call edi
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
call fcn.1009de27
ret 8
Function at 0x1002784d
Capabilities:
Parse pe header

Disassembly:
push 0x10
mov eax, 0x100a2943
call fcn.1009de72
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
test al, 1
je 0x1002786f
mov byte [ebp - 0x18], 0x4e
jmp 0x1002789a
test al, 2
je 0x10027879
mov byte [ebp - 0x18], 0x46
jmp 0x1002789a
test al, 3
je 0x10027883
mov byte [ebp - 0x18], 0x53
jmp 0x1002789a
test al, 4
je 0x1002788d
mov byte [ebp - 0x18], 0x57
jmp 0x1002789a
and al, 5
neg al
sbb al, al
and al, 0xef
add al, 0x55
mov byte [ebp - 0x18], al
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 0x16], 0
test bl, 1
je 0x100278af
mov byte [ebp - 0x17], 0x49
jmp 0x100279c0
test bl, 2
je 0x100278bd
mov byte [ebp - 0x17], 0x48
jmp 0x100279c0
test bl, 3
je 0x100278cb
mov byte [ebp - 0x17], 0x4b
jmp 0x100279c0
test bl, 4
je 0x100278d9
mov byte [ebp - 0x17], 0x53
jmp 0x100279c0
test bl, 5
je 0x100278e7
mov byte [ebp - 0x17], 0x41
jmp 0x100279c0
test bl, 6
je 0x100278f5
mov byte [ebp - 0x17], 0x42
jmp 0x100279c0
test bl, 7
je 0x10027903
mov byte [ebp - 0x17], 0x4c
jmp 0x100279c0
test bl, 8
je 0x10027911
mov byte [ebp - 0x17], 0x4d
jmp 0x100279c0
test bl, 9
je 0x1002791f
mov byte [ebp - 0x17], 0x54
jmp 0x100279c0
test bl, 0xa
je 0x1002792d
mov byte [ebp - 0x17], 0x59
jmp 0x100279c0
test bl, 0xb
je 0x1002793b
mov byte [ebp - 0x17], 0x46
jmp 0x100279c0
test bl, 0xc
je 0x10027946
mov byte [ebp - 0x17], 0x44
jmp 0x100279c0
mov ecx, 0x4000002
mov eax, ebx
and eax, ecx
cmp eax, ecx
jne 0x10027959
mov byte [ebp - 0x17], 0x4e
jmp 0x100279c0
test bl, 0xd
je 0x10027964
mov byte [ebp - 0x17], 0x57
jmp 0x100279c0
test bl, 0xe
je 0x1002796f
mov byte [ebp - 0x17], 0x43
jmp 0x100279c0
test bl, 0xf
je 0x1002797a
mov byte [ebp - 0x17], 0x58
jmp 0x100279c0
test bl, 0x10
je 0x10027985
mov byte [ebp - 0x17], 0x51
jmp 0x100279c0
test bl, 0x11
je 0x10027990
mov byte [ebp - 0x17], 0x45
jmp 0x100279c0
test bl, 0x12
je 0x1002799b
mov byte [ebp - 0x17], 0x47
jmp 0x100279c0
test bl, 0x14
je 0x100279a6
mov byte [ebp - 0x17], 0x50
jmp 0x100279c0
test bl, 0x15
je 0x100279b1
mov byte [ebp - 0x17], 0x5a
jmp 0x100279c0
mov al, bl
and al, 0x13
neg al
sbb al, al
and al, 0xfd
add al, 0x55
mov byte [ebp - 0x17], al
mov byte [ebp - 0x15], 0
test ebx, 0x10000000
je 0x100279d2
mov word [ebp - 0x16], 0x4455
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4818]
test ebx, 0x20000000
je 0x10027a0d
push 0x100b29f4
lea ecx, [ebp - 0x1c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
call fcn.1009de27
ret 0x10
Function at 0x1002f691
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor edx, edx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [ebx], edx
test ecx, ecx
je 0x1002f6ce
mov eax, dword [esi + 4]
cmp eax, 4
je 0x1002f6b4
cmp eax, 5
jne 0x1002f6ce
cmp dword [esi + 0x98], edx
jne 0x1002f6e2
sub eax, 4
je 0x1002f6d7
sub eax, 1
jne 0x1002f6ce
mov eax, dword [esi + 0x78]
mov dword [ebx], eax
mov dword [esi + 0x78], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov dword [esi + 0x9c], eax
jmp 0x1002f6ce
mov cl, byte [esi + 0x7c]
test cl, cl
je 0x1002f6ce
cmp eax, 5
jne 0x1002f6ce
lea edi, [esi + 0xa0]
cmp dword [edi], edx
jne 0x1002f756
push dword [esi + 0x64]
push str.call_InternetWriteFile_0x_08x__n
push 7
push 0xc
call fcn.1001ea75
add esp, 0x10
lea ecx, [esi + 0x34]
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x64]
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov byte [esi + 0x7c], al
test al, al
je 0x1002f740
push dword [esi + 0x64]
push str.InternetWriteFile_0x_08x__completed_synchronously_n
push 7
push 0xc
call fcn.1001ea75
add esp, 0x10
mov al, byte [esi + 0x7c]
xor edx, edx
mov cl, al
test al, al
je 0x1002f756
cmp dword [edi], edx
jne 0x1002f756
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
mov cl, al
test cl, cl
je 0x1002f775
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi]
sub dword [esi + 0x78], eax
mov dword [edi], edx
je 0x1002f775
mov ecx, dword [esi + 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x1002f6ce
movsx eax, byte [esi + 0x7c]
push ecx
push edx
push eax
lea ecx, [esi + 0x34]
call fcn.10042763
jmp 0x1002f6d0