joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47be50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e3bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4e669c]
push 0
lea ecx, [esp + 0x20]
call fcn.004d7fda
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0047b7f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004d7f08
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004d44f9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004d44f9
push 1
push 0
push 0
mov ecx, esi
call fcn.004d44a1
push 1
push 0
push 1
mov ecx, esi
call fcn.004d44a1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d804c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x47bfd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e3c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004d7fda
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0047b7f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004d7f08
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4e669c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x47c094
cmp dword [esp + 0x40], 1
jne 0x47c092
cmp ecx, eax
jge 0x47c094
mov eax, ecx
cmp eax, 0xc8
jge 0x47c0a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0047be50
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4e6698]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d804c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x47c820
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e3c83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d28e3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x94a720
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x874878
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4e6058]
push eax
mov ecx, edi
call fcn.004d8282
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004dad48
test eax, eax
je 0x47c93c
mov ecx, dword [esp + 0x3c]
call fcn.004d82af
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4e66bc]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x47c900
push edi
mov ecx, esi
call fcn.004d5842
mov ecx, esi
call fcn.0047caa0
cmp dword [esp + 0x38], 1
jne 0x47c935
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d59d5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x47f360
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x47f393
push esi
call fcn.00482460
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47f38c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x47f419
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x47f402
mov eax, dword [esi + 8]
test eax, eax
je 0x47f3b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47f3fe
cmp eax, 2
je 0x47f402
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47f3aa
cmp eax, 3
je 0x47f3dd
cmp eax, 1
jne 0x47f3aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47f3aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47f3aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0047f440
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x47f428
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0047f440
add esp, 4
pop esi
ret
Function at 0x48e4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e43a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0048e080
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0048e100
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0048e100
lea ecx, [esi + 0xc]
call fcn.004d122f
lea ecx, [esi + 0x10]
call fcn.004d122f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0048f6a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0048f6a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0048f6a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d12a4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d12a4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49d350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x49d471
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x49d455
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x49d3a7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x49d385
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4081fe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x480f08]
jne 0x408208
repz ret
jmp fcn.0040a37a

Function at 0x40b7bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040827f
and dword [ebp - 4], 0
cmp dword [0x482838], 0
mov ebx, eax
jne 0x40b870
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b921
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b921
push eax
call fcn.0040820d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x482838], eax
call esi
push eax
call fcn.0040820d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48283c], eax
call esi
push eax
call fcn.0040820d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x482840], eax
call esi
push eax
call fcn.0040820d
pop ecx
mov dword [0x482848], eax
test eax, eax
je 0x40b870
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040820d
pop ecx
mov dword [0x482844], eax
mov eax, dword [0x482844]
cmp eax, ebx
je 0x40b8c8
cmp dword [0x482848], ebx
je 0x40b8c8
push eax
call fcn.00408288
push dword [0x482848]
mov esi, eax
call fcn.00408288
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b8c8
test edi, edi
je 0x40b8c8
call esi
test eax, eax
je 0x40b8bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b8bf
test byte [ebp - 0xc], 1
jne 0x40b8c8
or dword [ebp + 0x10], 0x200000
jmp 0x40b901
mov eax, dword [0x48283c]
cmp eax, ebx
je 0x40b901
push eax
call fcn.00408288
pop ecx
test eax, eax
je 0x40b901
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b901
mov eax, dword [0x482840]
cmp eax, ebx
je 0x40b901
push eax
call fcn.00408288
pop ecx
test eax, eax
je 0x40b901
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x482838]
call fcn.00408288
pop ecx
test eax, eax
je 0x40b921
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b923
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d6c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [0x480890]
add eax, 0x1b0d
mov dword [0x48088c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [0x48088c]
sub eax, 0x26d
mov dword [0x48088c], eax
mov dword [ebp - 0x10], 0
jmp 0x40d755
jmp 0x40d70e
mov dword [ebp - 8], 0
jmp 0x40d82a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x40d7bb
jmp 0x40d825
jmp 0x40d823
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + eax*2 - 0x10]
cmp eax, 0x6c
je 0x40d801
jmp 0x40d81e
cmp dword [ebp - 0x10], 0x104
jge 0x40d78a
mov dword [0x480890], 0xb09
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x40d77b
jmp 0x40d78a
jmp 0x40d77d
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x40d755
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x40d70e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
je 0x40d71a
jmp 0x40d70c
mov eax, dword [0x480890]
sub eax, 0x27d
mov dword [0x48088c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x40d823
mov dword [0x480890], 0xd6f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x40d73a
jmp 0x40d735
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x40d81c
mov dword [ebp - 8], 1
jmp 0x40d82a
jmp 0x40d81e
jmp 0x40d735
jmp 0x40d825
jmp 0x40d70c
mov eax, dword [ebp - 8]
add esp, 0x10
pop ebp
ret

Function at 0x40db80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.0040db80]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x40dbb8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x40dbd4
jmp 0x40dbdc
mov al, 1
test al, 1
jne 0x40db8f
jmp 0x40dbde
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x48088c], 0x6b9
jmp 0x40dbb0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x40dbf4
jmp 0x40dbb8
mov eax, dword [0x48088c]
add eax, 0x1c7d
mov dword [0x480890], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x40c4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040c4a7
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00408ca3
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040c42d
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040c44d
inc esi
cmp esi, 0xc
jl 0x40c4ff
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x410550]
test byte [eax + 0x28], 2
movzx eax, byte [0x4205bf]
jne 0x40c53a
movzx eax, byte [0x4205c7]
movzx ecx, cx
cmp ecx, eax
je 0x40c546
or eax, 0xffffffff
jmp 0x40c58b
mov ecx, dword [0x420568]
mov eax, ecx
cdq
cmp edx, dword [0x40f924]
push edi
jl 0x40c568
mov edx, dword [0x40f920]
jg 0x40c564
cmp eax, edx
jbe 0x40c568
mov edi, edx
jmp 0x40c56a
mov edi, ecx
mov esi, dword [0x420560]
jmp 0x40c584
dec edi
call fcn.0040c42d
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040c44d
inc esi
test edi, edi
jne 0x40c572
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1af0459d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5b7c34e2
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x55d33c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x55d33c
lcall 0x5de5, 0x8b10c483
jmp loc.008ed244
Function at 0x10001c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10001c88
cmp byte [esi + ebx - 1], 0xa
je 0x10001c5c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100070a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x100022b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10002488
mov edi, dword [0x100070a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10002397
test byte [0x10003030], 8
jne 0x10002430
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10003040], 8
jne 0x100023f0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10002339
cmp esi, 3
jbe 0x100023a8
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x1000234a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10005250]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10002339
mov dword [esp], 0x10003040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10002310
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10002310
mov dword [esp], 0x10003030
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100022fb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10002303
mov eax, 0xffffffff
jmp 0x10002397

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x405526
Capabilities:
Execute shellcode via indirect call

