joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411533
Capabilities:
Get common file path

Disassembly:
push 0x87c
mov eax, 0x47f1eb
call fcn.00433635
mov eax, dword [ebp + 8]
mov dword [ebp - 0x884], eax
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 0x888], ebx
call fcn.0042f2c0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea esi, [ebp - 0x848]
call fcn.00402f07
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x834], 8
mov eax, dword [ebp - 0x848]
jae 0x4115a9
mov eax, esi
mov ecx, dword [ebp - 0x838]
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0x5c
je 0x4115cc
xor edi, edi
push 0x4911b8
inc edi
lea eax, [ebp - 0x848]
call fcn.004028b4
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x854], ebx
mov word [ebp - 0x864], cx
mov dword [ebp - 0x818], eax
xor eax, eax
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
push 8
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 2
call fcn.0040dad8
lea ecx, [ebp - 0x848]
push ecx
lea ecx, [ebp - 0x880]
push ecx
mov ebx, eax
call fcn.004116ea
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 3
call fcn.004029a6
push 1
xor edi, edi
lea esi, [ebp - 0x880]
mov byte [ebp - 4], 2
call fcn.00402144
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x41165b
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.0042eabb
pop ecx
pop ecx
test eax, eax
jne 0x41168c
push 1
xor edi, edi
lea esi, [ebp - 0x82c]
call fcn.00402144
push 1
lea esi, [ebp - 0x864]
call fcn.00402144
xor ebx, ebx
jmp 0x4115cc
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x4116a1
lea eax, [ebp - 0x82c]
push eax
call fcn.0042e683
mov esi, dword [ebp - 0x884]
pop ecx
lea ebx, [ebp - 0x82c]
call fcn.004029f9
push 1
xor edi, edi
mov esi, ebx
call fcn.00402144
push 1
lea esi, [ebp - 0x864]
call fcn.00402144
push 1
lea esi, [ebp - 0x848]
call fcn.00402144
mov eax, dword [ebp - 0x884]
call fcn.004336b8
ret
Function at 0x413ac0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
call fcn.00410d9f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00402ab6
lea esi, [ebp - 0x48]
call fcn.00410e8f
add esp, 0x1c
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x413b87
cmp dword [ebp - 0x18], 0x10
jb 0x413b49
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042cfb0
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x413b6c
mov edx, dword [esi + 0x10]
inc edx
push edx
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0042d260
add esp, 0xc
jmp 0x413b73
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x34], 0x10
jb 0x413b99
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042cfb0
add esp, 4
mov edx, dword [ebp - 0x1c]
inc edx
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x413bbf
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
inc edx
push edx
push ecx
push eax
call fcn.0042f340
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x18], edi
jb 0x413bfb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042cfb0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret
Function at 0x414e10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x20a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x20c], ax
call fcn.0042f2c0
mov edx, dword [edi + 0x18]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov eax, dword [edi + 0x1c]
lea edx, [ebp - 0x218]
push edx
push ebx
mov dword [ebp - 0x214], eax
mov eax, dword [edi]
push 0x44b
lea ecx, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edx, [ebp - 0x254]
lea ecx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], 5
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_HideCaret]
mov ecx, dword [esi + 0xb4]
pop ebx
cmp ecx, dword [esi + 0xb8]
je 0x414f21
mov eax, dword [ecx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret
Function at 0x415520
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48008a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a0234]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov word [esp + 0x20], ax
mov eax, ecx
mov ebx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x415573
sub eax, esi
sar eax, 1
lea esi, [esp + 0x20]
call fcn.00401f96
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edi
mov eax, dword [ebx + 0xc8]
mov edx, esi
cmp edx, eax
jae 0x415668
mov ecx, dword [ebx + 0xc4]
cmp ecx, edx
ja 0x415668
mov edi, esi
sub edi, ecx
cmp eax, dword [ebx + 0xcc]
jne 0x4155cb
lea ecx, [ebx + 0xc4]
call fcn.004025c0
mov esi, dword [ebx + 0xc8]
and edi, 0xffffffe0
add edi, dword [ebx + 0xc4]
test esi, esi
je 0x415712
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp esi, edi
je 0x415660
cmp dword [esi + 0x14], 8
jb 0x41560a
mov ecx, dword [esi]
push ecx
call fcn.0042cfb0
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
cmp dword [edi + 0x14], 8
jae 0x415637
mov eax, dword [edi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
push edi
push esi
call fcn.0042d260
add esp, 0xc
jmp 0x415641
mov edx, dword [edi]
mov dword [esi], edx
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
xor edx, edx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], dx
mov eax, dword [edi + 0x1c]
jmp 0x41570f
cmp eax, dword [ebx + 0xcc]
jne 0x41567b
lea ecx, [ebx + 0xc4]
call fcn.004025c0
mov esi, dword [ebx + 0xc8]
cmp esi, edi
je 0x415712
xor ecx, ecx
lea edx, [esp + 0x20]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
cmp esi, edx
je 0x41570b
cmp dword [esi + 0x14], 8
jb 0x4156b1
mov eax, dword [esi]
push eax
call fcn.0042cfb0
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
cmp dword [esp + 0x34], 8
jae 0x4156e0
mov edx, dword [esp + 0x30]
lea eax, [edx + edx + 2]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.0042d260
add esp, 0xc
jmp 0x4156ea
mov edx, dword [esp + 0x20]
mov dword [esi], edx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], ecx
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], dx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
add dword [ebx + 0xc8], 0x20
cmp dword [esp + 0x34], 8
jb 0x41572d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042cfb0
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret 4
Function at 0x41e620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eef2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp - 0x14], esi
call fcn.0044dad0
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], 2
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xb
call fcn.0045f010
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xc
call fcn.0045f010
mov byte [esi + 0x5c], 1
lea edi, [esi + 0x60]
mov dword [ebp - 4], 0xd
push 1
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0044dad0
lea eax, [edi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, 0x10
mov dword [eax + 0x48], ecx
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
lea eax, [edi + 0x60]
mov dword [eax + 0x48], ecx
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
mov byte [ebp - 4], 0xf
mov eax, dword [edi + 0xac]
push eax
call fcn.00469350
mov dword [edi], vtable.CryptoPP::SHA1.0
add esp, 4
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret
Function at 0x41ebe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d476
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], ebx
je 0x41ec1e
mov dword [esi + 8], 0x491fe4
mov eax, dword [esi + 8]
mov dword [esi + 4], vtable.CryptoPP::X509PublicKey.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 8], vtable.CryptoPP::X509PublicKey.0
mov edx, dword [esi + 8]
mov dword [esi + 4], vtable.CryptoPP::DL_KeyImpl_class_CryptoPP::X509PublicKey__class_CryptoPP::DL_GroupParameters_DSA__class_CryptoPP::OID_.1.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 8], vtable.CryptoPP::DL_KeyImpl_class_CryptoPP::X509PublicKey__class_CryptoPP::DL_GroupParameters_DSA__class_CryptoPP::OID_.0
push ebx
lea ecx, [esi + 0xc]
mov dword [esi + 0x14], 0x491fdc
call fcn.0041edc0
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], vtable.CryptoPP::DL_GroupParameters_DSA.2.0
mov dword [esi + 0x10], vtable.CryptoPP::DL_GroupParameters_DSA.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x14], vtable.CryptoPP::DL_GroupParameters_DSA.0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 8]
mov dword [esi], vtable.CryptoPP::DL_PublicKeyImpl_class_CryptoPP::DL_GroupParameters_DSA_.2.0
mov dword [esi + 4], vtable.CryptoPP::DL_PublicKeyImpl_class_CryptoPP::DL_GroupParameters_DSA_.1.0
mov eax, dword [edx + 4]
lea edi, [esi + 0x80]
mov dword [eax + esi + 8], vtable.CryptoPP::DL_PublicKeyImpl_class_CryptoPP::DL_GroupParameters_DSA_.0
lea ecx, [edi + 4]
mov dword [ebp + 8], edi
mov dword [edi], vtable.CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer_.0
call fcn.0045f010
mov byte [ebp - 4], 1
lea ecx, [edi + 0x1c]
mov dword [edi + 0x18], ebx
call fcn.0045f010
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
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 4
Function at 0x41edc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d40e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a0234]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], ebx
je 0x41edfe
mov dword [esi + 8], 0x491fdc
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], ebx
call fcn.0045f010
mov dword [ebp - 4], ebx
mov eax, dword [esi + 8]
mov dword [esi], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.2.0
mov dword [esi + 4], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 8], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.0
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
mov dword [eax + esi + 4], ebx
mov dword [esi + 0x24], vtable.CryptoPP::ModExpPrecomputation.0
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x2c]
mov byte [ebp - 4], 1
lea ecx, [edi + 4]
mov dword [ebp + 8], edi
mov dword [edi], vtable.CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer_.0
call fcn.0045f010
mov byte [ebp - 4], 2
lea ecx, [edi + 0x1c]
mov dword [edi + 0x18], ebx
call fcn.0045f010
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov ecx, dword [esi + 8]
mov dword [esi], vtable.CryptoPP::DL_GroupParameters_GFP.2.0
mov dword [esi + 4], vtable.CryptoPP::DL_GroupParameters_GFP.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 8], vtable.CryptoPP::DL_GroupParameters_GFP.0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], ebx
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 4
Function at 0x4214e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47edc9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], eax
mov esi, edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
mov eax, ecx
mov dword [ebp - 4], 1
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x421531
xor ebx, ebx
sub eax, edx
cmp ecx, ebx
jne 0x421545
mov dword [ebp - 0x50], ebx
jmp 0x421551
mov edx, eax
xor eax, eax
call fcn.00422f20
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 2
movzx eax, word [edi]
mov ebx, 1
test ax, ax
je 0x4215a5
mov esi, eax
xor edx, edx
mov eax, ebx
div dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov cl, dl
rol eax, cl
movzx ecx, si
xor eax, ecx
movzx edx, ax
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
call fcn.0040e1d4
movzx esi, word [edi + 2]
add edi, 2
inc ebx
test si, si
jne 0x421571
mov esi, dword [ebp - 0x54]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov eax, dword [ebp - 0x1c]
mov edi, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x18], edi
jae 0x4215d3
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push esi
push ecx
call fcn.0040f8f8
add esp, 8
cmp dword [ebp - 0x18], edi
jb 0x4215f1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042cfb0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret
Function at 0x422a40
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x422a60
xor esi, esi
jmp 0x422aa1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x422a9d
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00432c80
mov esi, esp
test esi, esi
je 0x422a9d
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x422a9f
xor eax, eax
mov esi, eax
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x18], eax
push 0x7b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 0x18], cx
call dword [sym.imp.WSOCK32.dll_htons]
push esi
mov word [ebp - 0x16], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x422ae8
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x422b14
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x18]
push edx
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x24]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x422aff

