joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4156a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, 1
mov dword [ebp - 0x10], 0
push 1
push 0x4f9ed0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41572c
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 5
mov eax, esi
sar ecx, 0x1f
sub edx, ecx
imul edi, edx, 0x64
sub eax, edi
jne 0x41572c
cmp esi, 0x15f90
jl 0x415723
cmp esi, 0x1d4c0
jge 0x415700
mov eax, 0x32
jmp 0x415725
cmp esi, 0x2bf20
jge 0x41570f
mov eax, 0x64
jmp 0x415725
mov eax, 0x1482
cmp esi, 0x57d78
jl 0x415725
mov eax, 0xfa
jmp 0x415725
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x415740
inc esi
cmp esi, 0x57e40
jl 0x4156b8
mov eax, dword [ebp - 4]
test eax, eax
je 0x41575a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00430110
add esp, 4
mov eax, dword [0x4f9ed4]
test eax, eax
jne 0x415788
cmp dword [0x4f7980], 1
je 0x4157d6
xor edi, edi
xor esi, esi
call fcn.00415650
mov dword [0x4f9ed4], 1
cmp dword [0x4f7980], 1
je 0x4157c1
mov dword [0x4f9ed0], 0
push dword [0x4f9ecc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x415811
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp dword [0x4f7980], 1
je 0x4157f4
xor eax, eax
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.0046f370
push edi
push 0x16
call fcn.0046f370
add esp, 0x10
jmp 0x415788
push 1
push 2
call fcn.0046f370
mov esi, eax
push 1
push 0x16
call fcn.0046f370
add esp, 0x10
mov edi, eax
jmp 0x415770
push 1
push 2
call fcn.0046f370
push 1
push 0x16
mov dword [esi + 0x64], eax
call fcn.0046f370
add esp, 0x10
mov dword [esi + 0x68], eax
jmp 0x4157b5
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00423e10
add esp, 0xc
test eax, eax
je 0x415838
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4f78dc]
mov dword [eax + edx - 4], ecx
mov esi, dword [edx + 0x4f78d8]
mov dword [eax + edx - 8], esi
mov edi, dword [edx + 0x4f78d4]
mov dword [eax + edx - 0xc], edi
mov ecx, dword [edx + 0x4f78d0]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x415840
push dword [ebp - 0x10]
push dword [0x4f9ecc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp - 0x10]
jmp 0x4157a7
Function at 0x424a50
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x425880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp eax, 0xfffffffa
mov dword [ebp - 0x10], ebx
mov ebx, ecx
lea ecx, [eax + 5]
jg 0x425895
mov ecx, eax
mov dword [ebp - 4], eax
mov eax, 0xfb93e673
mov dword [ebp - 8], esi
mov esi, edx
mul ecx
shr edx, 9
mov dword [ebp - 0xc], edi
imul edi, edx, 0x209
sub ecx, edi
mov edi, dword [0x4f7980]
cmp edi, 2
lea eax, [ecx + 0x69]
mov dword [esi], eax
jge 0x4258f1
lea ecx, [ecx*4 + 0x1a4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edx + 0x4fa764]
test ecx, ecx
jne 0x42597a
mov dword [edx + 0x4fa764], 1
mov eax, dword [esi]
jmp 0x42597a
lea eax, [ecx*4 + 0x1a4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [edx + 0x4fa764]
push ecx
call fcn.004158e0
add esp, 4
test eax, eax
jne 0x425972
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
cmp dword [edx + 0x4fa760], 0
je 0x4259ea
mov dword [edx + 0x4fa764], 0
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x4fa760]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x4fa764]
push ecx
call fcn.004158e0
add esp, 4
mov edi, dword [0x4f7980]
mov eax, dword [esi]
cmp edi, 1
je 0x4259cb
mov edx, dword [ebp + 0x14]
lea ecx, [eax*4]
shl eax, 5
sub eax, ecx
mov ecx, dword [eax + 0x4fa778]
xor eax, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x4259c3
mov esi, dword [ebp - 4]
cmp esi, dword [ecx + 0x100]
jbe 0x4259b2
mov eax, ecx
mov ecx, dword [ecx + 0x28]
test ecx, ecx
mov dword [ebx], ecx
jne 0x42599f
mov dword [edx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
jmp 0x4259b4
lea edx, [eax*4]
shl eax, 5
sub eax, edx
lea eax, [eax + 0x4fa770]
push eax
call fcn.00415890
add esp, 4
mov eax, dword [esi]
jmp 0x42597f
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x4fa760], eax
mov dword [ecx + 0x4fa764], 0
jmp 0x425939
Function at 0x427be0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x430110
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.0042c350
mov ebx, dword [ebp + 8]
cmp dword [0x5045e0], 0
jne 0x430137
test ebx, ebx
je 0x43012c
mov eax, dword [ebx]
jmp 0x43012e
xor eax, eax
push eax
call fcn.0046e370
add esp, 4
test ebx, ebx
je 0x43013f
mov eax, dword [ebx]
jmp 0x430141
xor eax, eax
push eax
call fcn.004c4a10
add esp, 4
jmp 0x430124
Function at 0x4306e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x7c]
test esi, esi
mov dword [ebp - 0xc], edi
je 0x43089c
mov edx, dword [0x4f7980]
mov edi, dword [esi + 0x14]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
cmp edx, 2
lea ebx, [edi + 0x4fec48]
jge 0x43072f
mov eax, dword [ebx]
test eax, eax
jne 0x430770
mov dword [edi + 0x4fec48], 1
jmp 0x430770
push ebx
call fcn.004158e0
add esp, 4
test eax, eax
jne 0x43076a
cmp dword [edi + 0x4fec44], 0
je 0x43087c
mov dword [edi + 0x4fec48], 0
push 0xffffffffffffffff
push dword [edi + 0x4fec44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call fcn.004158e0
add esp, 4
mov edx, dword [0x4f7980]
cmp edx, 1
je 0x430868
mov eax, dword [esi + 0x18]
dec eax
mov dword [esi + 0x18], eax
test eax, eax
jle 0x4307df
mov eax, dword [0x4f7980]
cmp eax, 1
je 0x4307c4
cmp eax, 2
jge 0x43079f
mov dword [edi + 0x4fec48], 0
jmp 0x4307b5
mov dword [edi + 0x4fec48], 0
push dword [edi + 0x4fec44]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x4fec58]
push dword [edi + 0x4fec54]
call fcn.004158c0
add esp, 8
mov eax, dword [0x4f7980]
jmp 0x43078e
mov edx, dword [esi]
test edx, edx
je 0x4307eb
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4307f6
mov dword [eax], edx
jmp 0x4307fc
mov dword [edi + 0x4fec40], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [0x4f7980]
cmp eax, 1
je 0x43084d
cmp eax, 2
jge 0x430821
mov dword [edi + 0x4fec48], 0
jmp 0x430837
mov dword [edi + 0x4fec48], 0
push dword [edi + 0x4fec44]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 8]
call fcn.00423ed0
push esi
call fcn.00423ed0
add esp, 8
jmp 0x4307b5
push dword [edi + 0x4fec58]
push dword [edi + 0x4fec54]
call fcn.004158c0
add esp, 8
mov eax, dword [0x4f7980]
jmp 0x430810
lea eax, [edi + 0x4fec54]
push eax
call fcn.00415890
add esp, 4
jmp 0x430779
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x4fec44], eax
mov dword [edi + 0x4fec48], 0
jmp 0x430753
xor eax, eax
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x43a3a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x43a3ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edx, eax
mov dword [ecx], 0
cmp dword [0x5045e0], 0
je 0x43a481
cmp dword [ebp + 0x20], 2
je 0x43a3e3
cmp dword [ebp + 0x20], 1
jne 0x43a3f2
mov eax, 0xffffffff
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x43a402
cmp dword [ebp + 0x20], 0xfffffffa
je 0x43a546
cmp dword [ebp + 0x20], 0
je 0x43a552
xor ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x43a435
cmp dword [ebp + 0x1c], 0
je 0x43a435
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call fcn.004c47c0
push edi
call fcn.004c4930
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43a481
push edi
push esi
push ebx
call fcn.004c4860
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, 0xffffffff
mov dword [eax], esi
je 0x43a576
push 0
push edi
push 2
push 0x4def0c
call fcn.004c4820
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + ebx], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc dword [edx]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edi], 0
je 0x43a4a9
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x43a4ae
mov edi, 0x20000
cmp esi, edi
jbe 0x43a522
cmp dword [ebp + 0x20], 0
je 0x43a522
test ecx, ecx
je 0x43a4c6
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x43a4cb
mov edi, 0x20000
mov dword [ebp - 0x10], edx
push 0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43a510
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add ebx, edx
sub esi, edx
add dword [ecx], edx
cmp dword [ebp + 0x24], 0
je 0x43a505
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 0x140]
test edx, edx
jne 0x43a50a
mov edx, 0x20000
cmp esi, edx
ja 0x43a510
mov edi, esi
test esi, esi
je 0x43a539
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jne 0x43a539
test eax, eax
jne 0x43a4ce
jmp 0x43a539
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ecx, 1
jmp 0x43a414
mov dword [ebp - 0x10], edx
call fcn.004c4a50
mov edx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x5045e0], 0
je 0x43a439
mov ecx, 1
jmp 0x43a40e
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4c49d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0x28f
mov esp, ebp
pop ebp
jmp fcn.00411860

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x40fe30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov eax, dword [0x486ee0]
push esi
cmp eax, 2
mov esi, dword [esp + 0x10]
push edi
jne 0x40fe87
test esi, esi
jle 0x40feb7
mov edi, dword [esp + 0x10]
mov eax, 0x512740
mov ebx, dword [eax]
xor edx, edx
add edi, 8
add eax, 4
mov cl, byte [ebx*2 + 0x52ee20]
xor cl, 0x80
mov dl, cl
shl edx, 8
mov dword [edi - 8], edx
xor edx, edx
mov cl, byte [ebx*2 + 0x52ee21]
xor cl, 0x80
mov dl, cl
shl edx, 8
dec esi
mov dword [edi - 4], edx
jne 0x40fe4e
pop edi
pop esi
pop ebx
ret 8
test esi, esi
jle 0x40feb7
mov eax, 0x512740
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
add eax, 4
add ecx, 2
mov dl, byte [edx + 0x52ee20]
and edx, 0xffff00ff
xor dx, 0xff80
shl dx, 8
dec esi
mov word [ecx - 2], dx
jne 0x40fe94
pop edi
pop esi
pop ebx
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6af5633a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3af66160
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001b7d
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x10001bab
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x10001ba2
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x10001b9a
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10001bcc
mov esp, ebp
pop ebp
ret

