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

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [fcn.00432040], 0x20
push esi
push edi
mov esi, ecx
je 0x425451
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0x428d88
push dword [0x43204c]
push dword [0x432048]
call fcn.0042817d
push 0x1c135e
call fcn.0041efe2
lea eax, [esi + 8]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x425499
cmp ecx, edi
je 0x4254c9
mov esi, eax
mov dword [ebp - 0x10], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 4]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x425499
cmp ecx, dword [ebp - 0x10]
jne 0x425499
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc

Function at 0x42a3f0
Capabilities:
Encode data using xor

Disassembly:
push esi
lea esi, [ecx + 0x10]
mov edx, dword [esi]
mov eax, edx
mov ecx, edx
and eax, 0xffffc000
add eax, 0x4000
xor eax, edx
and eax, 0xfffc000
xor edx, eax
mov eax, ecx
lock cmpxchg dword [esi], edx
mov edx, eax
cmp edx, ecx
jne 0x42a3f6
pop esi
ret
Function at 0x4060d3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42228c], 0
push esi
jne 0x40610a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4060e4
mov dword [ecx*4 + 0x422288], eax
inc ecx
cmp ecx, 0x100
jl 0x4060df
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40613b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422288]
xor eax, esi
inc ecx
dec edx
jne 0x40611d
pop edi
not eax
pop esi
ret 0xc

