joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10007faf
pop dword [ebp - 0x40]
mov eax, 0x10007faf
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xec7b5e40
sub dword [ebp - 0x50], 0x9e2918f5
mov dword [ebp - 0x4c], 0xc79e73a1
sub dword [ebp - 0x4c], 0x956b275c
mov dword [ebp - 0x48], 0x393f1233
add dword [ebp - 0x48], 0x130d31fb
mov dword [ebp - 0x44], 0x109d9d9b
add dword [ebp - 0x44], 0xef626265
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x30e98833
sub dword [ebp - 0x50], 0xbc771edd
mov dword [ebp - 0x4c], 0x46450108
add dword [ebp - 0x4c], 0xfb27606d
mov dword [ebp - 0x48], 0x5ad337be
sub dword [ebp - 0x48], 0xf763cb52
mov dword [ebp - 0x44], 0x234e4c3d
add dword [ebp - 0x44], 0xdcb1b3c3
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xb1aa2aa4
add eax, 0x5e55e59c
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3af7b
push 0
call eax
mov ecx, 0x520d
xor edx, edx
add edx, eax
mov edi, 0x80d77bce
add edi, 0x8f2c3032
add edi, dword [ebp - 0x40]
mov esi, 0xd817eea9
sub dword [ebp - 0x2c], edi
mov ebx, dword [edi]
xor dword [ebp - 0x38], edi
xor ebx, esi
sub dword [ebp - 0x34], ecx
mov dword [edx], ebx
add dword [ebp - 0x20], 0xa1b6c003
add edx, 4
add edi, 0xc70fa19b
sub edi, 0xc70fa197
loop 0x100080bd
add eax, 0x13b07
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x10008dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10013568]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x110], 0
mov dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x10001634
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 8], eax
push 0x10001528
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.msvcrt.dll__strcmpi]
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1000936d
mov esp, ebp
pop ebp
ret
Function at 0x416423
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x417a58
call fcn.00416da8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4193f8
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x416468
cmp eax, esi
jne 0x41645b
xor esi, esi
inc esi
mov edi, esi
jmp 0x41646b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41643f
xor esi, esi
inc esi
cmp dword [0x4193fc], esi
jne 0x41647d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4164b7
cmp dword [0x4193fc], ebx
jne 0x4164b1
mov dword [0x4193fc], esi
push 0x4012ac
push 0x4012a0
call fcn.0041659c
pop ecx
pop ecx
test eax, eax
je 0x4164b7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41658c
mov dword [0x419084], esi
cmp dword [0x4193fc], esi
jne 0x4164da
push 0x40129c
push 0x401294
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4193fc], 2
test edi, edi
jne 0x4164e7
xor eax, eax
mov ecx, 0x4193f8
xchg dword [ecx], eax
cmp dword [0x419400], 0
je 0x416513
push 0x419400
call fcn.00416c00
pop ecx
test eax, eax
je 0x416513
push ebx
push 2
push ebx
mov esi, dword [0x419400]
mov ecx, esi
call dword [0x41a198]
call esi
push dword [0x419090]
push dword [0x41908c]
push dword [0x419088]
call fcn.00405cd8
add esp, 0xc
mov dword [0x419080], eax
cmp dword [0x419098], 0
jne 0x416571
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x419084], 0
jne 0x416585
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x419080]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0057a000
jmp 0x416423

Function at 0x416ae4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x417ad8
call fcn.00416da8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x416b44
cmp eax, 0xffffffff
je 0x416b44
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x416b3d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x416b3d
cmp edx, 0x10000000
jae 0x416b3d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x416b3a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416bb0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x416bee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x416be6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x416bf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x416bd6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4028c1
Capabilities:
Terminate process

Disassembly:
push dword [0x40abe4]
push ecx
push 2
call fcn.00405777
pop ecx
push eax
call fcn.00404d63
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x4028e2
Capabilities:
Terminate process

