joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421f50
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [0x42b0dc]
push esi
push edi
push 0x4355c0
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
movzx edi, dx
push 0x4355c0
mov dword [ebp - 4], edi
xor esi, esi
call ebx
add esp, 8
test eax, eax
je 0x422057
mov edi, dword [ebp + 8]
nop
mov al, byte [esi + 0x4355c0]
mov cl, byte [esi + 0x4355c1]
add esi, 3
cmp al, 0x3f
je 0x42202f
cmp cl, 0x3f
je 0x42202f
lea edx, [eax - 0x30]
mov dword [ebp - 0xc], 0
cmp dl, 9
ja 0x421fc7
cbw
sub ax, 0x30
jmp 0x421fe5
lea edx, [eax - 0x61]
cmp dl, 0x19
ja 0x421fd7
cbw
sub ax, 0x57
jmp 0x421fe5
lea edx, [eax - 0x41]
cmp dl, 0x19
ja 0x421fe9
cbw
sub ax, 0x37
mov word [ebp - 0xc], ax
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x421ffb
movsx ax, cl
sub ax, 0x30
jmp 0x42201d
lea edx, [ecx - 0x61]
cmp dl, 0x19
ja 0x42200d
movsx ax, cl
sub ax, 0x57
jmp 0x42201d
lea edx, [ecx - 0x41]
cmp dl, 0x19
ja 0x422021
movsx ax, cl
sub ax, 0x37
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0xa]
mov word [edi], ax
jmp 0x422037
mov ecx, 0x100
mov word [edi], cx
push 0x4355c0
add edi, 2
call ebx
add esp, 4
cmp esi, eax
jb 0x421f90
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x42d014], al
je 0x423e2d
inc eax
cmp byte [eax + 0x42d014], 0
jne 0x423e23
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00402840
mov dword [esi], eax
test eax, eax
je 0x423e4b
push 0x42d014
push eax
call dword [fcn.00639134]
mov esi, dword [0x638aa4]
xor eax, eax
cmp byte [esi], al
je 0x423e5e
inc eax
cmp byte [esi + eax], 0
jne 0x423e57
inc eax
call fcn.00402840
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x423e75
push esi
push ebx
call dword [fcn.00639134]
lea eax, [ebp - 0x24]
push eax
call dword [0x639044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x638ec0], si
cmp dword [ebp + 0xc], edi
jle 0x423ee9
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x638ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x423ea0
mov word [0x638ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x423f61
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x423f31
cmp dword [ecx], 0
je 0x423f31
cmp dword [0x6391c4], ecx
jne 0x423f1b
mov dword [0x6391c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x423f31
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x423f61
cmp dword [ecx], 0
je 0x423f61
cmp dword [0x6391c4], eax
jne 0x423f4b
mov dword [0x6391c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x423f61
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426320
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x6390e0]
test esi, esi
jne 0x426338
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x426331
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x426331
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42639a
jmp 0x426380
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x638bf0]
add eax, esi
call fcn.00423db0
test eax, eax
je 0x4263a3
inc edi
cmp edi, dword [ebp - 4]
jb 0x426380
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x968291b
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3bae2d33
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000253c
Capabilities:
Create thread

Disassembly:
push 0x108
mov eax, 0x1001d839
call fcn.1001d15d
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push 0x100250e4
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100026b4
push str.LoadLibraryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
push ecx
push ecx
push esi
push eax
push ecx
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x100026be
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push esi
call ebx
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0
je 0x100026e6
mov ecx, dword [ebp - 0x18]
call fcn.1000327f
mov ecx, dword [ebp - 0x1c]
mov esi, eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 8]
call fcn.10002810
xor ecx, ecx
add eax, esi
push ecx
push ecx
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x10002625
push str.Failed__2__to_run_CreateRemoteThread_on
lea ecx, [ebp - 0x84]
call fcn.10002a7d
push edi
mov edx, eax
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.10002b4f
pop ecx
mov byte [ebp - 4], 8
jmp 0x100026df
push 0xffffffffffffffff
push esi
call ebx
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0
jne 0x100026ae
push str.Failed_to_inject
lea ecx, [ebp - 0xb4]
call fcn.10002a7d
push dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xcc]
call fcn.10002b4f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe4]
mov edx, eax
mov dword [esp], str._into
call fcn.10002b4f
push edi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xfc]
call fcn.10002b4f
push str.__2_
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x114]
call fcn.10002b4f
add esp, 0xc
mov byte [ebp - 4], 0xd
jmp 0x1000274b
call fcn.1001d10c
ret
mov ecx, str.kernel32.dll
call fcn.10003497
push str.Failed__1__to_run_CreateRemoteThread_on
lea ecx, [ebp - 0x3c]
call fcn.10002a7d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
push edi
mov edx, eax
call fcn.10002b4f
pop ecx
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10003446
push str.Failed_to_inject
lea ecx, [ebp - 0x54]
call fcn.10002a7d
push dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10002b4f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
mov edx, eax
mov dword [esp], str._into
call fcn.10002b4f
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.10002b4f
push str.__1_
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.10002b4f
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.1000348b
int3
Function at 0x10002810
Capabilities:
Enumerate process modules

