joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004bec0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push edi
xor edi, edi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1004c097
mov eax, dword [eax + 0x1c]
mov ebx, edi
inc edi
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x1004bed7
test edi, edi
je 0x1004c097
lea eax, [edi + edi*4]
shl eax, 3
push esi
push eax
mov dword [esp + 0x2c], eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
jne 0x1004bf17
lea eax, [esi + 0xf]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebp, dword [ebp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
test edi, edi
je 0x1004c01c
mov ebx, dword [esp + 0x30]
lea ecx, [esi + 0x24]
mov dword [esp + 0x10], ecx
mov dword [ecx], eax
mov dword [ecx - 0x24], ebp
mov ebp, dword [ebp + 0x18]
movzx ecx, word [ebp]
mov eax, ecx
sub eax, 2
je 0x1004bf5d
sub eax, 0x15
je 0x1004bf56
xor eax, eax
jmp 0x1004bfea
mov eax, 0x1c
jmp 0x1004bf62
mov eax, 0x10
push 0x11
push 2
push ecx
push ebx
mov dword [esp + 0x24], eax
call fcn.1004f9a0
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x1004bf90
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [eax], 0x273f
jne 0x1004c07d
xor eax, eax
jmp 0x1004bfea
push dword [esp + 0x14]
push ebp
push esi
push ebx
call fcn.1004f480
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1004bfbf
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [eax], 0x2714
je 0x1004bf90
push esi
push ebx
call fcn.1004f440
add esp, 8
xor eax, eax
jmp 0x1004bfea
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
add eax, 0xffffffe4
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push esi
push ebx
test eax, eax
jne 0x1004c075
call fcn.1004f440
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov dword [ecx - 0x20], eax
add ecx, 0x28
mov eax, dword [esp + 0x18]
mov ebp, dword [ebp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebp
cmp eax, edi
jb 0x1004bf37
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push 0x1004c360
push 0x28
push edi
push esi
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
mov ecx, dword [esp + 0x44]
add esp, 0x10
mov eax, dword [esi]
mov dword [ecx + 0x1c], eax
test ebx, ebx
je 0x1004c052
mov ecx, esi
nop dword [eax]
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x28]
mov ecx, dword [ecx]
mov dword [ecx + 0x1c], eax
lea ecx, [edx]
sub ebx, 1
jne 0x1004c040
mov eax, dword [esp + 0x28]
push esi
mov eax, dword [eax + esi - 0x28]
mov dword [eax + 0x1c], 0
call dword [0x10087008]
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
call fcn.1004f440
add esp, 8
push dword [esp + 0x20]
call dword [0x10087008]
add esp, 4
mov eax, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
Function at 0x1004f480
Capabilities:
Connect socket

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x1004f4ad
mov eax, dword [eax + 8]
test eax, eax
je 0x1004f4ad
push dword [ecx + 0xb8]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
call eax
add esp, 0x10
ret
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_connect]
ret
Function at 0x1004f9e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x1004fa13
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1004fa13
push dword [ecx + 0xb8]
push 0
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call eax
add esp, 0x1c
ret
push 0
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_recv]
ret

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

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x1004fa69
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1004fa69
push dword [ecx + 0xb8]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call eax
add esp, 0x1c
ret
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recvfrom]
ret

Function at 0x1004fa90
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x1004fad2
mov edx, dword [eax + 0x10]
test edx, edx
je 0x1004fad2
push dword [ecx + 0xb8]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
lea eax, [esp + 4]
push 1
push eax
push dword [esp + 0x1c]
call edx
add esp, 0x10
add esp, 8
ret
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
add esp, 8
ret

Function at 0x1004ff70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
test esi, esi
je 0x1004ff95
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004ff84
pop edi
mov eax, edx
pop esi
ret

Function at 0x1004ffa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x1c]
test ebx, ebx
je 0x1004ffd3
movzx eax, byte [esi + ebp]
push eax
call fcn.10044610
movzx eax, al
inc esi
xor eax, edi
add esp, 4
imul edi, eax, 0x1000193
cmp esi, ebx
jb 0x1004ffb6
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40353d
Capabilities:
Set socket configuration

Disassembly:
push 4
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0xffff
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x40433f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x404368
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00470a85
cmp dword [ebp + 8], edi
je 0x404379
push dword [esi + 0xc]
push 0xffffffffffffffff
push 0xd
call fcn.00470a3f
pop ebp
ret 4
Function at 0x4073c1
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x4a0831
call fcn.0048d8b2
call fcn.0046df20
push eax
lea ecx, [ebp - 0x10]
call fcn.0046e14b
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0046df20
push eax
lea ecx, [ebp - 0x14]
call fcn.0046e14b
push edi
push str..htm
mov esi, SysReAllocString
lea eax, [ebp - 0x18]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0045d443
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040189c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
push str._shellopencommand
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040145d
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040189c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov ebx, dword [ebp - 0x14]
push edi
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0045d443
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040189c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x10]
call fcn.004609f5
test eax, eax
je 0x4074a4
lea ecx, [ebx - 0x10]
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x407591
push 0x4b6068
lea esi, [ebp - 0x10]
call fcn.00403245
mov esi, eax
cmp esi, 0xffffffff
je 0x407531
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ad
mov edi, eax
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004013d0
push dword [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004032bb
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.004032bb
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040189c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x24]
jmp 0x407572
push 0x4b606c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040145d
push dword [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004032bb
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0040189c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov esi, dword [ebp - 0x10]
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_WinExec]
lea ecx, [ebx - 0x10]
call fcn.0040174a
lea ecx, [esi - 0x10]
call fcn.0040174a
call fcn.0048d98a
ret
Function at 0x40a280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2946
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x18]
mov ecx, edi
call fcn.004609f5
test eax, eax
jne 0x40a2c7
push edi
mov eax, 0x4db4c4
call fcn.00458075
pop ecx
lea esi, [ebx + 0x20]
mov ecx, esi
call fcn.004609f5
test eax, eax
jne 0x40a2e1
push esi
mov eax, 0x4db4d8
call fcn.00458075
pop ecx
lea esi, [ebx + 0x50]
mov ecx, esi
call fcn.004609f5
test eax, eax
jne 0x40a31e
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004637e6
and dword [esp + 0x28], 0
push eax
mov eax, 0x4db4ec
call fcn.00458075
or dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, edi
call fcn.00401954
lea ecx, [ebx + 0x1c]
call fcn.00401954
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.0045c10b
test eax, eax
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
je 0x40a345
push dword [esi]
call edi
lea esi, [ebx + 0x38]
mov ecx, esi
call fcn.0045c10b
test eax, eax
je 0x40a357
push dword [esi]
call edi
call fcn.00407d47
xor eax, eax
inc eax
and dword [ebx + 0x14], 0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [0x4db168], eax
mov dword [0x4db16c], eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af01
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a289f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0046df20
push eax
lea ecx, [esp + 0x18]
call fcn.0046e14b
and dword [esp + 0x38], 0
push 3
lea eax, [esp + 0x24]
lea edi, [esi + 0x50]
push eax
mov ecx, edi
call fcn.004013d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.0040189c
mov byte [esp + 0x38], 0
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [esi + 0x378], 0
je 0x40afa8
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x64]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040174a
mov eax, edi
mov edx, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0045bf5f
mov edi, edx
cmp edi, dword [esi + 0x64]
mov ebx, eax
jg 0x40b086
jl 0x40afc7
cmp ebx, dword [esi + 0x60]
jae 0x40b086
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceA]
test eax, eax
jne 0x40affa
push 0x40
pop eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x200
jmp 0x40affe
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x64]
xor edx, edx
sub ecx, ebx
sbb eax, edi
cmp eax, edx
jl 0x40b02d
jg 0x40b01f
cmp ecx, dword [esp + 0x18]
jbe 0x40b02d
mov eax, dword [esp + 0x18]
add eax, eax
xor ecx, ecx
sub ebx, eax
sbb edi, ecx
jmp 0x40b033
sub ebx, dword [esp + 0x18]
sbb edi, edx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], ebx
mov edi, dword [0x4db468]
call fcn.00471d19
mov eax, dword [eax + 4]
push 4
push str.Rollback
push edi
mov ecx, eax
call fcn.00471162
mov edx, dword [esi + 0x60]
shl eax, 0xa
xor ecx, ecx
xor ebx, ebx
sub edx, eax
mov eax, dword [esi + 0x64]
push ebx
mov edi, 0x400
push edi
sbb eax, ecx
push eax
push edx
call fcn.0048e7f0
push ebx
push edi
push edx
push eax
call fcn.0048e7b0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
jmp 0x40b088
xor ebx, ebx
cmp dword [esi + 0x64], ebx
jg 0x40af7d
jl 0x40b09c
cmp dword [esi + 0x60], ebx
jae 0x40af7d
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x40af7d
Function at 0x412481
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4a0a5c
call fcn.0048d8b2
call fcn.0046df20
push eax
lea ecx, [ebp - 0x10]
call fcn.0046e14b
and dword [ebp - 4], 0
mov esi, dword [0x4db468]
call fcn.00471d19
mov eax, dword [eax + 4]
push 0x4b578c
push str.FaceFile
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00471304
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004609f5
test eax, eax
jne 0x412557
push dword [ebp - 0x14]
mov esi, 0x104
push esi
push esi
lea ecx, [ebp - 0x10]
call fcn.0040177d
mov edi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push eax
push 0x4b71dc
push str.TextOffset
mov ebx, str.Downloads
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403370
lea eax, [ebp - 0x10]
push eax
call fcn.004617ad
pop ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 0x21c0], eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0040177d
push eax
push 0x4b71f8
push str.ResumeTextOffset
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403370
lea eax, [ebp - 0x10]
push eax
call fcn.004617ad
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x21c4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
call fcn.0048d98a
ret 4
Function at 0x44506d
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
test eax, eax
mov esi, edx
jbe 0x4450eb
push 3
dec eax
xor edx, edx
pop edi
div edi
push ebx
inc eax
mov edi, eax
imul edi, edi, 3
movzx edx, byte [esi]
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
movzx edx, byte [esi]
movzx ebx, byte [esi + 1]
and edx, 3
shl edx, 4
shr ebx, 4
or edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 2]
and edx, 0xf
shl edx, 2
shr ebx, 6
or edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 2]
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
inc ecx
add esi, 3
dec eax
jne 0x44508a
mov eax, dword [esp + 0x10]
pop ebx
lea edx, [eax + 1]
cmp edi, edx
je 0x4450fd
add eax, 2
cmp edi, eax
jne 0x445101
mov byte [ecx - 2], 0x3d
mov byte [ecx - 1], 0x3d
xor eax, eax
pop edi
mov byte [ecx], 0
inc eax
pop esi
ret

Function at 0x4451e3
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x24
xor ebx, ebx
mov edi, eax
push ebx
push edi
call fcn.004887d0
push 0x1c
call fcn.004895d6
push 0x1c
mov esi, eax
push ebx
push esi
call fcn.004887d0
push dword [ebp + 0x10]
call fcn.0048a9a1
push dword [ebp + 0x10]
mov dword [esi + 8], eax
call fcn.00487e70
push dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.0048a9a1
push dword [ebp + 8]
mov dword [esi], eax
call fcn.00487e70
push dword [ebp + 0xc]
mov dword [esi + 4], eax
call fcn.0048a9a1
push dword [ebp + 0xc]
mov dword [esi + 0x10], eax
call fcn.00487e70
add esp, 0x34
mov dword [esi + 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 4]
push eax
push ebx
push ebx
push esi
push ebx
mov dword [esi + 0x18], 1
push 2
mov esi, str.NTLM
push esi
push ebx
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x445278
xor eax, eax
jmp 0x4452ac
lea eax, [ebp - 4]
push eax
push esi
call sub.Secur32.dll_QuerySecurityPackageInfoA
test eax, eax
jne 0x445274
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push eax
mov dword [edi + 0x10], ecx
call sub.Secur32.dll_FreeContextBuffer
mov dword [edi], 1
mov edi, dword [edi + 0x10]
push 3
lea eax, [edi + 3]
xor edx, edx
pop ecx
div ecx
lea eax, [eax + edi + 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44565c
Capabilities:
Resume thread

Disassembly:
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x250], edi
jne 0x4456cd
mov eax, dword [esi + 0x420]
cmp eax, edi
je 0x44567f
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
jmp 0x4456cd
mov eax, dword [esi + 0x274]
call fcn.0040e0d7
test eax, eax
je 0x445696
cmp dword [esi + 0x1f0], edi
jne 0x4456cd
push 0xa
push 0x8c7
call fcn.0043f6d2
push 0xc
call fcn.004895d6
pop ecx
mov ecx, dword [esi + 0x1c0]
push edi
push edi
push edi
push edi
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x20]
push eax
push 0x44fe23
mov dword [eax], ecx
call fcn.004793dc
mov dword [esi + 0x420], eax
pop edi
pop esi
ret
Function at 0x448442
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x4a246d
call fcn.0048d8b2
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.0040189c
call fcn.0046df20
push eax
lea ecx, [ebp - 0x10]
call fcn.0046e14b
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004609f5
test eax, eax
jne 0x4485a5
push str.res:
push esi
call fcn.0046050f
test eax, eax
pop ecx
pop ecx
je 0x448539
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004013ad
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00458507
pop ecx
mov esi, eax
call fcn.00471d19
mov eax, dword [eax + 0xc]
movzx ecx, si
push 0x17
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x448528
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
je 0x448528
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
cmp edi, ebx
je 0x448528
call fcn.00471d19
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.0043cdcd
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040189c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x10]
call fcn.0045bd8c
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, dword [ebp + 8]
cmp dword [edi + 0x54], ebx
je 0x4485a5
lea ecx, [edi + 0x58]
mov dword [ebp + 8], ebx
call fcn.0046e606
cmp eax, ebx
je 0x4485a5
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x4b44ec
push eax
call dword [ecx]
cmp dword [ebp + 8], ebx
je 0x4485a5
lea ecx, [ebp - 0x10]
call fcn.004609f5
test eax, eax
mov ecx, dword [ebp + 0xc]
jne 0x448574
mov ecx, 0x4db58c
call fcn.00403f15
push 8
push ebx
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0048145a
lea edx, [ebp - 0x28]
push edx
push edx
push edx
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
call fcn.0048d98a
ret 8

Function at 0x44c3b9
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x451ae8
Capabilities:
Link many functions at runtime

Disassembly:
push 0x10
mov eax, 0x4a3606
call fcn.0048d8b2
mov edi, dword [0x4db468]
call fcn.00471d19
mov eax, dword [eax + 4]
xor esi, esi
push esi
push str.NoRAS
push edi
mov ecx, eax
call fcn.00471162
test eax, eax
jne 0x451cbf
call fcn.00451a85
cmp dword [0x4db2ac], esi
je 0x451b6e
cmp dword [0x4db2b4], esi
je 0x451cbf
cmp dword [0x4db2b8], esi
je 0x451cbf
cmp dword [0x4db2c8], esi
je 0x451cbf
cmp dword [0x4db2bc], esi
je 0x451cbf
cmp dword [0x4db2c0], esi
je 0x451cbf
cmp dword [0x4db2c4], esi
jmp 0x451cb8
lea eax, [ebp - 0x14]
push str.SBTBQJ43_EMM
push eax
call fcn.00461468
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
push ecx
mov esi, eax
call fcn.0046353b
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
add esp, 0xc
push dword [eax]
call edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [0x4db2ac], eax
call fcn.0040174a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x1c]
push str.SBTEMH_EMM
push eax
call fcn.00461468
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov dword [ebp - 4], 1
call fcn.0046353b
add esp, 0xc
push dword [eax]
call edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [0x4db2b0], eax
call fcn.0040174a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [0x4db2ac]
xor edi, edi
cmp eax, edi
je 0x451cbf
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.RasEnumConnectionsA
push eax
call esi
push str.RasEnumEntriesA
push dword [0x4db2ac]
mov dword [0x4db2b4], eax
call esi
push str.RasGetConnectStatusA
push dword [0x4db2ac]
mov dword [0x4db2b8], eax
call esi
push str.RasDialA
push dword [0x4db2ac]
mov dword [0x4db2bc], eax
call esi
push str.RasHangUpA
push dword [0x4db2ac]
mov dword [0x4db2c0], eax
call esi
push str.RasGetErrorStringA
push dword [0x4db2ac]
mov dword [0x4db2c4], eax
call esi
mov dword [0x4db2c8], eax
mov eax, dword [0x4db2b0]
cmp eax, edi
je 0x451c8a
push str.RasDialDlgA
push eax
call esi
mov dword [0x4db2cc], eax
cmp dword [0x4db2b4], edi
je 0x451cbf
cmp dword [0x4db2b8], edi
je 0x451cbf
cmp dword [0x4db2c8], edi
je 0x451cbf
cmp dword [0x4db2bc], edi
je 0x451cbf
cmp dword [0x4db2c0], edi
je 0x451cbf
cmp dword [0x4db2c4], edi
je 0x451cbf
xor eax, eax
inc eax
jmp 0x451cc1
xor eax, eax
call fcn.0048d98a
ret

Function at 0x451f1f
Capabilities:
Hash data using sha1

Disassembly:
lea ecx, [eax + 0x74]
mov dword [eax], vtable.CSHA1.0
mov dword [eax + 0xb4], ecx
jmp fcn.00451f5c

Function at 0x451f4f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, ecx
mov dword [eax], vtable.CSHA1.0
jmp fcn.00451f5c

Function at 0x451f5c
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
mov dword [eax + 0x14], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0xb8], ecx
ret