joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f39d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41f43a
push ebx
push esi
call fcn.0041f366
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041dc79
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f3e7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f439
push edi
push eax
call fcn.004196fd
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f407
call fcn.004196c3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f438
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041dc79
add esp, 0x20
test eax, eax
jne 0x41f426
push edi
call fcn.004196c3
jmp 0x41f42e
push ebx
call fcn.004196c3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42205b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00418fb0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4220ca
cmp esi, dword [ebp - 4]
je 0x4220c5
cmp dword [ebp + 0xc], 0
je 0x4220c5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4220a2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00421bad
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4220cc
xor eax, eax
inc eax
jmp 0x4220cc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x422131
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4354c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00418fb0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00418fb0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4221a8
cmp word [ecx], dx
je 0x4221a8
mov eax, dword [0x42e464]
push edi
dec eax
push eax
push 0x42e350
call fcn.004220d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42221b
cmp word [eax], dx
je 0x42221b
mov eax, dword [edi]
test eax, eax
je 0x4221cc
cmp word [eax], dx
je 0x4221cc
lea eax, [ebp - 0x10]
push eax
call fcn.00421ab3
jmp 0x4221d5
lea eax, [ebp - 0x10]
push eax
call fcn.00421b4e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x422245
mov eax, dword [0x42e34c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42e040
call fcn.004220d0
add esp, 0xc
test al, al
je 0x422245
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x422210
cmp word [eax], di
je 0x422210
lea eax, [ebp - 0x10]
push eax
call fcn.00421ab3
pop ecx
jmp 0x422247
lea eax, [ebp - 0x10]
push eax
call fcn.00421b4e
jmp 0x42220d
mov eax, dword [edi]
test eax, eax
je 0x422232
cmp word [eax], dx
je 0x422232
lea eax, [ebp - 0x10]
push eax
call fcn.00421a68
pop ecx
jmp 0x422245
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x422310
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00421f55
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x422310
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x422310
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x422310
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42229d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041a0cc
test ebx, ebx
je 0x42230b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041a0cc
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x422310
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x422310
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041de48
add esp, 0x10
xor eax, eax
inc eax
jmp 0x422312
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004054aa
leave
ret
Function at 0x4268a5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00426821
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x426a14
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x426a14
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4269c9
jg 0x426901
test eax, eax
je 0x4269bf
push 1
push 0x1000
call fcn.00419984
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x426924
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4269b6
push 0x8000
push ebx
call fcn.004153ba
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42694d
jg 0x426948
cmp ecx, 0x1000
jb 0x42694d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041d507
add esp, 0x10
cmp eax, 0xffffffff
je 0x426992
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x426948
jl 0x426979
test ecx, ecx
jne 0x42693a
push dword [ebp - 0xc]
push ebx
call fcn.004153ba
push esi
call fcn.004196c3
add esp, 0xc
xor ebx, ebx
jmp 0x426a22
cmp byte [edi + 0x24], 0
je 0x4269a9
cmp dword [edi + 0x20], 5
jne 0x4269a9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4269b4
mov ebx, dword [edi + 0x18]
jmp 0x4269b6
xor ebx, ebx
push esi
call fcn.004196c3
pop ecx
jmp 0x426a22
test ecx, ecx
jg 0x42698b
jl 0x4269c9
test eax, eax
jae 0x42698b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cbbf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4269e9
cmp byte [edi + 0x1c], 0
je 0x42698b
jmp 0x426a1a
push ebx
call fcn.0042001e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42698b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x426a22
cmp byte [edi + 0x1c], 0
je 0x426a1f
mov ebx, dword [edi + 0x18]
jmp 0x426a22
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041cbbf
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x428330
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42835d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42835d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401a76
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0
jne 0x401c56
cmp dword [ebp + 0xc], 0x100
je 0x401a9c
cmp dword [ebp + 0xc], 0x104
jne 0x401c56
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 0x75
je 0x401b8d
cmp eax, 0x75
ja 0x401ac8
cmp eax, 0x24
je 0x401c04
cmp eax, 0x74
je 0x401b19
jmp 0x401c56
cmp eax, 0x76
je 0x401add
cmp eax, 0xbb
je 0x401c1b
jmp 0x401c56
mov dword [esp], 5
mov ecx, 0x4af004
call method.std::atomic_bool_.load_std::memory_order__const
sub esp, 4
xor eax, 1
movzx eax, al
mov dword [esp], eax
mov ecx, 0x4af004
call method.std::atomic_bool_.operator_bool_
sub esp, 4
mov eax, dword [0x4f8034]
mov dword [esp], eax
call sym.updateUI_HWND___
jmp 0x401c56
mov dword [esp], 0x10
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x401b3d
fld dword [0x4b12cc]
jmp 0x401b3f
fld1
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [esp + 4]
mov dword [esp], 0x4f8020
call sym.adjustStrength_std::atomic_float___float_
fld dword [ebp - 0x14]
fstp dword [esp + 4]
mov dword [esp], 0x4f8024
call sym.adjustStrength_std::atomic_float___float_
fld dword [ebp - 0x14]
fstp dword [esp + 4]
mov dword [esp], 0x4f8028
call sym.adjustStrength_std::atomic_float___float_
mov eax, dword [0x4f8034]
mov dword [esp], eax
call sym.updateUI_HWND___
jmp 0x401c56
mov dword [esp], 0x10
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x401bb1
fld dword [0x4b12cc]
jmp 0x401bb3
fld1
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fchs
fstp dword [esp + 4]
mov dword [esp], 0x4f8020
call sym.adjustStrength_std::atomic_float___float_
fld dword [ebp - 0x1c]
fchs
fstp dword [esp + 4]
mov dword [esp], 0x4f8024
call sym.adjustStrength_std::atomic_float___float_
fld dword [ebp - 0x1c]
fchs
fstp dword [esp + 4]
mov dword [esp], 0x4f8028
call sym.adjustStrength_std::atomic_float___float_
mov eax, dword [0x4f8034]
mov dword [esp], eax
call sym.updateUI_HWND___
jmp 0x401c56
mov eax, dword [0x4f8034]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.toggleWindowVisibility_HWND____bool_
jmp 0x401c56
mov eax, dword [0x4f8034]
mov dword [esp], eax
call sym._IsWindowVisible_4
sub esp, 4
test eax, eax
je 0x401c36
mov eax, 0
jmp 0x401c3b
mov eax, 5
mov dword [ebp - 0x20], eax
mov eax, dword [0x4f8034]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
nop
mov eax, dword [0x4f8030]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._CallNextHookEx_16
sub esp, 0x10
leave
ret 0xc
Function at 0x401c7f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, 0x4af005
call method.std::atomic_bool_.operator_bool___const
test al, al
je 0x401dba
mov ecx, 0x4af004
call method.std::atomic_bool_.operator_bool___const
test al, al
je 0x401cd4
mov dword [esp], 2
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x401cd4
mov dword [esp], 1
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x401cd4
mov eax, 1
jmp 0x401cd9
mov eax, 0
test al, al
je 0x401da6
mov ecx, 0
mov eax, 0x1c
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x24], ecx
add eax, 4
cmp eax, edx
jb 0x401cf5
mov dword [ebp - 0x24], 0
mov dword [esp], 5
mov ecx, 0x4f8028
call method.std::atomic_float_.load_std::memory_order__const
sub esp, 4
fstp dword [ebp - 0x34]
mov dword [esp], 5
mov ecx, 0x4f8024
call method.std::atomic_float_.load_std::memory_order__const
sub esp, 4
fsubr dword [ebp - 0x34]
fnstcw word [ebp - 0x2a]
movzx eax, word [ebp - 0x2a]
mov ah, 0xc
mov word [ebp - 0x2c], ax
fldcw word [ebp - 0x2c]
fistp dword [ebp - 0x30]
fldcw word [ebp - 0x2a]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [esp], 5
mov ecx, 0x4f8020
call method.std::atomic_float_.load_std::memory_order__const
sub esp, 4
fnstcw word [ebp - 0x2a]
movzx eax, word [ebp - 0x2a]
mov ah, 0xc
mov word [ebp - 0x2c], ax
fldcw word [ebp - 0x2c]
fistp dword [ebp - 0x30]
fldcw word [ebp - 0x2a]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov dword [esp + 8], 0x1c
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], 1
call sym._SendInput_12
sub esp, 0xc
mov dword [esp], 1
call sym._Sleep_4
sub esp, 4
jmp 0x401c85
mov eax, 0
leave
ret 4
Function at 0x40bd70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4f8128
call sym._EnterCriticalSection_4
mov ebx, dword [0x4f8120]
sub esp, 4
test ebx, ebx
je 0x40bdbb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x40bdb4
test esi, esi
je 0x40bdb4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40bd90
mov dword [esp], 0x4f8128
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40bfa0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x40bff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40c0c8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40c02e
cmp eax, 4
jne 0x40c050
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40c03e
cmp edx, 4
je 0x40c03e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040bfa0

