joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001040
Capabilities:
Enumerate process modules

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
push edi
push eax
xor ebx, ebx
push 0xf
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x224
mov edi, eax
call fcn.10009c95
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x100010ac
push ebp
mov ebp, dword [esp + 0x1c]
lea ebx, [esi + 0x20]
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x100010b3
push esi
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10001080
mov ebx, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.100098b5
add esp, 4
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov ebx, 1
jmp 0x1000109b
Function at 0x10001990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100019a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100019e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x100019e0
lea ebx, [ebx]
cmp esi, eax
jae 0x100019e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100019d0
cmp esi, eax
jb 0x100019ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x100032c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x12c
mov eax, dword [0x10020100]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x134]
push ebp
push esi
mov esi, dword [esp + 0x138]
push 0xff
xor ebp, ebp
lea ecx, [esp + 0x35]
push ebp
push ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x3c], 0
call fcn.10009c00
add esp, 0xc
push 0x100
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
mov byte [esp + 0x10], 0
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
mov esi, 2
push edi
lea esp, [esp]
push esi
lea eax, [esp + 0x18]
push 0x1001a554
push eax
call fcn.1000a77f
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.1000a278
add esp, 0x14
test eax, eax
je 0x10003398
lea ecx, [esp + 0x34]
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10003380
sub ecx, edi
mov edx, eax
lea edi, [esp + 0x34]
sub edx, edi
add edx, 9
cmp edx, ecx
je 0x100033a0
inc esi
cmp esi, 5
jle 0x10003350
jmp 0x100033a8
mov byte [eax], 0
mov ebp, 1
mov eax, dword [0x1001a548]
mov ecx, dword [0x1001a54c]
mov edx, dword [0x1001a550]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x24], edx
call fcn.1000a278
add esp, 8
pop edi
test eax, eax
je 0x100033fe
lea ecx, [esp + 0x30]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100033e3
sub ecx, esi
mov edx, eax
lea esi, [esp + 0x30]
sub edx, esi
add edx, 0xb
cmp edx, ecx
jne 0x100033fe
mov byte [eax], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x30]
push eax
push ecx
push str._08x_s
push edx
call fcn.100032a0
mov ecx, dword [esp + 0x140]
add esp, 0x10
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.10009f34
add esp, 0x12c
ret
Function at 0x100037e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10018a18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10020100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x10021704]
mov edx, dword [eax + 0xc]
mov ecx, 0x10021704
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.100032c0
mov ebp, dword [esp + 0x1c]
push ebp
push str.bRealUin_true__s_n
call fcn.100085c0
add esp, 0x10
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x10021640
call fcn.10003440
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [0x10021658]
test esi, esi
je 0x10003871
cmp esi, dword [0x10021640]
je 0x10003876
call fcn.1000a0a0
cmp edi, ebx
je 0x1000396b
test esi, esi
jne 0x10003952
call fcn.1000a0a0
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10003897
call fcn.1000a0a0
test esi, esi
jne 0x10003959
call fcn.1000a0a0
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100038b0
call fcn.1000a0a0
mov ecx, dword [edi + 0x68]
push ecx
lea edx, [edi + 0x50]
push edx
push ebp
push str.bRealUin_true2__s_OtherUin__s_dwTickCountCreate__u_n
call fcn.100085c0
add esp, 0x10
test esi, esi
jne 0x10003960
call fcn.1000a0a0
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100038df
call fcn.1000a0a0
lea eax, [edi + 0x50]
push eax
call fcn.1000ac03
add esp, 4
test edx, edx
jl 0x1000396b
jg 0x100038f5
test eax, eax
jbe 0x1000396b
test esi, esi
jne 0x10003967
call fcn.1000a0a0
cmp edi, dword [esi + 0x18]
jne 0x10003908
call fcn.1000a0a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x68]
cmp eax, 0x2710
jbe 0x1000396b
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000393c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esi]
jmp 0x1000388d
mov eax, dword [esi]
jmp 0x100038a6
mov eax, dword [esi]
jmp 0x100038d5
mov esi, dword [esi]
jmp 0x100038fe
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000398f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x100085d4
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x1001deb8
call fcn.1000afbc
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x1000863c
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x1000863c
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x1000863c
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x1000863c
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10008645
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.1000b001
ret
Function at 0x1000873d
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x10008760
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x10008763
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x10008776
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x1000877d
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x100216dc]
mov ecx, dword [0x100216d8]
test eax, eax
jne 0x10008797
test ecx, ecx
je 0x100087ac
mov eax, ecx
mov dword [0x100216dc], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100087ac
cmp edx, dword [ebp - 4]
jb 0x100087ac
cmp edx, dword [ebp - 8]
jbe 0x1000887d
mov eax, ecx
test ecx, ecx
jmp 0x100087d0
test eax, eax
je 0x100087cb
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100087cb
cmp ecx, dword [ebp - 4]
jb 0x100087cb
cmp ecx, dword [ebp - 8]
jbe 0x1000887d
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x100216dc], eax
jne 0x100087b2
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x10008912
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x100087fd
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10008912
cmp dword [ebp - 0x30], ebx
jne 0x1000881c
cmp dword [ebp - 0x34], ebx
jae 0x1000882f
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x100087eb
jmp 0x10008912
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x100216dc], eax
test eax, eax
je 0x10008912
mov ecx, dword [0x100216d8]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x100216d8], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x1000886f
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10008917
cmp esi, dword [ebp - 8]
ja 0x10008917
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.10009c00
add esp, 0xc
mov eax, esi
jmp 0x10008919
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100088be
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10008917
cmp dword [ebp - 0x14], ebx
jne 0x10008909
cmp dword [ebp - 0x18], ebx
jb 0x10008909
movzx ecx, si
test ecx, ecx
je 0x100088ed
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x100216dc], eax
test eax, eax
jne 0x1000884b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x100088ac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000893f
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x1001ded8
call fcn.1000afbc
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000899a
and dword [ebp - 4], 0
mov ecx, 0x5a4d
mov eax, dword [ebp - 0x30]
cmp word [eax], cx
jne 0x10008993
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008993
cmp word [ecx + 0x14], 0
je 0x10008993
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000899c
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.1000b001
ret

