joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42526d
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [esi], 1
jne 0x425293
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
jmp 0x4252cf
cmp dword [esi + 0x2c], ebx
je 0x4252cf
mov edi, dword [ebp + 0x10]
cmp edi, dword [esi + 0x30]
cmovg edi, dword [esi + 0x30]
push edi
push dword [esi + 0x34]
push dword [ebp + 0xc]
call fcn.0041b890
sub dword [esi + 0x30], edi
add esp, 0xc
add dword [esi + 0x34], edi
cmp dword [esi + 0x30], ebx
jne 0x4252cf
push dword [esi + 0x2c]
push ebx
push dword [0x461438]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x2c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4257d2
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, 0xffffffff
jne 0x4257f5
lea eax, [ebp + 0xc]
push eax
push 0x4004667f
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42583e
push 2
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x425834
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2745
je 0x42582f
cmp eax, 0x2746
je 0x42582f
cmp eax, 0x2749
je 0x42582f
cmp eax, 0x274a
jne 0x42583e
push 0xfffffffffffffffe
pop esi
jmp 0x42583e
push 0xfffffffffffffffe
test eax, eax
mov esi, eax
pop ecx
cmove esi, ecx
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x4270f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x427186
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x427183
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x427183
lea eax, [esi - 1]
push eax
push dword [0x462a60]
call fcn.0042d631
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x427185
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x427173
mov edx, 0xfa01
cmp word [ecx], dx
je 0x42717e
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x427163
jmp 0x427183
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x42722c
push eax
call esi
test al, al
jns 0x42722c
push 0x11
call esi
test al, al
js 0x42722c
push 0x10
call esi
test al, al
js 0x42722c
push 0x12
call esi
test al, al
js 0x42722c
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x42722c
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.0040ebe6
add esp, 0xc
test eax, eax
je 0x427200
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.0040ebe6
add esp, 0xc
test eax, eax
jne 0x427217
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x42726d
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.00444a7b
pop ecx
pop ecx
test eax, eax
je 0x42726d
test ebp, ebp
je 0x427250
push 0x11
call esi
test al, al
js 0x427248
push 0x10
call esi
test al, al
js 0x427248
push 0x12
call esi
test al, al
jns 0x427250
push 1
push ebp
call fcn.00427279
test ebx, ebx
je 0x427264
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x42726d
test edi, edi
je 0x42726d
mov eax, dword [edi + 8]
jmp 0x42726f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x42a510
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x42a548
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a543
xor eax, eax
cmp dword [esp + 0xc], esi
pop edi
sete al
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call fcn.0041b890
add dword [edi + 8], esi
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
Function at 0x42d3e2
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebx
mov ebx, eax
mov eax, dword [0x462994]
push esi
push edi
test eax, eax
jne 0x42d408
push 0x42d511
push 0x10
push 0x258
call fcn.0042d6d5
mov dword [0x462994], eax
mov edi, dword [esp + 0x10]
push edi
push eax
call fcn.0042d658
mov esi, eax
test esi, esi
je 0x42d509
cmp dword [esp + 0x14], ebx
mov eax, 0x453268
push ebp
cmovne eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x42d440
xor ecx, ecx
cmp word [ebp], cx
jne 0x42d449
mov ebp, 0x455e90
mov dword [esp + 0x1c], ebp
push eax
call fcn.0040d4e2
push ebp
mov dword [esp + 0x20], eax
call fcn.0040d4e2
add eax, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x461438]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x42d4f6
push dword [esp + 0x14]
push ebp
call fcn.00444f75
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42d4a9
mov eax, dword [esp + 0x14]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x42d4a9
push 0x450398
push ebp
call fcn.00445f93
pop ecx
pop ecx
push dword [esp + 0x1c]
push ebp
call fcn.00445f93
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x42d4ce
xor ecx, ecx
mov dword [esi + 4], ecx
jmp 0x42d4e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
jne 0x42d4e4
mov dword [esi + 4], 1
mov ebx, esi
push ebp
push ecx
push dword [0x461438]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
jne 0x42d508
cmp edi, 0xffffffff
cmove edi, esi
push edi
push dword [0x462994]
call fcn.0042d5f7
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0xc