Function at 0x40c640
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
sub esp, 4
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40c670
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x40c694
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0
Function at 0x41e180
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4b0adc], 0
jne 0x41e254
mov byte [0x4b0adc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x41e2ee
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0xffffffff
sete al
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov ebp, eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], edi
je 0x41e24a
mov dword [esp], ebx
call sym._fputs
lea eax, [esi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4b13a1
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x41e281
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x41e21b
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x41e245
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x41e2e9
Function at 0x4a93d0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x4a9406
jmp 0x4a943e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4a9403
cmp al, 9
je 0x4a9403
cmp al, 0x22
jne 0x4a9427
jmp 0x4a9486
cmp al, 9
je 0x4a9433
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x4a9420
jmp 0x4a9433
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4a9430
cmp al, 9
je 0x4a9430
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x4a944d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x4a9492
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x4a9482
cmp al, 0x22
jne 0x4a9433
lea ebx, [edx + 2]
jmp 0x4a9433
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x407467
pop dword [ebp - 0x34]
mov eax, 0x758a3b94
add eax, 0x8ab638d3
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xad96e2c7
add dword [ebp - 0x44], 0xa0bb6284
mov dword [ebp - 0x40], 0x710e8f76
sub dword [ebp - 0x40], 0x3edb4331
mov dword [ebp - 0x3c], 0x970d9bde
sub dword [ebp - 0x3c], 0x4ac157b0
mov dword [ebp - 0x38], 0xa50a5552
sub dword [ebp - 0x38], 0xa50a5552
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x50d2e201
add dword [ebp - 0x44], 0x239f8755
mov dword [ebp - 0x40], 0xbd4f510c
sub dword [ebp - 0x40], 0x7be2ef97
mov dword [ebp - 0x3c], 0xc988c51
add dword [ebp - 0x3c], 0x56d6e01b
mov dword [ebp - 0x38], 0x21336051
add dword [ebp - 0x38], 0xdecc9faf
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x1322937e
sub eax, 0x12e21302
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9e8
push 0
call eax
mov ecx, 0x7fc56b50
sub ecx, 0x7fc5113e
mov edx, eax
mov edi, 0x459200
add edi, dword [ebp - 0x34]
mov esi, 0xa5ce9fc3
sub esi, 0xe15c8ffd
mov ebx, dword [edi]
xor dword [ebp - 0x1c], ebx
xor ebx, esi
xor dword [ebp - 0x30], 0x3cf776b1
mov dword [edx], ebx
sub dword [ebp - 0xc], 0xc379b23c
add edx, 0xf1db99ed
sub edx, 0xf1db99e9
add edi, 0xe36c94f8
add edi, 0x1c936b0c
loop 0x40757e
add eax, 0x565a69f0
add eax, 0xa9a6f12b
mov ebx, eax
add eax, 0xba16d85e
add eax, 0x45e927a7
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0xc92514
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x514], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xc82abc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00c924a0
test eax, eax
jbe 0xc926a3
cmp dword [ebp - 8], 0
jbe 0xc926a3
mov eax, dword [ebp - 0xc]
call fcn.00c924a0
cmp eax, 0x80
jbe 0xc9257d
lea eax, [ebp - 0x510]
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp - 0xc]
call fcn.00c9250c
jmp 0xc92597
mov eax, dword [ebp - 0xc]
call fcn.00c924a0
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x510]
mov edx, dword [ebp - 0xc]
call fcn.00c9250c
xor edi, edi
lea eax, [ebp - 0x410]
mov dword [eax], edi
inc edi
add eax, 4
cmp edi, 0x100
jne 0xc9259f
xor esi, esi
xor edi, edi
lea ebx, [ebp - 0x410]
lea eax, [ebp - 0x514]
mov edx, dword [ebp - 0xc]
call fcn.00c91684
mov eax, dword [ebp - 0x514]
call fcn.00c916f8
push eax
mov eax, edi
pop edx
mov ecx, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [ebp + edx - 0x510]
add esi, dword [ebx]
add eax, esi
and eax, 0x800000ff
jns 0xc925f4
dec eax
or eax, 0xffffff00
inc eax
mov esi, eax
mov al, byte [ebx]
mov edx, dword [ebp + esi*4 - 0x410]
mov dword [ebx], edx
and eax, 0xff
mov dword [ebp + esi*4 - 0x410], eax
inc edi
add ebx, 4
cmp edi, 0x100
jne 0xc925b7
xor esi, esi
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
dec ecx
test ecx, ecx
jl 0xc926a3
inc ecx
inc esi
and esi, 0x800000ff
jns 0xc9263d
dec esi
or esi, 0xffffff00
inc esi
add edx, dword [ebp + esi*4 - 0x410]
and edx, 0x800000ff
jns 0xc92654
dec edx
or edx, 0xffffff00
inc edx
mov al, byte [ebp + esi*4 - 0x410]
mov ebx, dword [ebp + edx*4 - 0x410]
mov dword [ebp + esi*4 - 0x410], ebx
and eax, 0xff
mov dword [ebp + edx*4 - 0x410], eax
mov eax, dword [ebp + esi*4 - 0x410]
add eax, dword [ebp + edx*4 - 0x410]
and eax, 0x800000ff
jns 0xc92691
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax*4 - 0x410]
mov ebx, dword [ebp - 0x10]
xor byte [ebx], al
inc dword [ebp - 0x10]
dec ecx
jne 0xc9262c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc82ac3
lea eax, [ebp - 0x514]
call fcn.00c9156c
ret