Function at 0x100089b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x100216e4], edi
je 0x100089c7
mov eax, 0x10dd
jmp 0x10008a22
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x100216e4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x100089c0
push esi
mov esi, dword [0x100216d8]
mov dword [0x100216e0], edi
mov dword [0x100216f4], edi
mov dword [0x100216f0], edi
mov dword [0x100216e8], edi
mov dword [0x100216ec], edi
jmp 0x10008a1b
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x10008a05
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x10008a25
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100216e4], eax
je 0x10008a3b
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x100216f4]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x10008a86
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x10008a77
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x10008a77
call fcn.1000891e
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.100098b5
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10008a4a
mov dword [0x100216f4], ebx
call fcn.10008716
mov esi, dword [0x100216f0]
cmp esi, ebx
je 0x10008ab3
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.100098b5
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10008a9b
pop edi
pop esi
mov dword [0x100216f0], ebx
mov dword [0x100216e4], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10008d0a
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x100216e8]
test eax, eax
jne 0x10008d7a
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x10008d26
xor eax, eax
jmp 0x10008d79
push esi
push 8
call fcn.10009c95
mov esi, eax
pop ecx
test esi, esi
jne 0x10008d3a
push 8
pop edi
jmp 0x10008d55
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10008d66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.100098b5
pop ecx
and dword [0x100216ec], 0
mov dword [0x100216e8], edi
mov eax, edi
jmp 0x10008d78
mov eax, dword [0x100216f0]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x100216f0], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x10008fcb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100216e4], eax
je 0x10008fe7
mov eax, 0x10dd
jmp 0x100090c8
mov eax, dword [0x100216e8]
test eax, eax
jne 0x100090c8
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10009004
push 6
pop eax
jmp 0x100090c7
cmp dword [edi], 0
jne 0x1000901c
push 6
pop eax
mov dword [0x100216e8], eax
mov dword [0x100216ec], edi
jmp 0x100090c7
push ebx
push esi
push 0x18
call fcn.10009c95
mov esi, eax
pop ecx
test esi, esi
jne 0x10009031
push 8
pop edi
jmp 0x100090aa
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.100089a2
movzx ecx, byte [edi + 0x17]
mov ebx, dword [edi + 0x18]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x1000909f
cmp ecx, 0x17
ja 0x1000909f
cmp dword [edi + 0x1c], eax
jne 0x1000909f
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10009075
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100090aa
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x100216f4]
mov dword [esi], eax
mov dword [0x100216f4], esi
xor eax, eax
jmp 0x100090c5
push 9
pop edi
cmp dword [0x100216e0], edx
jne 0x100090b0
mov dword [0x100216e8], edi
test esi, esi
je 0x100090bb
push esi
call fcn.100098b5
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x100216ec], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8