Disassembly:
push 0x4c0
mov eax, 0x1001d8ed
call fcn.1001d15d
mov dword [ebp - 0x44c], edx
mov eax, ecx
mov dword [ebp - 0x450], eax
xor esi, esi
or ebx, 0xffffffff
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
cmp eax, ebx
jne 0x10002860
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x10002993
mov eax, dword [ebp - 0x450]
inc esi
cmp esi, 5
jge 0x10002993
jmp 0x10002832
and dword [ebp - 0x460], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x45c], eax
mov byte [ebp - 0x458], 1
and dword [ebp - 4], 0
push 0x14
call fcn.10004af2
mov ecx, dword [ebp - 0x20]
mov esi, eax
mov edi, esi
mov dword [ebp - 0x454], esi
xor eax, eax
mov dword [ebp - 0x14], esi
xor edx, edx
inc edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi], vtable.std::_Ref_count_resource_std::nullptr_t__class__struct_HINSTANCE______cdecl_Process::GetRemoteModuleHandle_unsigned_long_int__wchar_t_const__::_2::_lambda_1__.0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edx
lea eax, [ebp - 0x428]
mov dword [esp], 0x200
push edi
push eax
mov dword [ebp - 0x448], 0x428
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], edi
call fcn.100087c0
push 0x208
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.100087c0
add esp, 0x18
lea eax, [ebp - 0x448]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
mov edi, dword [ebp - 0x44c]
jmp 0x1000295d
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.1000b9f2
pop ecx
pop ecx
test eax, eax
je 0x10002963
lea eax, [ebp - 0x448]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x1000299d
jmp 0x1000293a
mov edi, dword [ebp - 0x42c]
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x1000298b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x1000298b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
call fcn.1001d10c
ret
mov ecx, str.CreateModuleSnapshot_failed
call fcn.100033b5
mov edx, dword [ebp - 0x450]
lea ecx, [ebp - 0x46c]
call fcn.1000249c
mov esi, eax
push str.Didnt_find_the_module
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 2
call fcn.10002a7d
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x49c]
call fcn.10002b4f
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4b4]
mov edx, eax
mov dword [esp], str._in_process_id
call fcn.10002b4f
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4cc]
call fcn.10002b8d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000348b
int3
Function at 0x100036a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10029fc0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100036e2
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x10003708
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10003729
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10003729
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10003723
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10003729
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100037f0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
mov eax, dword [0x10028240]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100038ef
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100038e8
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x10], 0x10
jb 0x100038cd
call ebx
cmp dword [esp + 0x1c], eax
jne 0x100038cd
call ebp
cmp dword [esp + 0x18], eax
je 0x100038cd
mov edx, dword [esi]
test edx, edx
jne 0x10003895
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x100291d4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100038e8
jmp 0x100038c0
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100038c0
shl eax, 3
push eax
push edx
push 0
push dword [0x100291d4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100038e8
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10003855
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1000393d
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1000393d
xor ebp, ebp
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ebp]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10003934
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.10003cf0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add ebp, 4
cmp ebx, dword [esi + 8]
jb 0x10003900
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10004ae4
add esp, 0x20
ret