Function at 0x10001bd0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x10001c3c
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x10001c69
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x10001c58
xor ecx, eax
xor edx, ebx
dec edi
jne 0x10001c49
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x10001c8f
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x10001c30
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10001cbb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100022b1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x100022c1
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x10002316
push dword [ebp + 8]
call fcn.100024c2
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x10002316
xor eax, eax
jmp 0x1000231b
mov eax, 1
test eax, eax
je 0x1000232d
mov eax, 0
jmp 0x100024bc
push 0x3c
push dword [ebp + 8]
call fcn.10002504
push eax
call fcn.100024de
push eax
push dword [ebp + 8]
call fcn.10002504
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.100024de
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x10002388
push 0x7c
push dword [ebp - 4]
call fcn.10002504
push eax
call fcn.100024de
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10002388
xor eax, eax
jmp 0x1000238d
mov eax, 1
test eax, eax
je 0x1000239f
mov eax, 0
jmp 0x100024bc
push 0x78
push dword [ebp - 4]
call fcn.10002504
push eax
call fcn.100024de
push eax
push dword [ebp + 8]
call fcn.10002504
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.10002504
push eax
call fcn.100024de
push eax
push dword [ebp + 8]
call fcn.10002504
push eax
call fcn.100024de
push eax
push dword [ebp + 8]
call fcn.10002504
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.10002504
push eax
call fcn.100024de
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.1000252b
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x100024af
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.10002504
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.10002552
test eax, eax
je 0x10002492
push 0x1c
push dword [ebp - 8]
call fcn.10002504
push eax
call fcn.100024de
push eax
push dword [ebp + 8]
call fcn.10002504
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.10002586
push eax
push dword [ebp - 0x24]
call fcn.10002504
push eax
call fcn.100024de
push eax
push dword [ebp + 8]
call fcn.10002504
jmp 0x100024bc
push dword [ebp - 0x14]
call fcn.100025ae
push eax
push dword [ebp - 0x18]
call fcn.10002504
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1000241b
add esp, 0xc
mov eax, 0
jmp 0x100024bc
mov esp, ebp
pop ebp
ret 8