Function at 0x10009f34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10020100]
jne 0x10009f3e
repz ret
jmp fcn.1000bfd1
Function at 0x10015a21
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c151
and dword [ebp - 4], 0
cmp dword [0x10022204], 0
mov ebx, eax
jne 0x10015ad2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10015b83
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10015b83
push eax
call fcn.1000c0df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10022204], eax
call esi
push eax
call fcn.1000c0df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10022208], eax
call esi
push eax
call fcn.1000c0df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1002220c], eax
call esi
push eax
call fcn.1000c0df
pop ecx
mov dword [0x10022214], eax
test eax, eax
je 0x10015ad2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c0df
pop ecx
mov dword [0x10022210], eax
mov eax, dword [0x10022210]
cmp eax, ebx
je 0x10015b2a
cmp dword [0x10022214], ebx
je 0x10015b2a
push eax
call fcn.1000c15a
push dword [0x10022214]
mov esi, eax
call fcn.1000c15a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10015b2a
test edi, edi
je 0x10015b2a
call esi
test eax, eax
je 0x10015b21
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10015b21
test byte [ebp - 0xc], 1
jne 0x10015b2a
or dword [ebp + 0x10], 0x200000
jmp 0x10015b63
mov eax, dword [0x10022208]
cmp eax, ebx
je 0x10015b63
push eax
call fcn.1000c15a
pop ecx
test eax, eax
je 0x10015b63
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10015b63
mov eax, dword [0x1002220c]
cmp eax, ebx
je 0x10015b63
push eax
call fcn.1000c15a
pop ecx
test eax, eax
je 0x10015b63
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10022204]
call fcn.1000c15a
pop ecx
test eax, eax
je 0x10015b83
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10015b85
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x9e7440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e748c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9e7452
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9e74f0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e7542
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9e7548
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9ffa35
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009ff6f5

Function at 0xa0482f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a046ae

Function at 0xa09de0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa09e0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa09e0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x42454a67
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x53f614e8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401f50
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451e28
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46a524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
cmp dword [edi + 0x20], 0
je 0x40201f
cmp dword [edi + 0x24], 0
je 0x40201f
cmp dword [edi + 0x28], 0
je 0x40201f
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
lea eax, [eax + eax - 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e730
add esp, 4
push 0x20000000
push 0xffffffffffffffff
sub esp, 0x20
mov esi, eax
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00402380
call fcn.00407a40
mov ecx, dword [edi + 0x28]
add esp, 0x20
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push esi
mov edi, eax
call fcn.004207e0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00401210
test edi, edi
je 0x402052
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x402038
mov edx, dword [ebp + 0xc]
push edx
call fcn.004205e0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
call fcn.00401380
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20