Disassembly:
push dword [0x40abe4]
push 2
push 2
call fcn.00405777
pop ecx
push eax
call fcn.00404d63
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x402fc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402ff6
test al, 0x10
je 0x402fda
or eax, 0xffffffff
pop esi
ret
test eax, 0x1000
je 0x402ff6
test dword [0x4067c0], 0x200
jne 0x402ff6
mov byte [0x40ed36], 1
jmp 0x402fd5
push edi
push 0
push 0x100000
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403031
push esi
push dword [0x40abe4]
push 4
push 2
call fcn.00405777
pop ecx
push eax
call fcn.00404d63
add esp, 0x10
mov eax, edi
pop edi
pop esi
ret
Function at 0x404d63
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x300c
call fcn.00405850
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
mov dword [ebp - 0x300c], eax
mov edi, 0x1000
lea eax, [ebp - 0x300c]
push eax
push edi
lea eax, [ebp - 0x1004]
push eax
push 0
push dword [ebp + 0xc]
push 0
push 0x800
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageA]
mov dword [ebp - 0x3008], eax
test eax, eax
je 0x404e53
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0x2000
lea eax, [ebp - 0x3004]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js 0x404e45
push dword [ebp - 0x3008]
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0xfff
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeToOemN]
test eax, eax
js 0x404e37
mov eax, dword [ebp - 0x3008]
cmp eax, edi
jae 0x404e75
mov byte [ebp + eax - 0x1004], 0
lea eax, [ebp - 0x1004]
push eax
push 0x40126c
push esi
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
jmp 0x404e67
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x401270
jmp 0x404e5f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x401298
jmp 0x404e5f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x4012c8
call dword [sym.imp.ntdll.dll_DbgPrint]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004051e0
leave
ret
call fcn.00405328
int3
Function at 0x4051a0
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x4058d0
call fcn.00405718
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40ee6c
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x404fc8
cmp eax, esi
jne 0x404fbb
xor esi, esi
inc esi
mov edi, esi
jmp 0x404fcb
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x404f9f
xor esi, esi
inc esi
cmp dword [0x40ee70], esi
jne 0x404fdd
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x405017
cmp dword [0x40ee70], ebx
jne 0x405011
mov dword [0x40ee70], esi
push 0x4010e4
push 0x4010d8
call fcn.004050fc
pop ecx
pop ecx
test eax, eax
je 0x405017
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4050ec
mov dword [0x406074], esi
cmp dword [0x40ee70], esi
jne 0x40503a
push 0x4010d4
push 0x4010cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40ee70], 2
test edi, edi
jne 0x405047
xor eax, eax
mov ecx, 0x40ee6c
xchg dword [ecx], eax
cmp dword [0x40ee74], 0
je 0x405073
push 0x40ee74
call fcn.00405570
pop ecx
test eax, eax
je 0x405073
push ebx
push 2
push ebx
mov esi, dword [0x40ee74]
mov ecx, esi
call dword [0x40f1e4]
call esi
push dword [0x406080]
push dword [0x40607c]
push dword [0x406078]
call fcn.00403d2c
add esp, 0xc
mov dword [0x406070], eax
cmp dword [0x406088], 0
jne 0x4050d1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x406074], 0
jne 0x4050e5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x406070]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00405665
jmp 0x404f83

Function at 0x405454
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4058f0
call fcn.00405718
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4054b4
cmp eax, 0xffffffff
je 0x4054b4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4054ad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4054ad
cmp edx, 0x10000000
jae 0x4054ad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4054aa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x405520
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40555e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405556
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405560
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405546
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402410
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x54e27b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0630]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [esp + 0x240]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
call fcn.00408d60
xor ebx, ebx
mov dword [esp + 0x238], ebx
mov ebp, 7
xor ecx, ecx
mov dword [esi + 0x30], ebp
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], cx
xor edx, edx
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], dx
xor eax, eax
mov dword [esi + 0x74], ebp
mov dword [esi + 0x70], ebx
mov word [esi + 0x60], ax
lea ecx, [esi + 0x80]
mov byte [esp + 0x238], 3
push ecx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
call fcn.00402020
lea edx, [esi + 0x330]
mov byte [esp + 0x238], 4
push edx
mov dword [esi + 0x32c], ebx
call fcn.0041bcd0
mov dword [esi + 0x34c], ebx
xor eax, eax
mov dword [esi + 0x368], ebp
mov dword [esi + 0x364], ebx
mov word [esi + 0x354], ax
lea edi, [esi + 0x37c]
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
xor ecx, ecx
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
mov word [edi + 4], cx
mov edx, dword [esp + 0x244]
mov byte [esp + 0x238], 8
push 0x88
mov dword [esi + 0x58], edx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x398], ebx
mov dword [esi + 0x39c], ebx
call fcn.00450beb
add esp, 4
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x238], 9
cmp eax, ebx
je 0x40254f
push ebp
mov ecx, eax
call fcn.004119c0
jmp 0x402551
xor eax, eax
mov byte [esp + 0x238], 8
push 0x206
mov dword [esi + 0x328], eax
lea ecx, [esp + 0x2a]
xor eax, eax
push ebx
push ecx
mov byte [esi + 0x378], bl
mov word [esp + 0x30], ax
call fcn.00523d50
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x24]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x402596
mov ecx, dword [0x589224]
mov edx, dword [0x589228]
mov dword [eax], ecx
mov ecx, dword [0x58922c]
mov dword [eax + 4], edx
mov dx, word [0x589230]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x348], eax
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4025e0
sub eax, edx
sar eax, 1
push eax
push ebp
mov ecx, edi
call fcn.0040c5e0
call fcn.00403ca0
mov ecx, esi
call fcn.00403d40
mov edi, esi
call fcn.004045b0
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00523c2c
add esp, 0x228
ret 8
Function at 0x424fa0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x425038
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x425031
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ecx, esi
add ecx, ebp
mov eax, edi
adc eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x14]
ja 0x425031
jb 0x424ffb
cmp ecx, dword [esp + 0x10]
ja 0x425031
push 0
push 0
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x425031
push 0x28
call fcn.00450beb
add esp, 4
test eax, eax
je 0x425038
mov edx, dword [esp + 0x2c]
push edx
push ebp
push edi
push esi
mov edx, ebx
call fcn.00424f50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x42f990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54e163
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b0630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x20], dx
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x5c], edi
call fcn.00450beb
add esp, 4
cmp eax, edi
je 0x42f9f3
mov dword [eax], edi
jmp 0x42f9f5
xor eax, eax
push 0xc
mov dword [esi + 0x60], eax
call fcn.00450beb
add esp, 4
cmp eax, edi
je 0x42fa10
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
jmp 0x42fa12
xor eax, eax
push edi
mov ecx, esi
mov dword [esi + 0x64], eax
mov dword [esi + 0x58], edi
call fcn.00443f80
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x450337
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x148
lea ebp, [esp - 4]
mov eax, dword [0x5b0630]
xor eax, ebp
mov dword [ebp + 0x148], eax
push 0xc
mov eax, 0x547875
call fcn.00523c3b
mov esi, ecx
mov eax, dword [esi]
push 0x551024
call dword [eax + 0x14]
push eax
call fcn.0045aa7d
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x450485
push edi
call fcn.0045aa7d
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
push edi
test eax, eax
jne 0x4503a1
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x450485
call fcn.0045aa7d
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x450485
push edi
call fcn.00450c1a
pop ecx
mov dword [0x5b2f10], eax
test eax, eax
je 0x4503e0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x5b2f10]
call fcn.00524660
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
push dword [0x5b2f10]
call fcn.0045aaf4
pop ecx
pop ecx
push 0xfffffffffffffff0
mov ecx, esi
call fcn.004775e4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.004775e4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [esi + 4]
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.0045a948
lea ecx, [ebp]
call fcn.0046282e
and dword [ebp - 4], 0
push 0
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], 0x550a54
lea ecx, [ebp]
mov dword [ebp - 0x10], esp
mov dword [eax], str.InstallFrame.xml
call fcn.00463056
push eax
mov ecx, edi
call fcn.0045dc0d
lea eax, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0045b143
mov ecx, esi
call fcn.0045006e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0045e9b7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x148]
xor ecx, ebp
call fcn.00523c2c
add ebp, 0x14c
leave
ret 0x10

