joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cf47
Capabilities:
Encode data using xor

Disassembly:
push 0x43ccda
pop eax
call fcn.0043cf80
and esi, edi
sub edi, 0xf729789b
xor dword [ebx], eax
add edi, 0x6bf73ee4
inc ebx
sub edi, 0x94f55cae
cmp ebx, edx
jne fcn.0043cf47
and esi, esi
ret
Function at 0x410a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e768
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x463858]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x463858]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x410b53
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0x10]
jge 0x410b41
mov dword [esp + 0x14], ecx
mov esi, dword [edi + 8]
add esi, ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x410b17
movsx eax, word [esi + 0x14]
and eax, 0xfffffffe
add eax, 0xfffffe40
cmp eax, 0x84
ja case.0x410aff.449
movzx eax, byte [eax + 0x410c98]
jmp dword [eax*4 + 0x410c8c]
push ecx
call fcn.0042fe04
jmp 0x410b14
push ecx
call fcn.0042fe33
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x410b27
push eax
call fcn.0042fe33
add esp, 4
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
movsx eax, word [eax + 0x10]
inc ebx
add ecx, 0x98
mov dword [esp + 0x14], ecx
cmp ebx, eax
jl 0x410ad5
push dword [edi + 8]
call fcn.0042fe04
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x4c], eax
mov ebx, dword [edi + 0x58]
mov esi, dword [edi + 0x54]
cmp esi, ebx
je 0x410ba9
cmp dword [esi + 0x14], 0x10
jb 0x410b91
push dword [esi]
call fcn.0042fe33
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x410b81
mov eax, dword [edi + 0x54]
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x6c]
mov esi, dword [edi + 0x60]
xor edx, edx
test eax, eax
je 0x410c40
mov edx, eax
test edx, edx
jns 0x410c35
neg eax
je 0x410c35
or ecx, 0xffffffff
sub ecx, edx
shr ecx, 5
shl ecx, 2
mov eax, 0xfffffffc
sub eax, ecx
add esi, eax
jmp 0x410c3d
push 0xd
push str.RowImpl::Free
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00401520
push str.Found_an_unknown_sqltype__
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x94], 0
call fcn.0040a770
add esp, 0xc
lea eax, [esp + 0x34]
push 0x45e4d8
push eax
call fcn.00434d0b
mov eax, edx
shr eax, 5
lea esi, [esi + eax*4]
and edx, 0x1f
push edx
push esi
push 0
push dword [edi + 0x60]
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x60]
call fcn.00412890
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
Function at 0x410b06
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e768
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x463858]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x463858]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x410b53
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0x10]
jge 0x410b41
mov dword [esp + 0x14], ecx
mov esi, dword [edi + 8]
add esi, ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x410b17
movsx eax, word [esi + 0x14]
and eax, 0xfffffffe
add eax, 0xfffffe40
cmp eax, 0x84
ja case.0x410aff.449
movzx eax, byte [eax + 0x410c98]
jmp dword [eax*4 + 0x410c8c]
push ecx
call fcn.0042fe04
jmp 0x410b14
push ecx
call fcn.0042fe33
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x410b27
push eax
call fcn.0042fe33
add esp, 4
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
movsx eax, word [eax + 0x10]
inc ebx
add ecx, 0x98
mov dword [esp + 0x14], ecx
cmp ebx, eax
jl 0x410ad5
push dword [edi + 8]
call fcn.0042fe04
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x4c], eax
mov ebx, dword [edi + 0x58]
mov esi, dword [edi + 0x54]
cmp esi, ebx
je 0x410ba9
cmp dword [esi + 0x14], 0x10
jb 0x410b91
push dword [esi]
call fcn.0042fe33
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x410b81
mov eax, dword [edi + 0x54]
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x6c]
mov esi, dword [edi + 0x60]
xor edx, edx
test eax, eax
je 0x410c40
mov edx, eax
test edx, edx
jns 0x410c35
neg eax
je 0x410c35
or ecx, 0xffffffff
sub ecx, edx
shr ecx, 5
shl ecx, 2
mov eax, 0xfffffffc
sub eax, ecx
add esi, eax
jmp 0x410c3d
push 0xd
push str.RowImpl::Free
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00401520
push str.Found_an_unknown_sqltype__
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x94], 0
call fcn.0040a770
add esp, 0xc
lea eax, [esp + 0x34]
push 0x45e4d8
push eax
call fcn.00434d0b
mov eax, edx
shr eax, 5
lea esi, [esi + eax*4]
and edx, 0x1f
push edx
push esi
push 0
push dword [edi + 0x60]
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x60]
call fcn.00412890
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
Function at 0x4115a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e6a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x463858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.ibpp_internals::RowImpl.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
push 0
lea ecx, [edi + 0x60]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.00412dc0
mov dword [edi + 0x6c], 0
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004111e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e6a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x463858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.ibpp_internals::RowImpl.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
push 0
lea ecx, [edi + 0x60]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.00412dc0
mov dword [edi + 0x6c], 0
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00410d20
mov eax, dword [ebp + 8]
mov dword [edi + 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x78], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f679
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x463858]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x463858]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
lea ebx, [edi + 8]
jne 0x41a93c
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jne 0x41a79f
push 0x12
push str.Transaction::Start
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00401520
push str.No_Database_is_attached.
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0xfc], 0
call fcn.0040a770
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x45e4d8
push eax
call fcn.00434d0b
sub eax, ecx
xor ecx, ecx
sar eax, 2
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042e80d
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
add esp, 4
sar ecx, 2
mov esi, eax
xor edx, edx
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x41a814
lea ecx, [esi + 8]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + edx*4]
add eax, 8
cmp dword [eax], 0
je 0x41a8c4
mov dword [ecx - 8], eax
mov eax, dword [edi + 0x3c]
inc edx
mov eax, dword [eax + edx*4 - 4]
add ecx, 0xc
mov eax, dword [eax + 4]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edx*4 - 4]
mov eax, dword [eax]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
cmp edx, eax
jb 0x41a7d5
lea ecx, [esp + 0x74]
call fcn.0041d270
mov dword [esp + 0xf0], 2
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
sar esi, 2
call fcn.0041bc30
mov edi, dword [esp + 0x10]
mov eax, dword [eax + 0x7c]
push edi
push esi
push ebx
lea ecx, [esp + 0x80]
push ecx
call eax
push edi
call fcn.0042fe04
add esp, 4
cmp dword [esp + 0x74], 1
jne 0x41a923
cmp dword [esp + 0x78], 0
jle 0x41a923
push 0x12
push str.Transaction::Start
lea ecx, [esp + 0x1c]
mov dword [ebx], 0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00401520
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x100], 3
call fcn.0040a940
add esp, 0x10
lea eax, [esp + 0x2c]
push 0x45e3d4
push eax
call fcn.00434d0b
push esi
call fcn.0042fe04
add esp, 4
lea ecx, [esp + 0x14]
push 0x12
push str.Transaction::Start
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00401520
push str.All_attached_Database_should_have_been_connected.
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0xfc], 1
call fcn.0040a770
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x45e4d8
push eax
call fcn.00434d0b
cmp dword [esp + 0xd8], 0x10
jb 0x41a93c
push dword [esp + 0xc4]
call fcn.0042fe33
add esp, 4
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
Function at 0x41b7d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f44f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x463858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.ibpp_internals::TransactionImpl.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
push dword [ebp + 0x18]
mov byte [ebp - 4], 5
push dword [ebp + 0x14]
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x3c]
push dword [ebp + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x18]
push dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], eax
call fcn.0041b350
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41f940
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x458], eax
test ebx, ebx
je 0x41fb56
cmp byte [ebx], 0
je 0x41fb56
test edi, edi
je 0x41fb56
cmp byte [edi], 0
je 0x41fb56
push eax
push str._s_idx_1
push 0x12b
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call fcn.004301be
add esp, 0x14
lea ecx, [ebp - 0x25c]
call fcn.0041dd40
mov eax, dword [ebp - 0x458]
mov ecx, eax
mov dword [ebp - 0x464], 0x1c4
mov dword [ebp - 0x460], eax
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f9d0
sub ecx, edx
mov dword [ebp - 0x45c], ecx
push 1
lea ecx, [ebp - 0x470]
push ecx
lea eax, [ebp - 0x130]
mov dword [ebp - 0x46c], eax
mov eax, dword [esi]
push 1
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x464]
push ecx
push str.SELECT_rdb_index_name_FROM_rdb_indices_WHERE_UPPER__rdb_relation_name____UPPER____
mov ecx, esi
mov dword [ebp - 0x470], 0x1c4
mov dword [ebp - 0x468], 0x12c
call eax
test al, al
je 0x41fb3d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
mov byte [ebp - 0x451], 0
call eax
test al, al
je 0x41fad5
nop
cmp byte [ebp - 0x130], 0
lea ecx, [ebp - 0x130]
je 0x41fa64
nop
mov al, byte [ecx]
cmp al, 0x41
jl 0x41fa5e
cmp al, 0x5a
jg 0x41fa5e
or al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x41fa50
lea ecx, [ebp - 0x130]
lea ebx, [ebx]
mov al, byte [ecx]
cmp al, 9
jl 0x41fa7e
cmp al, 0xd
jle 0x41fa83
cmp al, 0x20
je 0x41fa83
inc ecx
jne 0x41fa70
jmp 0x41fa86
mov byte [ecx], 0
lea ecx, [ebp - 0x25c]
lea eax, [ebp - 0x130]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41fab2
test dl, dl
je 0x41faae
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41fab2
add eax, 2
add ecx, 2
test dl, dl
jne 0x41fa92
xor eax, eax
jmp 0x41fab7
sbb eax, eax
or eax, 1
test eax, eax
je 0x41face
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x41fa40
jmp 0x41fad5
mov byte [ebp - 0x451], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
cmp byte [ebp - 0x451], 0
jne 0x41fb56
push ebx
push dword [ebp - 0x458]
lea eax, [ebp - 0x25c]
push eax
push edi
push str.CREATE__s_INDEX__s_ON__s___s_
push 0x1f3
lea eax, [ebp - 0x450]
push 0x1f4
push eax
call fcn.004301be
mov eax, dword [esi]
add esp, 0x20
mov eax, dword [eax]
mov ecx, esi
call eax
test al, al
je 0x41fb3d
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0xc]
push 0
lea ecx, [ebp - 0x450]
push ecx
mov ecx, esi
call eax
test al, al
mov eax, dword [esi]
mov ecx, esi
jne 0x41fb53
call dword [eax + 8]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret 0xc
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042f36b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4501e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x463858]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x463858]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4247d6
cmp byte [ebx + 0x46], 0
je 0x4247d6
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x4246eb
xor al, al
jmp 0x4247d8
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x424763
dec eax
je 0x424767
sub eax, 2
je 0x4247bd
xor bl, bl
jmp 0x4247bf
mov byte [ebx + 0x46], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x42479e
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.0043173f
add esp, 0x10
cmp esi, eax
jne 0x42475f
cmp byte [ebx + 0x46], 0
je 0x4247bd
test esi, esi
jne 0x424722
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00403800
jmp 0x424722
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4247d2
push dword [esp + 0x18]
call fcn.0042fe33
add esp, 4
mov al, bl
jmp 0x4247d8
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
Function at 0x4270e0
Capabilities:
Get number of processors
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45067d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CSmtp.0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov dword [ebp - 0x1a8], esi
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x44], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], 0
mov byte [esi + 0x4c], 0
mov dword [esi + 0x78], 0xf
mov dword [esi + 0x74], 0
mov byte [esi + 0x64], 0
mov dword [esi + 0x90], 0xf
mov dword [esi + 0x8c], 0
mov byte [esi + 0x7c], 0
mov dword [esi + 0xa8], 0xf
mov dword [esi + 0xa4], 0
mov byte [esi + 0x94], 0
mov dword [esi + 0xc0], 0xf
mov dword [esi + 0xbc], 0
mov byte [esi + 0xac], 0
mov dword [esi + 0xd8], 0xf
mov dword [esi + 0xd4], 0
mov byte [esi + 0xc4], 0
mov dword [esi + 0xf0], 0xf
mov dword [esi + 0xec], 0
mov byte [esi + 0xdc], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov byte [ebp - 4], 0xe
xor eax, eax
mov word [esi + 0xf4], ax
lea eax, [ebp - 0x1a0]
push eax
push 0x202
mov dword [esi + 0x104], 0
mov byte [esi + 0x108], 0
mov dword [esi + 0xf8], 3
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4272ee
push 0x45e63c
lea eax, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x1a4], 0x64
call fcn.00434d0b
mov eax, dword [ebp - 0x1a0]
cmp al, 2
jne 0x427364
shr eax, 8
cmp al, 2
jne 0x427364
push 0x2800
call fcn.0042e80d
add esp, 4
mov dword [esi + 0x100], eax
test eax, eax
jne 0x427331
mov dword [ebp - 0x1a4], 0x198
push 0x45e63c
lea eax, [ebp - 0x1a4]
push eax
call fcn.00434d0b
push 0x2800
call fcn.0042e80d
add esp, 4
mov dword [esi + 0xfc], eax
test eax, eax
je 0x427316
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x1a4], 0x65
jmp 0x427320
Function at 0x42a920
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xff
mov ebx, ecx
call fcn.0042e80d
mov esi, eax
add esp, 4
test esi, esi
je 0x42a99e
push 0xff
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x42a9b3
cmp byte [esi], 0
jne 0x42a956
xor ecx, ecx
jmp 0x42a969
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x42a960
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a960
sub ecx, edx
push ecx
lea edi, [ebx + 4]
push esi
mov ecx, edi
call fcn.00401520
push esi
call fcn.0042fe04
add esp, 4
cmp dword [ebx + 0x14], 0
jne 0x42a98d
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 0x10
jb 0x42a995
mov edi, dword [edi]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x45e63c
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0x198
call fcn.00434d0b
push esi
call fcn.0042fe04
add esp, 4
lea eax, [ebp - 4]
push 0x45e63c
push eax
mov dword [ebp - 4], 0x6b
call fcn.00434d0b
int3