Function at 0x42ecd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42ecfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ecfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x445a04
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042eb90
mov eax, dword [0x45f548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00414dd0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x445a46
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x445ba2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0044eaf0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4623d0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004179fb
mov ecx, dword [esi*4 + 0x4623d0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x445b9b
cmp eax, dword [ecx + edi + 0x24]
jne 0x445b9b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445b9b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004179fb
add esp, 0x14
test edx, edx
jl 0x445b9b
jg 0x445b11
test eax, eax
jb 0x445b9b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x445b9b
jl 0x445b2b
cmp dword [ebp - 0x1008], eax
ja 0x445b9b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x445b49
test ebx, ebx
je 0x445b82
cmp ecx, edi
jae 0x445b82
mov al, byte [ecx]
cmp al, 0xd
jne 0x445b63
lea eax, [edi - 1]
cmp ecx, eax
jae 0x445b6f
cmp byte [ecx + 1], 0xa
jne 0x445b6f
inc ecx
jmp 0x445b6f
movzx eax, al
movsx eax, byte [eax + 0x45fca0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x445b49
cmp edx, ebx
jne 0x445b49
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x445ba0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402bbf
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x62f2142c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5cb34d7d
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10003ece
pop dword [ebp - 0x18]
mov eax, 0x10003ece
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb81d5f95
sub dword [ebp - 0x28], 0x69cb1a4a
mov dword [ebp - 0x24], 0x91e91efa
add dword [ebp - 0x24], 0xa04a2d4b
mov dword [ebp - 0x20], 0xc997e720
sub dword [ebp - 0x20], 0x7d4ba2f2
mov dword [ebp - 0x1c], 0xfda65918
add dword [ebp - 0x1c], 0x259a6e8
lea eax, [ebp - 0x28]
push eax
mov eax, 0xa2485c01
sub eax, 0x92480bbd
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xdd25374c
add dword [ebp - 0x28], 0x974d320a
mov dword [ebp - 0x24], 0x84b15f4c
sub dword [ebp - 0x24], 0x4344fdd7
mov dword [ebp - 0x20], 0xaebf668d
sub dword [ebp - 0x20], 0x4b4ffa21
mov dword [ebp - 0x1c], 0xea5dbf56
sub dword [ebp - 0x1c], 0xea5dbf56
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xdedea5c0
sub eax, 0xcede5580
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa22
push 0
call eax
mov ecx, 0x5317c6e1
add ecx, 0xace8911f
xor ebx, ebx
add ebx, eax
mov edi, 0x1000b600
add edi, dword [ebp - 0x18]
mov edx, 0x18cd43ad
xor dword [ebp - 0xc], 0x46874eb5
mov esi, dword [edi]
xor dword [ebp - 4], 0x9f7cc2
xor esi, edx
xor dword [ebp - 0xc], edx
mov dword [ebx], esi
add ebx, 0xc6c89529
add ebx, 0x39376adb
add edi, 0xf9ebe1e1
add edi, 0x6141e23
loop 0x10003fe1
add eax, 0x162003b5
sub eax, 0x161eb0e2
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0xc5d47b0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x411a0f16
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x414200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x414222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414218
mov eax, 1
add ebx, ebx
jne 0x41423b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414230
jne 0x41424c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414230
xor ecx, ecx
sub eax, 3
jb 0x414260
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4142d2
mov ebp, eax
add ebx, ebx
jne 0x41426b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41429c
inc ecx
add ebx, ebx
jne 0x414288
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41427d
jne 0x414299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41427d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4142bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4142ad
jmp 0x41421e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4142bc
add edi, ecx
jmp 0x41421e
pop esi
mov edi, esi
mov ecx, 0x2c2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4142da
cmp byte [edi], 5
jne 0x4142da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4142df
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x41434e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1406c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41430c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14074]
or eax, eax
je 0x414348
mov dword [ebx], eax
add ebx, 4
jmp 0x414329
call dword [esi + 0x14070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41437f
cmp al, 0xef
ja 0x414372
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x414354
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414361
mov ebp, dword [esi + 0x14078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4143b3
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x432375
Capabilities:
Encode data using xor

Disassembly:
pop esi
call 0xacafeadf
xor byte [edi + 0x76], dh
push edi
xlatb
push esi
mov ch, 0x72
and dword [edx - 0x2b0c2d0d], ebx
mov dl, 0x57
xchg edx, eax
xchg eax, esi
fist word [ecx - 0x1f]
push dword [edi + 3]
and dword [ecx], ebx
cmp ebp, ebx
cmpsd dword [esi], dword es:[edi]
xor dword [ebx + esi*2 + 0x5687a198], eax
push esp
push ss
jne 0x43235b
add bh, byte [ebx]
inc esp
mov edx, dword [edx - 0x1b8e9f83]
retf

Function at 0x43b215
Capabilities:
Encode data using xor

Disassembly:
inc edx
inc edx
sub byte [esi], bh
xor eax, 0xf4de030
and byte [ecx - 0x71], bl
xchg ebx, eax
sti
cmpsb byte [esi], byte es:[edi]
mul byte [ebx + ebx]
jns 0x43b19f
mov al, 0x23
invalid
or al, 0x4c
cmp ebp, dword [edx - 9]
jne 0x43b1a0
mov word [edx - 0x685c5453], ss
mov bl, 0x68
mov bl, 0xbd
stc
and ah, byte [esi + 0x28bd781c]
mov ds, ecx
cli
stosd dword es:[edi], eax
mov dword [0xb368b397], eax
mov ebp, 0xa622f966
sbb al, 0x78
mov ebp, 0xfad98e28
or esi, esi
xor ebp, esp
cmp esp, dword [eax - 0xf]
or byte [edx + 0x18c4fa54], 0x87
or byte [esi + 0x24fba338], ch
push ebp
loop 0x43b21f
popfd
xchg esi, eax
lds edi, [ecx]
push esp
or esi, ebx
mov ch, 0xd1
pop ss
push ecx
cdq
push eax
inc edi
fidiv word [edi]
jl 0x43b2b4
mov dl, 0x4b
mov edi, edi
insd dword es:[edi], dx
invalid
cmc
out dx, al
cwde
ja 0x43b25f
add dl, byte [esi - 0x61695ef3]
sahf
mov ds, word ss:[edi]
jns 0x43b2a3
out dx, eax
ja 0x43b2ad
xor al, 0x31
pop edi
add dword [ebx - 0x1e], 0xfb496ad6
xchg dword [edi - 0x29], ebp
dec eax
mov ebp, 0x3ae4a6f
mov ch, byte ss:[edi - 0x29]
fld qword [esi + 0x2107d482]
nop
outsd dx, dword [esi]
ret 0xa026
Function at 0x43ef25
Capabilities:
Encode data using xor

Disassembly:
mov bh, 0xf3
pop edx
enter 0xffffffffffffb7f2, 0xffffffffffffffbc
or eax, 0x84943c79
fnstcw word [ebp + 0x44495349]
cmpsd dword [esi], dword es:[edi]
jnp 0x43ef48
out 0xc2, eax
out 0xc2, eax
pop eax
sbb dword [edi - 0x14], esp
cwde
mov dl, 0xf7
das
fldcw word [eax]
and byte [edx - 0x54], bl
pop edx
lodsb al, byte [esi]
test dword [ebx - 0x62], 0x681aee77
mov bh, 0xef
xor byte [edx + 0x2e79fb5], 0xe8
mov ch, 0x9f
out 2, eax
invalid
xor bh, dl
invalid
mov ch, 0x9f
out 2, eax
call 0xc836c65e
loop 0x43ef47
shl bh, 0xb2
dec eax
mov cl, 0x16
loop 0x43ef18
test byte [ebx], bl
jecxz 0x43eef3
invalid
mov eax, dword [0x1c42726]
daa
les eax, [ecx]
insd dword es:[edi], dx
sbb byte [ebx + 0x458e637], ch
div dword [edx + 0x7d20e8d8]
cmpsd dword [esi], dword es:[edi]
jge 0x43ef01
pushal
mov bh, 0x92
mov byte [ebp + 0x7a08b29e], cl
add al, 0x32
jb 0x43ef09
dec eax
jo 0x43efd1
test cl, ch
xchg esi, eax
mov cl, 0xfd
mov ch, 0x9d
pop ss
mov dl, 0xe8
loope 0x43ef58
sal byte [esp + esi*2], cl
imul eax, dword [edx + 0x56], 0x98d2342d
xchg edi, eax
push eax
inc edx
cmc
push es
pop ss
adc ah, bh
pop es
test al, dh
sti
push es
mov al, byte [0x139ebfa3]
lodsb al, byte [esi]
inc edi
mov dword [0x82239267], eax
shl bl, 0x41
or al, 0x85
cmp eax, 0x73d56296
xor dword [ebx + ebx*4], 0x42
mov ch, 0xe2
pop ss
inc edi
dec edx
scasd eax, dword es:[edi]
inc edx
push 0xffffffffffffffef
and eax, 0x5c60368
std
mov bh, 0x33
jne 0x43ef71
int1
add eax, 0xdef4275b
xchg dword fs:[ebx], ebx
sub dl, byte [edi + 0x47]
in eax, dx
sbb eax, eax
call 0x28619fd0
loopne 0x43f03a
push 0x67c0f802
sub eax, 0xd255e026
enter 0xffffffffffffb83b, 0xffffffffffffffd9
xchg esi, eax
outsb dx, byte [esi]
mov ecx, 0x4140a776
add bh, al
shl byte [edi + 0x2d], 0x26
loopne 0x43f02f
ror al, cl
cmp edi, dword [eax - 0x46916927]
jbe 0x43ef8b
inc eax
inc ecx
sub ecx, dword [eax + 0x38c1a724]
retf
les edi, [ecx + ebx - 0x73]
in al, 0x4d
xor dl, byte [edx]
les ebx, [ebp + 0x7a8ab7ec]
dec edi
mov bh, 0x8a
jp 0x43f08d
pushal
bound ebx, qword [bx + 0x4560]
std
bound ebx, qword [esi - 0x3b34cea3]
xor dword [edx], 0xe31752f6
or ecx, dword [edi]
pop es
sbb edi, esi
push edx
call 0x8ef74806
pop edx
mov byte [esi - 0x4dc21d99], bl
mov ebx, dword [esi - 0x4a]
dec esi
cmp cl, bl
and ebx, dword [edi]
ret
mov bh, 0xe
out 0xb8, al
or esi, esp
add ch, cl
iretd
Function at 0x4c27f5
Capabilities:
Encode data using xor

Disassembly:
inc ebp
mov byte [ebp - 0x13], al
mov esi, 0x64a2e52a
mov ch, 0x96
mov eax, dword [0x10dbe00d]
push ebp
fistp dword [edi]
lodsb al, byte [esi]
push esi
and byte [esi - 0x4e5e8d2a], bh
xor eax, 0xd0fd71f4
or eax, 0x86adc00b
and byte [edi - 0x672e6830], ah
aaa
inc esi
and edx, esp
in eax, dx
insd dword es:[edi], dx
sti
lds esi, [esi - 0x53ea46cd]
jb 0x4c27a9
bound esp, qword [0x15348691]
sub ch, ah
invalid
or eax, 0x61af9594
jne 0x4c2796
mov dh, 0xc9
cmp al, 0x29
dec eax
pop ds
in eax, 0x92
popal
mov dh, 0xe1
mov edi, 0xb487111f
inc eax
lahf
imul esi, ebx, 0xe3010a8a
jge 0x4c284e
add eax, 0xad812ef9
pop ebp
loopne 0x4c287f
invalid
dec ecx
sbb edi, dword [ebx - 0x2d]
salc
mov eax, dword [0x553e27a7]
pop esp
mov esi, 0x797a990
aam 0xf4
lodsd eax, dword [esi]
stosd dword es:[edi], eax
sub eax, edx
imul eax, dword [ecx - 0x5e], 0xff37cf07
fisubr dword [eax + edi]
adc byte [0x78ab9fbb], bh
pop ebx
or dword [ebx + 0x47], esi
dec esp
int3
ljmp 0x506f:0xd1d034b5

Function at 0x4cef43
Capabilities:
Encode data using xor

Disassembly:
cmp ah, byte [0xba8a05e1]
lodsd eax, dword [esi]
stosb byte es:[edi], al
lodsb al, byte [esi]
Function at 0x401750
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00407820
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00407820
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4017b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40d068]
test esi, esi
jle 0x4018d0
mov eax, dword [0x40d06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4017e4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401867
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4017d0
mov dword [esp], ebx
call fcn.004021a0
mov edi, eax
test eax, eax
je 0x4018f7
mov eax, dword [0x40d06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004022e0
mov edx, dword [0x40d06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4018d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401860
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401870
add dword [0x40d068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40d06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401750
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4017ee
mov eax, dword [0x40d06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401750
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401750
lea esi, [esi]
nop