Function at 0x45a8c4
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x45a8da
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x45a8e6
or edi, 1
push 1
call esi
test ax, ax
jge 0x45a8f2
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x45a8fe
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x45a90a
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x48ed10
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x48edf3
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x48ed8e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x48ede0
shl edx, 0x10
cmp edi, 2
jne 0x48ed9f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x48edcd
lea edx, [edi + 0x3c]
jmp 0x48edda
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x48ed30
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret

Function at 0x49ab80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x49abb2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret
Function at 0x49ad00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xa4
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
mov ebp, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xb4]
cmp dword [esi + 0x290], 0
push edi
je case.default.0x49ad60
test eax, eax
je case.default.0x49ad60
mov eax, dword [eax + 0x80]
test eax, eax
je case.default.0x49ad60
lea edx, [ebx - 1]
mov ecx, 0x55f3f4
cmp edx, 3
ja case.default.0x49ad60
jmp dword [edx*4 + 0x49ae7c]
mov ecx, str.Header
mov edx, str.from
jmp 0x49ad7d
mov ecx, str.Header
mov edx, 0x55f3e0
push eax
push edx
push ecx
push str.__s__s__s_
lea eax, [esp + 0x20]
push 0xa0
push eax
call fcn.0049e5d0
lea eax, [esp + 0x28]
add esp, 0x18
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49ada0
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x49adf5
mov ecx, dword [esi + 0xfc]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push 0
push esi
call eax
add esp, 0x14
test eax, eax
jne 0x49ae60
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x49ae23
mov ecx, dword [esi + 0xfc]
mov edx, dword [esp + 0xc4]
push ecx
push edx
push ebp
push ebx
push esi
call eax
add esp, 0x14
jmp 0x49ae60
mov eax, dword [esi + 0xf8]
push eax
push 1
push 2
push 0x55f3bc
call fcn.0052a334
mov ecx, dword [esi + 0xf8]
push ecx
push 1
lea edx, [esp + 0x28]
push edi
push edx
call fcn.0052a334
add esp, 0x20
jmp case.default.0x49ad60
test ebx, ebx
jl 0x49ae5e
cmp ebx, 2
jg 0x49ae5e
mov eax, dword [esi + 0xf8]
push eax
push 1
lea ecx, [ebx + ebx*2 + 0x55f3bc]
push 2
push ecx
call fcn.0052a334
mov edx, dword [esi + 0xf8]
mov eax, dword [esp + 0xd4]
push edx
push 1
push eax
push ebp
call fcn.0052a334
add esp, 0x20
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00523c2c
add esp, 0xa4
ret

Function at 0x49b0b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + eax*4 + 0xc8]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x20]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x49b11f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x49b0ff
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push eax
push edi
call fcn.00490120
push eax
mov eax, dword [edi]
push str.Send_failure:__s
push eax
call fcn.0049af20
add esp, 0x14
mov dword [ebx], 0x37
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4aa070
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [edi + 0xc8]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x4aa0b4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0049af20
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.004a9f70
add esp, 4
pop esi
pop ecx
ret