Function at 0x422b20
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [ebp + 8]
shr edx, 6
mov dword [ebp - 0x11c], edx
imul edx, edx, 0x3e8
sub ecx, edx
lea edx, [ebp - 0x11c]
push edx
push 0
mov dword [ebp - 0x118], ecx
mov ecx, dword [eax]
push 0
lea eax, [ebp - 0x114]
push eax
push 0
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], 1
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x422b97
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
test eax, eax
setne cl
mov eax, 1
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret 4
Function at 0x422f00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x422f0b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00422f20
Function at 0x428180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dba0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4a0234]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x4281b8
cmp word [eax], bx
jne 0x4281c3
cmp dword [edi + 0x34], 8
lea eax, [edi + 0x20]
jb 0x4281c3
mov eax, dword [eax]
push 0x4911b0
push eax
call fcn.0042e773
add esp, 8
mov dword [ebp - 0x4c], eax
cmp eax, ebx
jne 0x4281ed
push 0x499454
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 3
call fcn.00432a9d
mov esi, dword [edi + 0x58]
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], ebx
cmp esi, dword [edi + 0x5c]
je 0x428232
mov ecx, dword [esi]
cmp dword [edi + 0x4c], ebx
jne 0x42821a
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
mov edx, dword [edx + 0x18]
push eax
call edx
jmp 0x428225
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x48]
push edx
call eax
add esi, 4
cmp esi, dword [edi + 0x5c]
jne 0x428206
mov eax, 0xf
cmp dword [edi + 0x4c], ebx
je 0x42829f
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push ebx
lea edx, [ebp - 0x48]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], ebx
push edx
lea esi, [ebp - 0x2c]
mov byte [ecx], bl
call fcn.00402ab6
push edi
mov ecx, esi
call fcn.004285c0
cmp eax, ebx
je 0x42828d
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42827a
mov eax, esi
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
push ecx
push 1
push edx
push eax
call fcn.0042e8e1
add esp, 0x10
cmp dword [ebp - 0x18], 0x10
jb 0x42829f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042cfb0
add esp, 4
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0042e9c8
add esp, 4
cmp dword [ebp - 0x34], 0x10
jb 0x4282bd
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042cfb0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cfbb
mov esp, ebp
pop ebp
ret 4
Function at 0x428820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp esi, ebx
je 0x428863
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00431e6e
push 2
push ebx
push esi
call fcn.00432227
lea ecx, [ebp - 8]
push ecx
push esi
call fcn.00431e6e
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.00431ec9
add esp, 0x24
cmp dword [ebp - 8], 0x14
jae 0x42886a
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push esi
call fcn.00432227
push esi
push 1
lea edx, [ebp - 0x24]
push 0x14
push edx
mov dword [ebp - 0x24], 0x58453144
mov dword [ebp - 0x20], 0x10014
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0043214e
add esp, 0x1c
test eax, eax
je 0x428863
mov eax, dword [ebp - 0x24]
cmp eax, 0x58453144
jne 0x428863
cmp edi, ebx
je 0x4288c6
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x428cb6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x47dc82
call fcn.004335ff
mov esi, 0x801
push esi
call fcn.0042c25c
xor edi, edi
push esi
mov ebx, eax
mov dword [ebp - 4], edi
push edi
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], 0x800
call fcn.0042f2c0
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x14], edi
je 0x428d42
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
inc esi
cmp dword [ebp - 0x1c], esi
jne 0x428d39
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.00405eee
mov dword [ebp - 0x18], esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], edi
je 0x428d50
push dword [ebp - 0x20]
call fcn.0042d6fb
pop ecx
mov eax, dword [ebp - 0x18]
call fcn.004336a4
ret