joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5d8c], 0
lea esi, [edi + 0x5d90]
je 0x41f7f2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41f7ac
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0042b410
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00404d30
mov edx, dword [esi]
mov ecx, 0x4dca20
push dword [edi + 0x5d8c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5d98]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00404d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41fe10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x4dca24]
push edi
cmp byte [esi + 0x5d1c], 0
jne 0x41fee5
cmp dword [esi + 0x5d3c], 0
je 0x41fe4b
push 0x32ec
push str.C:UsersAdminDownloadsimgui_masterimgui.cpp
push str.g.SettingsWindows.empty__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41fede
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.00404090
mov edi, eax
add esp, 8
test edi, edi
je 0x41fede
mov edx, dword [ebp - 4]
test edx, edx
je 0x41fe7e
mov ecx, edi
call fcn.00420180
mov ecx, dword [0x4dca24]
test ecx, ecx
je 0x41fed4
movsx edx, word [ecx + 0x5e1c]
lea eax, [ecx + 0x5e20]
mov ebx, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ebx
je 0x41feca
lea eax, [edx + 1]
mov dword [ebp - 4], 6
cdq
idiv dword [ebp - 4]
movzx eax, dx
mov word [ecx + 0x5e1c], ax
cwde
add eax, 0xbc4
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], ebx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e18]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x5d1c], 1
movss xmm0, dword [esi + 0x5d20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x41ff7d
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5d20], xmm0
jb 0x41ff7d
mov edi, dword [esi + 0x20]
test edi, edi
je 0x41ff6c
mov eax, dword [0x4dca24]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x5d20], 0
call fcn.004203c0
mov edx, 0x4b8204
mov ecx, edi
mov ebx, eax
call fcn.00403ff0
mov edi, eax
test edi, edi
je 0x41ff73
push edi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov dword [esi + 0x5d20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x92], 1
mov dword [esi + 0x5d20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420100
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4dca24]
test bl, bl
je 0x420146
or edi, 0xffffffff
cmp bl, 0x23
jne 0x420127
cmp byte [esi], bl
jne 0x420127
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4ba660]
test bl, bl
jne 0x420118
mov edi, dword [0x4dca24]
mov ecx, dword [edi + 0x5d30]
not eax
mov edx, dword [edi + 0x5d38]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x42016d
cmp dword [edx + 4], eax
je 0x420170
add edx, 0x24
cmp edx, ecx
jne 0x420161
xor eax, eax
ret
mov eax, edx
ret
Function at 0x471310
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4dca24]
sub esp, 8
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0x4c6c]
cmp esi, 0xffffffff
jne 0x471331
cmp dword [edi + 0x48], ecx
cmovne esi, dword [edi + 0x48]
mov eax, dword [edi + 0x40]
cmp esi, eax
jne 0x47133d
or esi, 0xffffffff
jmp 0x471342
cmp esi, 0xffffffff
jl 0x471346
cmp esi, eax
jl 0x47135e
push 0xcc8
push str.C:UsersAdminDownloadsimgui_masterimgui_tables.cpp
push str.column_n____1__column_n___table__ColumnsCount
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test byte [edi + 4], 7
je 0x4713b7
mov ax, word [edi + 0x4c]
mov word [edi + 0x1d8], si
mov esi, 0x4d0f85
mov word [edi + 0x4e], ax
mov al, 0x23
mov byte [edi + 0x1ef], 1
mov edi, dword [edi]
not edi
mov ecx, edi
cmp al, 0x23
jne 0x471395
cmp byte [esi], al
jne 0x471395
cmp byte [esi + 1], al
cmove ecx, edi
movzx edx, cl
movzx eax, al
xor edx, eax
shr ecx, 8
mov al, byte [esi]
inc esi
xor ecx, dword [edx*4 + 0x4ba660]
test al, al
jne 0x471387
not ecx
xor edx, edx
call fcn.00419230
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
or eax, 2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00485fb0
Function at 0x48ef10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x4dca24]
mov ebx, edi
mov dword [ebp - 8], ebx
cmp dword [ebx + 0x49e0], 0
jg 0x48ef4b
push 0x73e
push 0x4b2350
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edi, dword [0x4dca24]
add esp, 0xc
movss xmm1, dword [ebx + 0x3978]
xorps xmm5, xmm5
subss xmm1, dword [ebx + 0x38e8]
mov eax, dword [ebx + 0x49e8]
or edx, 0xffffffff
movss xmm0, dword [ebx + 0x3974]
mov esi, 0x4b7ca5
mov eax, dword [eax]
maxss xmm1, xmm5
movss dword [ebx + 0x4964], xmm0
mov dword [ebp - 0xc], eax
mov al, 0x23
movss dword [ebx + 0x4968], xmm1
or ebx, 0xffffffff
movss xmm4, dword [edi + 0x38e8]
addss xmm4, xmm4
addss xmm4, dword [edi + 0x3cf4]
movss dword [ebp - 0x10], xmm4
nop dword [eax + eax]
cmp al, 0x23
jne 0x48efbe
cmp byte [esi], al
jne 0x48efbe
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4ba660]
test al, al
jne 0x48efb0
not edx
mov ecx, edx
call fcn.0040d520
mov ebx, dword [ebp - 8]
test eax, eax
je 0x48eff5
cmp word [eax + 0xb6], 0
jne 0x48f0ce
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x48f035
cmp dword [edi + 0x49e0], eax
lea esi, [edi + 0x49e0]
jg 0x48f030
push 0x73e
push 0x4b2350
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edi, dword [0x4dca24]
add esp, 0xc
movss xmm4, dword [ebp - 0x10]
xorps xmm5, xmm5
mov eax, dword [esi + 8]
mov eax, dword [eax]
movss xmm1, dword [eax + 0x94]
movss xmm0, dword [eax + 0xc]
movaps xmm3, xmm1
addss xmm3, dword [eax + 4]
movss xmm2, dword [eax + 0x98]
subss xmm0, xmm1
addss xmm2, dword [eax + 8]
addss xmm0, dword [eax + 0x9c]
or dword [edi + 0x490c], 3
movss dword [edi + 0x491c], xmm3
movss dword [edi + 0x4920], xmm2
mov dword [edi + 0x4924], 0
maxss xmm5, xmm0
mov dword [edi + 0x4928], 0
mov dword [edi + 0x4910], 1
movss dword [edi + 0x4930], xmm4
mov dword [edi + 0x4914], 1
addss xmm5, xmm3
subss xmm5, xmm3
movss dword [edi + 0x492c], xmm5
addss xmm4, dword [eax + 0x98]
movss dword [eax + 0x98], xmm4
movss xmm0, dword [edi + 0x38b8]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x497c]
mov dword [ebp - 0x1c], 3
movss dword [ebp - 0x18], xmm0
call fcn.0042acd0
mov esi, dword [0x4dca24]
lea eax, [ebp - 0x1c]
mov dword [edi + 0x38b8], 0
push eax
mov dword [ebp - 0x1c], 5
movss xmm1, dword [esi + 0x38c0]
lea ecx, [esi + 0x497c]
movss xmm0, dword [esi + 0x38c4]
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm0
call fcn.0042acd0
push 0x50f
xor edx, edx
mov dword [esi + 0x38c0], 0
mov ecx, str.MainMenuBar
mov dword [esi + 0x38c4], 0
call fcn.00410080
add esp, 4
mov byte [ebp - 1], al
mov ecx, 2
call fcn.00406410
mov dword [ebx + 0x4964], 0
mov dword [ebx + 0x4968], 0
mov bl, byte [ebp - 1]
test bl, bl
je 0x48f18f
call fcn.0048e860
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004129b0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491c90
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push esi
push edi
je 0x491d00
mov cl, byte [edx]
lea esi, [edx + 1]
or eax, 0xffffffff
test cl, cl
je 0x491cd8
or edi, 0xffffffff
nop word [eax + eax]
cmp cl, 0x23
jne 0x491cbf
cmp byte [esi], cl
jne 0x491cbf
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4ba660]
test cl, cl
jne 0x491cb0
mov ecx, dword [0x4dca24]
not eax
cmp dword [ecx + 0x3fd4], eax
jne 0x491cee
mov dword [ecx + 0x3fd8], eax
cmp dword [ecx + 0x3ffc], eax
jne 0x491d12
mov byte [ecx + 0x4000], 1
pop edi
pop esi
ret
mov eax, dword [0x4dca24]
push ecx
push edx
mov ecx, dword [eax + 0x3f88]
call fcn.00409240
pop edi
pop esi
ret
Function at 0x49cfb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, dword [0x4dca24]
mov edx, 0x210
push ebx
push esi
push edi
call fcn.004144a0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax], 0
je 0x49d04a
mov ecx, dword [0x4dca24]
mov edx, 0x210
call fcn.00402c70
cmp byte [eax + 8], 0
jne 0x49d04a
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x49d04a
cmp dword [0x4dca24], 0
jne 0x49d015
push 0x10c6
push str.C:UsersAdminDownloadsimgui_masterimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x4dca24]
cmp byte [esi + 0x3891], 0
je 0x49d036
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004033a0
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
mov ecx, dword [0x4dca24]
mov edx, 0x214
call fcn.004144a0
cmp byte [eax], 0
je 0x49d0d5
mov ecx, dword [0x4dca24]
mov edx, 0x214
call fcn.00402c70
cmp byte [eax + 8], 0
jne 0x49d0d5
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x49d0d5
cmp dword [0x4dca24], 0
jne 0x49d0a0
push 0x10c6
push str.C:UsersAdminDownloadsimgui_masterimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x4dca24]
cmp byte [esi + 0x3891], 0
je 0x49d0c1
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004033a0
mov dword [esi + 0x338], 0x214
mov dword [esi + 0x904], 0xa1
mov ecx, dword [0x4dca24]
mov edx, 0x212
call fcn.004144a0
cmp byte [eax], 0
je 0x49d15d
mov ecx, dword [0x4dca24]
mov edx, 0x212
call fcn.00402c70
cmp byte [eax + 8], 0
jne 0x49d15d
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x49d15d
cmp dword [0x4dca24], 0
jne 0x49d128
push 0x10c6
push str.C:UsersAdminDownloadsimgui_masterimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x4dca24]
cmp byte [esi + 0x3891], 0
je 0x49d149
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004033a0
mov dword [esi + 0x220], 0x212
mov dword [esi + 0x8fc], 0x5b
mov ecx, dword [0x4dca24]
mov edx, 0x216
call fcn.004144a0
cmp byte [eax], 0
je 0x49d1e6
mov ecx, dword [0x4dca24]
mov edx, 0x216
call fcn.00402c70
cmp byte [eax + 8], 0
jne 0x49d1e6
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x49d1e6
mov esi, dword [0x4dca24]
test esi, esi
jne 0x49d1b7
push 0x10c6
push str.C:UsersAdminDownloadsimgui_masterimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x4dca24]
add esp, 0xc
cmp byte [esi + 0x3891], 0
je 0x49d1d2
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004033a0
mov dword [esi + 0x224], 0x216
mov dword [esi + 0x90c], 0x5c
pop edi
pop esi
pop ebx
ret
Function at 0x4a6310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 8]
mov edi, edx
and edi, 7
je 0x4a633b
cmp edx, edi
jge 0x4a632b
call fcn.004a5c80
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
mov dword [esi + 0xc], eax
xor eax, eax
mov ecx, edx
test edx, edx
jle 0x4a6368
mov edx, dword [esi + 0xc]
push ebx
mov bl, dl
nop dword [eax]
mov byte [ebp + eax - 4], bl
sub ecx, 8
shr edx, 8
inc eax
mov dword [esi + 0xc], edx
mov bl, dl
test ecx, ecx
jg 0x4a6350
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
jns 0x4a6386
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jge 0x4a63a7
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x4a6398
xor dl, dl
jmp 0x4a639d
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x4a6390
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x4a636c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4a63f0
mov eax, dword fs:[0x2c]
pop edi
pop esi
mov eax, dword [eax]
mov dword [eax + 0xc], str.read_past_buffer
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4a640e
push edi
mov ecx, esi
call fcn.004a5db0
add esp, 4
test eax, eax
je 0x4a637e
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b0ab0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b0aef
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b0aef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b0aef
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4b0aef
cmp dword [ecx + 0x74], 0xe
jbe 0x4b0aef
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x29
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x53
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xed
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x63
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x68
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x11
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xab
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdd
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xab
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5f
add esp, 0x40
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa1
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xf9
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x74
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x403860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x18]
mov eax, dword [0x414bac]
mov esp, dword [ecx]
pop ecx
pop ss
inc ecx
add byte [ebx - 0x74aecf3c], al
dec ebp
loopne 0x403811
mov dh, 0x99
push edx
push eax
mov al, 0xe5
in al, 0x50
push ecx
call fcn.0040b590
push edx
ret
push ebp
mov ebp, esp
sbb dword [edx + 0x14], 0x10
test al, 0xf1
inc ecx
fisttp qword [ebx + 0x40d7840d]
add byte [ebx + 0x56], dl
dec esp
push 0xffffffffffffffb1
paddsw mm4, qword [edx + 0x2200e001]
jne 0x40380e
xor ebx, ebx
mov esp, dword [edi]
mov dword [esi + 0xc], ebx
fcmovb st(0), st(3)
mov dword [esi + 0x10], ebx
mov edi, esi
and al, 8
add byte [ebp + 0x8206589], bh
adc byte [ecx + 0x824f7], cl
mov ebp, 0x8206589
add byte [eax], al
mov dword [esi + 0x72000828], ebx
mov dword [esi + 0x14], ebx
je 0x4038aa
lodsb al, byte [esi]
call 0x12d4ce0
int 0xc9
mov ecx, dword [0x41404c]
push ebx
push ebx
push ecx
push esi
call 0x414f60
out dx, eax
push ss
mov eax, dword [0x411736]
push edx
wait
mov ebp, 0x7e8d1048
cmpsd dword [esi], dword es:[edi]
push 1
fist word [edi - 0x18]
pop ds
sub eax, 0xc33b0000
je 0x4038e3
push eax
push 0xb2e838
call 0x5a401e40
add esp, 8
mov edx, dword [edi]
push 1
push 8
push edx
call fcn.00408db0
cmp eax, ebx
je 0x40388a
push eax
push 0x403328
lea eax, [edx + 0x28]
sti
and al, 0x83
les ecx, [eax]
sub byte [ebx], dh
inc eax
add byte [ebp + 0x24fb2842], cl
add esp, 8
mov eax, dword [0x9410263]
cmp eax, ebx
je 0x40395b
push eax
mov eax, dword [edi]
push 0x40
push eax
mov dword [ebx + 0x3bd500a2], ebx
ret
pop ds
mov al, byte [0xa3000030]
mov al, byte [0x89004107]
adc eax, 0xa3410ba4
mov edx, dword [edi]
jge 0x4038f5
xor byte [eax], cl
add byte [eax], al
mov eax, dword [0x410ba4]
mov dword [esi + 0x834], eax
mov ecx, dword [0x4117bd]
push ecx
push edx
call fcn.00406840
mov ebx, eax
test ebx, ebx
je 0x403a5d
cmp ebx, 0x480975f1
cmp ch, byte [edi]
enter 0x2d91, 0xffffffffffffffa5
inc esi
jg 0x403a23
les ebx, [edx - 0x65]
dec esi
lodsd eax, dword [esi]

Function at 0x403e95
Capabilities:
Encode data using xor

Disassembly:
call fcn.00403d48
mov ecx, 0x209
call 0x403e95
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x403e98
ljmp 0x9eb6:0xda8d5821

Function at 0x406840
Capabilities:
Connect socket

Disassembly:
xor ecx, dword [ebx + 0x10ec56ec]
add al, byte [eax]
add byte [eax], al
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 4]
pop ds
clc
dec dword [edi]
test byte [ecx + eax - 0x79750000], dl
adc byte [ebp - 0x767bf037], al
add dword [eax], eax
add byte [ebx - 0x7374f38b], cl
out 0x23, eax
adc ebp, dword [eax]
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x9369b8
mov esi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push dword [ebx - 0x5b]
ror byte [edi], 0x84
stc
add byte [eax], al
add bh, bh
salc
add eax, 0xa903fc80
cmp eax, 0xb23b3
jne 0x726bf4
mov edi, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
invalid
Function at 0x41a5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x452884
cmp dword [edi], 0
jne 0x41a62c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x452880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4503ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a588
lea eax, [esi + 5]
call fcn.0041a5a8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a5a8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a601
mov dword [0x452880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b840
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b846
ret

Function at 0x41dc88
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41dcd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dcc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dcb0
jmp 0x41dcd9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41dcc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ec88
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x44ec90
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404448
xor eax, eax
push ebp
push 0x44ee20
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x44edf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x44ede8
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, 0x44ee38
call fcn.004043a4
je 0x44edde
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
mov edx, 0x44ee50
call fcn.004043a4
je 0x44edde
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x44ee74
call fcn.004043a4
je 0x44edde
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x44ee8c
call fcn.004043a4
je 0x44edde
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, 0x44eea0
call fcn.004043a4
je 0x44edde
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.004042a4
mov eax, dword [ebp - 0x20]
mov edx, 6
call fcn.004082b4
push 0xffffffffffffffff
push dword [ebp - 4]
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x2c]
push 0x44eeb4
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404318
mov eax, dword [ebp - 0x28]
call fcn.00404458
push eax
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.004029e4
mov eax, dword [ebp - 0x30]
call fcn.00404458
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
dec dword [ebp - 8]
jne 0x44ecd9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44edfd
ret