Function at 0x10003e70
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x10003ec5
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x10003eb4
push ebp
push esi
xor ebp, ebp
mov eax, dword [edi]
push dword [eax + ebp]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10003ea9
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add ebp, 4
cmp ebx, dword [edi + 8]
jb 0x10003e86
pop esi
pop ebp
push dword [edi]
push 0
push dword [0x100291d4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
ret
Function at 0x10003ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10029fb8]
test eax, eax
je 0x10003eec
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10003f3b
mov eax, dword [eax]
test eax, eax
jne 0x10003ee0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10003f49
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10003f15
mov ecx, dword [0x10029fb8]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x10029fb8], eax
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x10004310
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x10004325
cmp cl, 0x90
je 0x10004325
cmp cl, 0xcc
jne 0x10004343
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x1000433c
cmp byte [eax + edx], cl
jne 0x10004343
inc eax
cmp eax, esi
jb 0x10004332
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10006ffd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x1000701e
jl 0x10007015
test edi, edi
jne 0x1000701e
xor eax, eax
xor edx, edx
jmp 0x100070df
cmp dword [ebx + 0x38], 0
je 0x10007033
push eax
push edi
push dword [ebp + 8]
call fcn.100070e5
jmp 0x100070df
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000707a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x1000707a
cmp eax, edi
jb 0x10007054
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.10008950
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x10007080
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x100070d4
mov ecx, ebx
call fcn.100066e2
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x100070bf
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1000daa8
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x100070d4
jmp 0x10007092
test edx, edx
je 0x100070d4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1000daa8
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x100071d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100071f6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100072b9
jmp 0x100072b4
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x1000721c
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10007221
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x10007281
jg 0x10007236
test esi, esi
je 0x10007281
test ecx, ecx
jl 0x1000727c
jg 0x10007240
test eax, eax
je 0x1000727c
cmp edi, ecx
jg 0x10007252
jl 0x1000724a
cmp esi, eax
jae 0x10007252
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.10008950
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10007284
mov ecx, dword [ebp + 8]
jmp 0x1000728e
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x100072a8
jg 0x1000728e
test esi, esi
je 0x100072a8
cmp dword [ebx + 0x4c], 0
je 0x100072a8
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1000e114
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10015414
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001528a

Function at 0x1001d360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001d38d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001d38d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40aa00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4090ae
lea edi, [esi - 0x80ae]
push edi
or ebp, 0xffffffff
jmp 0x40aa22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40aa29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40aa18
mov eax, 1
add ebx, ebx
jne 0x40aa3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40aa30
jne 0x40aa4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40aa30
xor ecx, ecx
sub eax, 3
jb 0x40aa60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40aad2
mov ebp, eax
add ebx, ebx
jne 0x40aa6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40aa78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40aa9c
inc ecx
add ebx, ebx
jne 0x40aa88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40aa7d
jne 0x40aa99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40aa7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40aabc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40aaad
jmp 0x40aa1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40aabc
add edi, ecx
jmp 0x40aa1e
pop esi
mov edi, esi
mov ecx, 0x4a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40aada
cmp byte [edi], 0
jne 0x40aada
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 eax, ebx
loop 0x40aadf
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40ab4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa54c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ab0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa550]
or eax, eax
je 0x40ab48
mov dword [ebx], eax
add ebx, 4
jmp 0x40ab29
call dword [esi + 0xa554]
popal
jmp 0x401240