Function at 0x10004f19
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10004fcc
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x100094ba
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x100094dc
mov eax, 0xfffffffd
jmp 0x100095b9
mov ebx, dword [0x10104aa8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10009587
mov ebx, dword [0x10104aa8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x1000952b
mov ebx, dword [0x10104aa8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x1000952b
mov eax, 1
jmp 0x1000952d
xor eax, eax
test eax, eax
je 0x10009559
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10009542
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10104aa8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x100095af
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x100095b9
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a0b8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10004f19
test eax, eax
je 0x1000a0fb
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1000a0fb
cmp word [eax], 0x5a4d
jne 0x1000a0fb
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1000a0fb
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10004feb
mov eax, dword [ebp + 8]
jmp 0x1000a114
mov esp, ebp
pop ebp
ret 4
Function at 0x10031200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a1a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.10096efd
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10033150
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10031254
jmp dword [ecx*4 + 0x100313bc]
mov al, byte [esi]
test al, al
je 0x10031282
cmp al, 0x20
je 0x1003126e
cmp al, 0xa1
jne 0x10031282
cmp byte [esi + 1], al
jne 0x10031282
test al, 0x80
je 0x1003127a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10031282
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10031261
test ecx, ecx
je case.default.0x10031254
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10031254
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100312c8
cmp dl, 0xa1
jne 0x100312bc
cmp byte [eax + 1], 0xa1
jne 0x100312bc
test ecx, ecx
jne 0x100312b4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100312dc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100312f6
jmp 0x100312dc
cmp dl, 0x20
jne 0x100312da
test ecx, ecx
jne 0x100312d3
mov edi, eax
mov ecx, 1
jmp 0x100312dc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1003129c
cmp ecx, 1
jne case.default.0x10031254
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10031254
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10031254
mov al, byte [esi]
test al, al
je 0x1003134e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10031334
mov cl, byte [esi + 1]
test cl, cl
je 0x1003134e
cmp al, 0xa1
jne 0x10031324
cmp cl, al
je 0x10031331
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100333e0
inc esi
jmp 0x10031346
cmp al, 0x20
je 0x10031346
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10033420
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1003130d
push 0
lea ecx, [esp + 0x14]
call fcn.10033420
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10044fa0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10031381
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100e2638
call fcn.10033350
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10096e8f
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret