joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4132a0
Capabilities:
Connect socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49af78
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00412b50
test al, al
je 0x4132dc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
push 0
push eax
push edi
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4133b8
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push edi
push 0x4c3140
mov dword [esp + 0x2c], ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.004128a0
test al, al
jne 0x413340
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
lea edx, [esp + 0xc]
push 0x10
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x413370
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 2
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004128a0
lea edx, [esp + 0xc]
push 0x10
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4133b5
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov dword [ebx + 4], esi
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp esi, 0xffffffff
pop edi
pop esi
pop ebx
setne al
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x413410
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.00412b80
test al, al
jne 0x41349e
mov ecx, esi
call fcn.00412b50
test al, al
je 0x41349e
push ebx
lea eax, [esp + 8]
push edi
push eax
push 4
push esi
push 0x414bc0
push 0
push 0
mov dword [esp + 0x24], 0
call fcn.00476866
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x41345f
push edi
call ebx
mov dword [esi + 0xc], edi
push 0
mov ecx, esi
call fcn.004153e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 4
push esi
push 0x4155b0
push 0
push 0
call fcn.00476866
mov edi, eax
add esp, 0x18
test edi, edi
je 0x413495
push edi
call ebx
mov dword [esi + 0x10], edi
pop edi
pop ebx
mov al, 1
pop esi
add esp, 8
ret
xor al, al
pop esi
add esp, 8
ret

Function at 0x4134b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push edi
mov edi, ecx
call fcn.00412b80
test al, al
jne 0x413500
mov ecx, edi
call fcn.00412b50
test al, al
je 0x413500
lea eax, [esp + 4]
push esi
push eax
push 4
push edi
push 0x414bc0
push 0
push 0
mov dword [esp + 0x20], 0
call fcn.00476866
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4134fa
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [edi + 0xc], esi
pop esi
mov al, 1
pop edi
pop ecx
ret
xor al, al
pop edi
pop ecx
ret
Function at 0x413510
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00412b50
test al, al
je 0x41352e
mov ecx, esi
call fcn.004133e0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00412b80
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
je 0x41357e
mov eax, dword [esi + 0xc]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 0x102
jne 0x413563
mov ecx, dword [esi + 0xc]
push 1
push ecx
call edi
mov edx, dword [esi + 0xc]
push edx
call ebp
mov eax, dword [esi + 0x10]
xor ebx, ebx
push ebx
push eax
mov dword [esi + 0xc], ebx
call edi
mov ecx, dword [esi + 0x10]
push ecx
call ebp
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4135b5
mov ebx, dword [esi + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x4135b5
mov eax, edi
mov edi, dword [edi]
push eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.0048c16d
mov ecx, dword [esi + 0x24]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esi + 0x24], ecx
jne 0x41358e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4135c6
push eax
call ebp
mov dword [esi + 0x28], 0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4151f0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49b24e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x440], 0
call fcn.0046cc50
mov eax, dword [esp + 0x448]
lea ecx, [esp + 0x448]
mov byte [esp + 0x440], 1
mov eax, dword [eax - 8]
push eax
call fcn.0048c833
mov ebp, eax
lea ecx, [esp + 0x138]
push ebp
push 0x4c227c
push ecx
call fcn.004750c2
add esp, 0xc
lea edx, [esp + 0x138]
lea ecx, [esp + 0x18]
push 0
push edx
call fcn.0046cd13
test eax, eax
setne al
test al, al
je 0x415368
lea ecx, [esp + 0x18]
call fcn.0046cf33
test eax, eax
lea ecx, [esp + 0x18]
setne byte [esp + 0xf]
call fcn.0046cefa
test eax, eax
jne 0x41535c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.0046d12b
push 0xc8
mov ecx, eax
mov byte [esp + 0x444], 2
call fcn.0048c833
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x440], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0048c403
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
lea eax, [esp + 0x38]
push eax
push ebp
push 0x4c2274
je 0x41533e
lea ecx, [esp + 0x244]
push ecx
call fcn.004750c2
add esp, 0xc
lea edx, [esp + 0x23c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0048c471
mov ecx, dword [esp + 0x18]
call fcn.004151f0
jmp 0x41535c
lea ecx, [esp + 0x344]
push ecx
call fcn.004750c2
add esp, 0x10
lea edx, [esp + 0x338]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, byte [esp + 0xf]
test al, al
jne 0x41527d
lea ecx, [esp + 0x18]
call fcn.0046ccc9
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
mov byte [esp + 0x440], 0
lea ecx, [esp + 0x18]
jne 0x4153a8
call fcn.0046cc8d
lea ecx, [esp + 0x448]
mov dword [esp + 0x440], 0xffffffff
call fcn.0048c403
xor al, al
jmp 0x4153c6
call fcn.0046cc8d
lea ecx, [esp + 0x448]
mov dword [esp + 0x440], 0xffffffff
call fcn.0048c403
mov al, 1
mov ecx, dword [esp + 0x438]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x438
ret 4
Function at 0x4165a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49b398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0048b2fd
mov dword [esp + 0x30], 0
mov dword [esi], method.CImageList.virtual_0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4a6f10
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], 1
and eax, 0xffff
push eax
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0xc]
call fcn.00493aef
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0x11
mov dword [esi + 0xc], ecx
push ecx
push eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0048b3c2
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00493b46
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x41d060
Capabilities:
Create udp socket

Disassembly:
push esi
push 0
push 2
mov esi, ecx
push 2
call sub.WS2_32.dll_socket
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov eax, ecx
pop esi
ret

Function at 0x41d080
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41d0d7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x41d0ed
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0041d100
pop edi
pop esi
add esp, 0x10
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x41d100
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x41d190
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x118]
mov eax, 0x10624dd3
mov dword [esp + 0xc], 1
mul esi
shr edx, 6
mov dword [esp + 4], edx
mov eax, esi
xor edx, edx
mov esi, 0x3e8
div esi
mov eax, dword [ecx]
lea ecx, [esp + 4]
push ecx
push 0
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x18]
push edx
push 0
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
pop esi
jne 0x41d1ef
xor eax, eax
add esp, 0x10c
ret 8
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 8

Function at 0x41dc70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x34]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [esp + 0x10], eax
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
call ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, esi
jle 0x41dc97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x41e400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x49b8e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41e548
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x41e548
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e548
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41e548
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push 0x4ae890
push 1
push ebp
push edx
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
jl 0x41e53a
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41e4f3
xor esi, esi
jmp 0x41e4f6
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0x14]
push 0
mov edx, ecx
mov ebp, dword [esp + 0x40]
neg edx
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
sub edx, ecx
push 0
push edx
mov edx, dword [esp + 0x4c]
mov edi, dword [eax]
sub ebp, edx
push ebp
push edx
push ecx
push esi
push eax
call dword [edi + 0x20]
test eax, eax
jge 0x41e570
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], 0xffffffff
call fcn.0048c403
xor eax, eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], 0xffffffff
call fcn.0048c403
mov eax, 1
jmp 0x41e55b
Function at 0x41eb80
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
cmp edi, 0xffffffff
mov esi, ecx
je 0x41ec58
mov ebp, dword [esp + 0x24]
test bp, bp
je 0x41ec58
mov al, byte [esi + 0x94]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
test al, al
je 0x41ebc7
mov eax, dword [esi + 0x20]
push eax
call ebx
mov dword [esi + 0x20], 0xffffffff
mov byte [esi + 0x94], 0
push ebp
mov word [esp + 0x14], 2
mov dword [esp + 0x18], edi
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [esp + 0x1e], ax
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
je 0x41ec34
lea ecx, [esp + 0x10]
push 0x10
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x41ec34
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x41ec34
mov byte [esi + 0x94], 1
mov al, byte [esi + 0x94]
pop ebx
mov word [esi + 0x88], bp
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
mov eax, dword [esi + 0x20]
push eax
call ebx
mov byte [esi + 0x94], 0
mov al, byte [esi + 0x94]
pop ebx
mov word [esi + 0x88], bp
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret 8

Function at 0x41eca0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x95]
test al, al
jne 0x41ece2
cmp byte [esi + 0x94], 1
jne 0x41ece2
lea eax, [esi + 0x9c]
push eax
push 0
push esi
push 0x41ecf0
push 0
push 0
call fcn.00476866
add esp, 0x18
mov dword [esi + 0x98], eax
test eax, eax
je 0x41ece2
mov byte [esi + 0x95], 1
mov al, byte [esi + 0x95]
pop esi
ret
Function at 0x4214f0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
mov eax, dword [esi + 0x13c]
cmp eax, 1
jne 0x42153c
mov edx, dword [esi]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
mov dword [esp + 0x38], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
mov eax, dword [esi]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], edi
cmp edi, 0xffffffff
pop edi
pop esi
setne al
add esp, 0x20
ret 4
cmp eax, 2
jne 0x4215f2
push 6
push 1
push eax
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4215f2
mov word [esp + 8], 2
call fcn.00476778
cdq
idiv dword [edi + 0x24]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], 1
add dx, word [edi + 0x28]
mov word [esp + 0xe], dx
lea edx, [esp + 0x30]
push edx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x4215f2
mov ax, word [esi + 0x148]
mov word [esp + 0x18], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x144]
mov word [esp + 0x1a], ax
mov eax, dword [esi]
lea edx, [esp + 0x18]
push 0x10
push edx
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4215f2
pop edi
mov al, 1
pop esi
add esp, 0x20
ret 4
pop edi
xor al, al
pop esi
add esp, 0x20
ret 4

Function at 0x423ff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49b9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00423ca0
mov eax, dword [eax]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x42405a
lea ecx, [eax + 8]
cmp ecx, ebx
je 0x42405a
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
push edx
call fcn.00422f80
mov esi, dword [esp + 0x2c]
mov al, byte [esp + 0xc]
lea edx, [esp + 0xc]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x4a844c]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00422890
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4240a5
mov al, byte [ecx - 1]
cmp al, bl
je 0x42409b
cmp al, 0xff
je 0x42409b
dec al
mov byte [ecx - 1], al
jmp 0x4240a5
dec ecx
push ecx
call fcn.0048c16d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x427e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49bcb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [0x4cc854]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x42c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push fcn.0048c403
push 0x406dd0
push 0x100
lea eax, [esp + 0x30]
push 4
push eax
mov byte [esp + 0x440], 2
call fcn.00475606
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
lea ecx, [esp + 0x18]
mov byte [esp + 0x430], 3
call fcn.0048c58c
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Store_Root
call fcn.0048c471
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x43c], 4
call fcn.0048c178
push reloc.WS2_32.dll_accept
mov ecx, esi
mov byte [esp + 0x43c], 3
call fcn.00428d50
cmp eax, 7
je 0x427f3b
push fcn.0048c403
push 0x100
lea eax, [esp + 0x2c]
push 4
mov byte [esp + 0x438], 2
push eax
jmp 0x4280ce
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x427f8d
lea ebp, [esp + 0x24]
lea ecx, [esp + 0x10]
push edi
push ecx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0048c178
push reloc.WS2_32.dll_accept
mov ecx, esi
call fcn.00428e70
cmp eax, 7
jne 0x4280b5
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0048c53c
mov eax, dword [esp + 0x18]
inc edi
add ebp, 4
cmp edi, eax
jl 0x427f49
xor ebp, ebp
test eax, eax
jle 0x428044
lea edi, [esp + 0x24]
push 0x4d0e20
lea ecx, [esp + 0x14]
call fcn.0048c58c
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.0048c53c
push 0x4c2288
lea ecx, [esp + 0x10]
call fcn.0048c7df
push edi
lea ecx, [esp + 0x10]
call fcn.0048c81b
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.POP3_Server
call fcn.0048c471
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x43c], 5
call fcn.0048c178
push reloc.WS2_32.dll_accept
mov ecx, esi
mov byte [esp + 0x43c], 3
call fcn.00428a70
cmp eax, 7
jne 0x428034
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0048c178
push reloc.WS2_32.dll_accept
mov ecx, esi
call fcn.00428cc0
mov eax, dword [esp + 0x18]
inc ebp
add edi, 4
cmp ebp, eax
jl 0x427f9b
push fcn.0048c403
push 0x100
lea ecx, [esp + 0x2c]
push 4
push ecx
mov byte [esp + 0x43c], 2
call fcn.00474aaa
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], 1
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x42c], 0
call fcn.0048c403
lea ecx, [esp + 0x14]
mov dword [esp + 0x42c], 0xffffffff
call fcn.0048c403
mov eax, 1
mov ecx, dword [esp + 0x424]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x424
ret
push fcn.0048c403
push 0x100
lea ecx, [esp + 0x2c]
push 4
mov byte [esp + 0x438], 2
push ecx
call fcn.00474aaa
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], 1
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x42c], 0
call fcn.0048c403
lea ecx, [esp + 0x14]
mov dword [esp + 0x42c], 0xffffffff
call fcn.0048c403
xor eax, eax
jmp 0x42809d
Function at 0x4288e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49be48
push eax
mov dword fs:[0], esp
push esi
push edi
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 2
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x42895a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0048c403
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x14
mov eax, dword [esp + 0x28]
cmp eax, 1
jne 0x428986
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
mov eax, dword [edx - 8]
push eax
push eax
call fcn.0048c833
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push esi
push eax
jmp 0x4289c2
cmp eax, 4
jne 0x428a11
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
push eax
call fcn.0048c833
push eax
call fcn.00474f72
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x428a11
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0048c403
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x14
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x428a1e
push edi
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x428a29
push eax
call esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call fcn.0048c403
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 8]
pop edi
mov eax, 7
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x14