Function at 0x40541b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404119
and dword [ebp - 0x14], 0
cmp dword [0x40dfe8], 0
mov dword [ebp - 0x18], eax
jne 0x4054ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405576
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405576
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40dfe8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40dfec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40dff0], eax
call edi
push eax
call esi
mov dword [0x40dff8], eax
test eax, eax
je 0x4054ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40dff4], eax
mov eax, dword [0x40dff4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405527
cmp dword [0x40dff8], ecx
je 0x405527
push eax
call esi
push dword [0x40dff8]
mov edi, eax
clc

Function at 0x405786
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c5c0]
jne 0x405790
repz ret
jmp fcn.00406ac3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x4014c2
mov esi, eax
xor eax, eax
cmp byte [esi + edi - 1], 0xa
je 0x4014a1
mov eax, dword fs:[0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
xchg dword [0x4030cc], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x4014c4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebp
ret
Function at 0x401ca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push 1
call sym.__configure_wide_argv
add esp, 4
call sym.__initialize_wide_environment
call sym.___p___argc
mov edi, dword [eax]
call sym.___p___wargv
mov ebx, dword [eax]
call sym.__get_initial_wide_environment
mov esi, eax
call sym._get_nt_header
xor ecx, ecx
cmp word [eax + 0x5c], 2
sete cl
inc ecx
push ecx
call sym.__set_app_type
add esp, 4
push esi
push ebx
push edi
call sym._wmain
add esp, 0xc
push eax
call sym._exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x404d1d
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 0x404d4b
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x404d42
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x404d3a
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x404d6c
mov esp, ebp
pop ebp
ret

Function at 0x404d70
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 0x404ddc
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 0x404e09
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x404df8
xor ecx, eax
xor edx, ebx
dec edi
jne 0x404de9
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x404e2f
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x404dd0
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 0x404e5b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405451
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 0x405461
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 0x4054b6
push dword [ebp + 8]
call fcn.00405662
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x4054b6
xor eax, eax
jmp 0x4054bb
mov eax, 1
test eax, eax
je 0x4054cd
mov eax, 0
jmp 0x40565c
push 0x3c
push dword [ebp + 8]
call fcn.004056a4
push eax
call fcn.0040567e
push eax
push dword [ebp + 8]
call fcn.004056a4
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0040567e
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x405528
push 0x7c
push dword [ebp - 4]
call fcn.004056a4
push eax
call fcn.0040567e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405528
xor eax, eax
jmp 0x40552d
mov eax, 1
test eax, eax
je 0x40553f
mov eax, 0
jmp 0x40565c
push 0x78
push dword [ebp - 4]
call fcn.004056a4
push eax
call fcn.0040567e
push eax
push dword [ebp + 8]
call fcn.004056a4
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.004056a4
push eax
call fcn.0040567e
push eax
push dword [ebp + 8]
call fcn.004056a4
push eax
call fcn.0040567e
push eax
push dword [ebp + 8]
call fcn.004056a4
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.004056a4
push eax
call fcn.0040567e
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.004056cb
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 0x40564f
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004056a4
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.004056f2
test eax, eax
je 0x405632
push 0x1c
push dword [ebp - 8]
call fcn.004056a4
push eax
call fcn.0040567e
push eax
push dword [ebp + 8]
call fcn.004056a4
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.00405726
push eax
push dword [ebp - 0x24]
call fcn.004056a4
push eax
call fcn.0040567e
push eax
push dword [ebp + 8]
call fcn.004056a4
jmp 0x40565c
push dword [ebp - 0x14]
call fcn.0040574e
push eax
push dword [ebp - 0x18]
call fcn.004056a4
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4055bb
add esp, 0xc
mov eax, 0
jmp 0x40565c
mov esp, ebp
pop ebp
ret 8
Function at 0x40b6c9
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40b6e7
mov eax, 0x624467
push eax
push 1
mov ebx, 0x4d7430
call fcn.004d6eb6
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40b711
mov eax, 0
jmp 0x40b785
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40b772
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
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 0x40b75b
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40b74a
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40b73b
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x41811d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x418132
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x642b9d5b
xor ecx, 0x573fd668
xor ecx, 0x4b86a6eb
xor ecx, 0x5f473001
xor ecx, 0x61e3367c
xor ecx, 0x5009e53e
xor ecx, 0x145848db
xor ecx, 0x57921e05
xor ecx, 0x20141d2e
xor ecx, 0x744565a2
xor ecx, 0x264a5064
xor ecx, 0x760eb7c1
xor ecx, 0xe6bee38
xor ecx, 0x47bfa076
xor ecx, 0x5ddb53d6
xor ecx, 0x1b271631
xor ecx, 0x787cdfd0
xor ecx, 0x64ac1155
xor ecx, 0x72f26e8f
xor ecx, 0x52a6ab75
xor ecx, 0x74568913
xor ecx, 0x5f5bb064
xor ecx, 0x540e4d78
xor ecx, 0x8f4f84d
xor ecx, 0x7cb31b11
xor ecx, 0x78fac6ea
xor ecx, 0x6a379d8f
xor ecx, 0x22e33e9b
xor ecx, 0x68079c3
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x418198
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41829b
mov esp, ebp
pop ebp
ret 8

Function at 0x41adf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x41ae06
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x27e649d5
xor ecx, 0x664c368d
xor ecx, 0x4cf7bab2
xor ecx, 0x772d3b83
xor ecx, 0x177686c
xor ecx, 0x7671c8cc
xor ecx, 0x41d7f496
xor ecx, 0x4d5105fb
xor ecx, 0x325c93d5
xor ecx, 0x437b13d8
xor ecx, 0x12a52ea0
xor ecx, 0x29601d79
xor ecx, 0x376e676
xor ecx, 0x69db97b4
xor ecx, 0x64bf86aa
xor ecx, 0x2343185b
xor ecx, 0x1761eb2f
xor ecx, 0x2e7c24d9
xor ecx, 0x70a82007
xor ecx, 0x2b6f7994
xor ecx, 0x617dfd5b
xor ecx, 0x233cb962
xor ecx, 0x46e08ba0
xor ecx, 0x6113a71d
xor ecx, 0x5365fc7e
xor ecx, 0x68079c3
xor ecx, 0x22e33e9b
xor ecx, 0x6a379d8f
xor ecx, 0x78fac6ea
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41ae6c
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41af6f
mov esp, ebp
pop ebp
ret 8
Function at 0x41e422
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x41e66f
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x41e56c
cmp byte [edx + edi], 0xd
jne 0x41e56c
cmp byte [edx + edi + 1], 0xa
je 0x41e5a5
mov al, byte [edx + edi]
cmp al, 0xa
je 0x41e5a5
cmp al, 0x3d
jne 0x41e581
inc ecx
cmp ecx, 2
ja 0x41e67d
cmp al, 0x7f
ja 0x41e67d
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x41e67d
cmp al, 0x40
jae 0x41e5a4
test ecx, ecx
jne 0x41e67d
inc esi
inc edx
cmp edx, ebx
jb 0x41e556
test esi, esi
je 0x41e66f
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x41e68e
cmp dword [ecx], eax
jb 0x41e68e
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x41e65e
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x41e65a
cmp al, 0xa
je 0x41e65a
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x41e65a
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x41e645
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x41e652
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x41e65a
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x41e5f6
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x42702f
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42705b
add dword [esp], 5
retf
Function at 0x4bbed4
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x4bbf21
mov al, cl
cmp al, 0x61
jb 0x4bbefc
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4bbf21
mov al, cl
cmp al, 0x61
jb 0x4bbf14
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x4bbeed
cmp edx, dword [esp + 0x18]
je 0x4bbf31
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x4bbee6
xor eax, eax
jmp 0x4bbf34
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x4bbf3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x4bc023
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x4bc029
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4bbf88
cmp al, 0x61
jb 0x4bbf80
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4bbf73
cmp edx, dword [esp + 0x14]
je 0x4bbf98
dec ecx
jne 0x4bbf68
xor eax, eax
jmp 0x4bc023
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x4bc023
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4bc023
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x4bbfd4
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x4bbfe3
jmp 0x4bbfcb
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.004bbed4
test eax, eax
je 0x4bc023
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4bc01e
cmp al, 0x61
jb 0x4bc016
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4bc009
call fcn.004bbf3c
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x4bc041
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x4bc041
sub edx, ecx
mov ecx, edx
jmp 0x4bbf98
xor eax, eax
jmp 0x4bc023

Function at 0x4bcf1a
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6b3db4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4bcf55
add dword [esp], 5
retf

Function at 0x4bd0a9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6b3db4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4bd0e4
add dword [esp], 5
retf
Function at 0x4bd7fa
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004bd9aa
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4bd8f8
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4bd89b
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4bd8de
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4bd8b2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4bd8cd
test al, 0x40
je 0x4bd8c4
mov ecx, dword [edi + 0x20]
jmp 0x4bd8cb
test al, 0x80
je 0x4bd8de
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4bd8de
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4bd86a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4c823b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4c825e
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4c825e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4c8268
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x4c82aa
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4c830c
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4c8307
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4c82f2
test dl, dl
je 0x4c82ee
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4c82f2
add ecx, 2
add eax, 2
test dl, dl
jne 0x4c82d2
xor eax, eax
jmp 0x4c82f7
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c8318
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x4c82bf
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8