joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fd20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404624
mov eax, dword [ebp - 8]
call fcn.00404624
mov eax, dword [ebp + 0x10]
call fcn.00404624
lea eax, [ebp - 0x168]
mov edx, dword [0x407798]
call fcn.00404b0c
xor eax, eax
push ebp
push 0x49fef0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 4]
call fcn.00408f54
test al, al
je 0x49feac
mov eax, dword [ebp - 8]
call fcn.00408f54
test al, al
jne 0x49fda9
mov eax, dword [ebp - 8]
call fcn.00408f78
xor eax, eax
push ebp
push 0x49fea5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049fc98
lea eax, [ebp - 0x16c]
mov edx, dword [ebp + 0x10]
call fcn.0040443c
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
mov edx, 0x20
call fcn.004090c4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49fe8e
mov eax, dword [ebp - 0x15c]
call fcn.00404434
cmp esi, eax
jge 0x49fe76
push 0
lea ecx, [ebp - 0x170]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049fc98
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x15c]
call fcn.0040443c
mov eax, dword [ebp - 0x170]
call fcn.00404634
push eax
lea ecx, [ebp - 0x174]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049fc98
lea eax, [ebp - 0x174]
mov edx, dword [ebp - 0x15c]
call fcn.0040443c
mov eax, dword [ebp - 0x174]
call fcn.00404634
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x49fe72
mov byte [ebp - 9], 1
jmp 0x49fe76
mov byte [ebp - 9], 0
lea eax, [ebp - 0x168]
call fcn.00409114
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49fdf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49feac
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fef7
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00404198
lea eax, [ebp - 0x168]
mov edx, dword [0x407798]
call fcn.00404bdc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404198
lea eax, [ebp + 0x10]
call fcn.00404174
ret
Function at 0x401050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
push edi
push dword [esi]
call ebx
push dword [esi + 4]
mov edi, eax
call ebx
mov ebx, eax
xor esi, esi
push dword [esi + 0x41b044]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi - 0x10], eax
add esi, 4
cmp esi, 0x10
jl 0x401070
xor edx, edx
lea esi, [edx + 0x10]
nop dword [eax]
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x10]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shl ecx, 4
add ecx, dword [ebp - 8]
shr eax, 5
add eax, dword [ebp - 4]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x401090
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4010f0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
push edi
push dword [esi]
call ebx
push dword [esi + 4]
mov edi, eax
call ebx
mov ebx, eax
xor esi, esi
push dword [esi + 0x41b044]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi - 0x10], eax
add esi, 4
cmp esi, 0x10
jl 0x401110
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shl ecx, 4
add ecx, dword [ebp - 8]
shr eax, 5
add eax, dword [ebp - 4]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl ecx, 4
add ecx, dword [ebp - 0x10]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x401132
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4020f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x41b03c]
push esi
mov esi, ecx
test eax, eax
je 0x40211d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x41b03c], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x41b03c], eax
mov eax, 2
mov word [ebp - 0x14], ax
mov eax, dword [0x41afb4]
mov dword [ebp - 0x10], eax
movzx eax, word [0x41adcc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [0x41b03c]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x402189
push 0
push 0x41709c
push str.Error___
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040341c
mov esp, ebp
pop ebp
ret
push 0x23
push 0x8001
push esi
push dword [0x41b03c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040341c
mov esp, ebp
pop ebp
ret

Function at 0x4021b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x402277
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x402273
push esi
nop dword [eax]
mov eax, 0x4170d0
lea ecx, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x402236
test dx, dx
je 0x402232
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x402236
add ecx, 4
add eax, 4
test dx, dx
jne 0x402210
xor eax, eax
jmp 0x40223b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402260
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402260
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402200
pop esi
push edi
call ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040341c
mov esp, ebp
pop ebp
ret
Function at 0x402290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
movzx eax, dx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x108], ebx
push esi
push edi
sub eax, 1
je 0x402389
sub eax, 1
jne 0x4024ac
movzx eax, word [ecx]
lea esi, [ecx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [ebp - 0x108], eax
mov al, byte [esi]
inc esi
movzx edi, al
lea eax, [ebp - 0x104]
push edi
push esi
push eax
call fcn.00404da0
add esp, 0xc
cmp edi, 0x100
jae 0x4024bd
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
mov byte [ebp + edi - 0x104], 0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push 0
push 0
call edi
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0040362f
add esp, 4
push esi
mov esi, eax
lea eax, [ebp - 0x104]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
push 0
push 0x41709c
push esi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp word [ebp - 0x108], 0
jne 0x40236f
push 0
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
push esi
call fcn.0040362a
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040341c
mov esp, ebp
pop ebp
ret
cmp byte [0x41abac], 0
je 0x4024c2
push dword [ecx]
mov byte [0x41abac], 0
lea edi, [ecx + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [0x41af28]
jne 0x4024ce
movzx eax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx esi, ax
mov eax, dword [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp esi, 1
jne 0x402476
mov al, byte [edi + 6]
add edi, 7
movzx esi, al
lea eax, [ebp - 0x104]
push esi
push edi
push eax
call fcn.00404da0
add esp, 0xc
cmp esi, 0x100
jae 0x4024bd
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x104]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [ebp + esi - 0x104], 0
call ebx
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0040362f
add esp, 4
mov edi, eax
lea eax, [ebp - 0x104]
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
push 0
push 0x41709c
push edi
push dword [ebp - 0x108]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.0040362a
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040341c
mov esp, ebp
pop ebp
ret
push dword [0x41adbc]
mov dword [0x41af28], 0
push dword [0x41aba4]
mov dword [0x41adc4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x41aba4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040341c
mov esp, ebp
pop ebp
ret
call fcn.0040354d
call fcn.004021b0
push 0
call fcn.00406a01
call fcn.004021b0
push 0
push 0x4170e8
push 0x4170f0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.00406a01
int3
Function at 0x4024f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
movzx eax, bx
movzx esi, ax
push edi
add esi, 0x10
mov dword [ebp - 8], edx
push esi
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
call fcn.0040807b
mov edi, eax
add esp, 4
test edi, edi
je 0x402636
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [edi], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0xffffffffffffffff
mov word [edi + 2], ax
call dword [sym.imp.WS2_32.dll_ntohl]
push 0
mov dword [edi + 4], eax
mov word [edi + 8], 1
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [edi + 0xa], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0xc], ax
mov eax, dword [ebp + 8]
add eax, 2
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
push ebx
push dword [ebp - 8]
mov word [edi + 0xe], ax
lea eax, [edi + 0x10]
push eax
call fcn.00404da0
lea edx, [esi + 0xa]
mov eax, 8
mov ecx, edx
and ecx, 7
sub eax, ecx
test ecx, ecx
cmove eax, ecx
add eax, edx
mov dword [ebp + 8], eax
add eax, 0x12
push eax
call fcn.0040807b
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x402636
lea eax, [ebp + 8]
mov edx, esi
push eax
lea ecx, [ebx + 0x12]
push ecx
push ecx
mov ecx, edi
call fcn.00401190
mov esi, dword [ebp + 8]
push edi
add esi, 0x12
call fcn.00407df7
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_htonl]
push 0x74
mov dword [ebx], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push 0
mov word [ebx + 4], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push 0
mov word [ebx + 6], ax
call edi
push 0
mov dword [ebx + 8], eax
call edi
mov dword [ebx + 0xc], eax
mov edi, ebx
mov word [ebx + 0x10], 1
test esi, esi
jle 0x40262d
push 0
push esi
push edi
push dword [0x41b03c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x40262d
sub esi, eax
add edi, eax
test esi, esi
jg 0x402611
push ebx
call fcn.00407df7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4026f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004105e0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
mov dword [ebp - 0x100c], ecx
sub eax, 1
jne 0x4028f6
push ebx
push esi
push eax
lea ebx, [ebp - 0x1004]
push 0x1000
mov eax, ebx
push eax
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x4028f4
mov ecx, dword [0x41af24]
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
push edi
test ecx, ecx
je 0x402886
cmp dword [0x41afb0], 4
jae 0x4027a5
mov ebx, dword [0x41afb0]
lea eax, [ebp - 0x1004]
mov edi, 4
sub edi, ebx
cmp esi, edi
cmovl edi, esi
push edi
push eax
lea eax, [ebx + ecx]
push eax
call fcn.00404da0
add ebx, edi
add esp, 0xc
mov dword [0x41afb0], ebx
cmp ebx, 4
jb 0x4028f3
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
lea ebx, [ebp - 0x1004]
mov ecx, dword [0x41af24]
add ebx, edi
sub esi, edi
push dword [ecx]
call eax
mov edx, dword [0x41afb0]
mov ecx, eax
sub eax, edx
mov dword [ebp - 0x1010], ecx
mov dword [ebp - 0x1008], eax
cmp ecx, dword [0x41af2c]
jle 0x4027fa
push ecx
push dword [0x41af24]
mov dword [0x41af2c], ecx
call fcn.00407b69
mov edi, eax
add esp, 8
test edi, edi
je 0x4028f3
mov eax, dword [ebp - 0x1008]
mov edx, dword [0x41afb0]
mov dword [0x41af24], edi
jmp 0x402800
mov edi, dword [0x41af24]
test eax, eax
js 0x402860
cmp esi, eax
cmovl eax, esi
push eax
mov dword [ebp - 0x1008], eax
lea eax, [edx + edi]
push ebx
push eax
call fcn.00404da0
mov ecx, dword [0x41afb0]
add esp, 0xc
add ecx, dword [ebp - 0x1008]
mov eax, dword [ebp - 0x1010]
mov dword [0x41afb0], ecx
cmp ecx, eax
jl 0x4028f3
mov ecx, dword [ebp - 0x100c]
mov edx, edi
push eax
call fcn.00402640
add ebx, dword [ebp - 0x1008]
add esp, 4
sub esi, dword [ebp - 0x1008]
mov edi, dword [0x41af24]
push edi
call fcn.00407df7
add esp, 4
mov dword [0x41af24], 0
mov dword [0x41afb0], 0
test esi, esi
jle 0x4028f3
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
cmp esi, 4
jae 0x402892
mov edi, 4
jmp 0x402898
push dword [ebx]
call eax
mov edi, eax
push edi
cmp edi, esi
jg 0x4028cb
mov ecx, dword [ebp - 0x100c]
mov edx, ebx
call fcn.00402640
mov eax, dword [sym.imp.WS2_32.dll_ntohl]
sub esi, edi
add esp, 4
add ebx, edi
test esi, esi
jg 0x402886
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040341c
mov esp, ebp
pop ebp
ret
mov dword [0x41af2c], edi
call fcn.0040807b
add esp, 4
test eax, eax
je 0x4028f3
push esi
push ebx
push eax
mov dword [0x41af24], eax
call fcn.00404da0
add esp, 0xc
mov dword [0x41afb0], esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040341c
mov esp, ebp
pop ebp
ret
Function at 0x402910
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2238
call fcn.004105e0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, edx
push edi
lea edx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x402931
sub ebx, edx
lea eax, [ebp - 0x2003]
push ebx
push ecx
push eax
mov byte [ebp - 0x2004], bl
call fcn.00404da0
lea edi, [ebp - 0x2003]
add esp, 0xc
add edi, ebx
mov ebx, esi
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x402960
sub ebx, ecx
push ebx
mov byte [edi], bl
inc edi
push esi
push edi
call fcn.00404da0
add esp, 0xc
add edi, ebx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
xor esi, esi
cmp ebx, 0xffffffff
je 0x4029e6
lea eax, [ebp - 0x2230]
mov dword [ebp - 0x2230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4029df
nop dword [eax + eax]
lea eax, [ebp - 0x220c]
push eax
push 0x4170d0
call fcn.00406cf2
add esp, 8
test eax, eax
lea eax, [ebp - 0x2230]
cmove esi, dword [ebp - 0x2228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4029b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov dword [edi], eax
add edi, 4
push 0
call fcn.00407d8f
push eax
call fcn.004066b4
add esp, 8
call fcn.00406693
cdq
mov ecx, 0x15f90
idiv ecx
add edx, 0x2710
push edx
mov dword [0x41af28], edx
call esi
mov dword [edi], eax
sub esp, 0x14
lea eax, [ebp - 0x2004]
mov byte [0x41abac], 1
sub edi, eax
mov edx, eax
add edi, 4
mov ecx, 1
push edi
call fcn.004024f0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040341c
mov esp, ebp
pop ebp
ret
Function at 0x403dea
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403e29
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403e29
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403e29
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403e29
cmp dword [ecx + 0x74], 0xe
jbe 0x403e29
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b143
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x414004
push 0x413ffc
push str.FlsAlloc
push 0x1f
call fcn.0040b07e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b177
push dword [ebp + 8]
mov ecx, esi
call dword [0x41125c]
call esi
jmp 0x40b17d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b1c1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x414014
push 0x41400c
push str.FlsGetValue
push 0x21
call fcn.0040b07e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b1f8
push dword [ebp + 8]
mov ecx, esi
call dword [0x41125c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b200
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41401c
push 0x414014
push str.FlsSetValue
push 0x22
call fcn.0040b07e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b23a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41125c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40c25f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40c2aa
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040c3fa
test al, al
jne 0x40c2a4
sub edx, 2
cmp edx, edi
jne 0x40c28a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40c2cc
lea eax, [edi + 2]
cmp edx, eax
je 0x40c2cc
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040c1ab
add esp, 0x10
jmp 0x40c3c6
push esi
lea ecx, [ebp - 0x255]
call fcn.0040c3fa
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c30f
push dword [ebp - 0x25c]
jmp 0x40c2bc
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40c34c
cmp word [ebp - 0x226], 0
je 0x40c36d
cmp word [ebp - 0x226], ax
jne 0x40c34c
cmp word [ebp - 0x224], 0
je 0x40c36d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040c1ab
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40c3b9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40c326
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40c3a1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40c3c6
push 0x40bfdb
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040e920
add esp, 0x10
jmp 0x40c396
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040341c
leave
ret

Function at 0x4104f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41051d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41051d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41717c
Capabilities:
Check http status code

Disassembly:
cli
invalid
mov ah, dh
out 5, eax
mov ecx, 0x26b6aaf7
test al, 0xc8
inc ebp
pop es
push esp
cmp edi, ecx
sub al, 0x25
jno 0x417132
out dx, al
rcr dword [edi - 0x4c], 0xf8
xor al, 0x2b
sub ebx, esp
fidivr word [ecx - 0x76914c15]
out 0x6a, al
aas
dec edx
je 0x41721c
outsd dx, dword [esi]
invalid
daa
mov edx, 0x7d69e861
lodsd eax, dword [esi]
imul ebp, esp, 0xb
inc eax
outsd dx, dword [esi]
adc eax, 0x647085f
mov dh, 0xf
add al, 0xe5
xor cl, byte [ebx]
lds ebx, [esi - 0x1c]
rcr byte [edx - 0x57], 0x22
invalid

Function at 0x44b610
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ecx
mov cl, byte [0x65e041]
mov al, byte [0x65e04e]
or cl, 0xc
push ebx
shr cl, 2
and ecx, 0xff
mov bl, byte [0x65e043]
mov dword [esp + 4], ecx
xor bl, al
fild dword [esp + 4]
mov byte [0x65e043], bl
fdivr qword [0x6619f0]
fadd qword [0x661990]
fstp qword [0x6619f0]
call dword [sym.imp.USER32.dll_GetFocus]
mov dl, byte [0x65e042]
mov bl, byte [str.LH3]
mov ecx, dword [0x65e03c]
xor bl, dl
mov edx, dword [0x65e048]
and ecx, 0xc
and edx, 0xff
mov dword [0x661bf4], eax
mov eax, dword [0x65e034]
imul ecx, edx
mov edx, dword [0x65e038]
mov byte [str.LH3], bl
mov ebx, dword [0x65e030]
and eax, 4
add ebx, eax
mov eax, dword [esp + 0xc]
xor edx, ecx
push eax
mov dword [0x65e030], ebx
mov dword [0x65e038], edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x661bf4], eax
mov eax, dword [0x661bf0]
test eax, eax
jne 0x44b749
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push str.user32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [0x661adc]
mov esi, eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0xa3
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x44b70d
cmp edi, dword [0x661bf4]
je 0x44b70d
mov dword [0x661bf4], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDpiForWindow
push esi
xor edi, edi
call ebx
push str.SetThreadDpiAwarenessContext
push esi
mov dword [0x661ae0], eax
call ebx
push esi
mov dword [0x661be8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
mov dword [0x661bf0], 1
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0xc]
pop ebx
pop ecx
ret 4
Function at 0x4ae37c
Capabilities:
Encode data using xor

Disassembly:
call 0x4bffe8d1
push ebx
invalid
invalid
out 0xc0, al
sbb dword [esi], eax
loop 0x4ae2e5
inc esp
enter 0xffffffffffffe76e, 0xffffffffffffffab
push esi
xchg esi, eax
push ss
jbe 0x4ae302
push cs
invalid
aad 0xeb
jle 0x4ae35a
movsd dword es:[edi], dword [esi]
ljmp 0x926e