Disassembly:
add byte [eax], al
mov dword [esp + 0x20], ebx
mov dword [0x17714], edx
test edx, edx
jne 0x405542
cmp dword [0x1770e], edx
je 0x40aad8
cmp edx, 1
jne 0x405799
invalid
dec eax
mov eax, dword [0x17d9c]
dec eax
test eax, eax
jne 0x40aae3
test ebx, ebx
je 0x405579
dec esp
mov eax, dword [esp + 0x170]
mov edx, edi
dec eax
mov ecx, esi
call fcn.0040560a
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x405579
test ebx, ebx
fmul dword [eax - 0x75]
iretd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004053fe
push 0x16
pop esi
mov dword [eax], esi
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00405396
add esp, 0x14
mov eax, esi
inc dword [ebx - 0x3974eb3c]
jmp 0x40aab5
jne 0x40aae9
mov byte [esi], bl
jmp 0x40aab3
mov edx, dword [ebp + 0x10]
cmp edx, ebx
jne 0x40aaf4
mov byte [esi], bl
jmp 0x40aac5
cmp dword [ebp + 0x14], 0xffffffff
mov eax, esi
jne 0x40ab0b
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
cmp cl, bl
je 0x40ab24
dec edi
jne 0x40aafc
jmp 0x40ab24
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
cmp cl, bl
je 0x40ab1d
dec edi
je 0x40ab1d
dec dword [ebp + 0x14]
jne 0x40ab0b
cmp dword [ebp + 0x14], ebx
jne 0x40ab24
mov byte [eax], bl
cmp edi, ebx
jne 0x40aab3
cmp dword [ebp + 0x14], 0xffffffff
jne 0x40ab3d
mov eax, dword [ebp + 0xc]
push 0x50
mov byte [esi + eax - 1], bl
pop eax
jmp 0x40aab5
mov byte [esi], bl
call fcn.004053fe
push 0x22
pop ecx
mov dword [eax], ecx
mov esi, ecx
jmp 0x40aacf

Function at 0x406c4a
Capabilities:
Execute shellcode via indirect call

Disassembly:
bound eax, qword [eax]
jb 0x406c4e
imul eax, dword [eax], str.yGrpC_
popal
add byte [ebp], ch
add byte gs:[esi], ch
add byte [eax + eax + 0x6f], cl
add byte [ebx], ah
popal
add byte [eax + eax + 0x69], dh
add byte [edi], ch
outsb dx, byte [esi]
add byte [edi + 0xc], bh
add byte [eax], al
sub byte [eax + eax + 0x61], ch
add byte [edx], ah
add byte gs:[eax + eax + 0x46], ch
add byte [ecx], ah
bound eax, qword [eax]
jb 0x406c83
imul eax, dword [eax], str.yGrpC_
popal
add byte [ebp], ch
add byte gs:[esi], ch
add byte [ebx], dl
imul eax, dword [eax], 0x65007a
sbb ecx, dword [0x6c300000]
add byte [ecx], ah
bound eax, qword [eax]
add byte gs:[eax + eax + 0x46], ch
add byte [ecx], ah
bound eax, qword [eax]
jb 0x406cb0
imul eax, dword [eax], str.yGrpC_
popal
add byte [ebp], ch

Function at 0x416850
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x614280]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4168a0
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x41689a
shr eax, 8
cmp al, 2
jne 0x41689a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415749
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00415749
mov esp, ebp
pop ebp
ret