joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e2a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x56b213
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0055e0c1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0056375a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00564cb9
test eax, eax
je 0x47e3bc
mov ecx, dword [esp + 0x3c]
call fcn.00563787
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA_1]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x47e380
push edi
mov ecx, esi
call fcn.00560dec
mov ecx, esi
call fcn.0047e560
cmp dword [esp + 0x38], 1
jne 0x47e3b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00560f27
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4805c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4805f3
push esi
call fcn.0048e970
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4805ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x480679
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x480662
mov eax, dword [esi + 8]
test eax, eax
je 0x480617
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x48065e
cmp eax, 2
je 0x480662
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x48060a
cmp eax, 3
je 0x48063d
cmp eax, 1
jne 0x48060a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x48060a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x48060a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004806a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x480688
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004806a0
add esp, 4
pop esi
ret

Function at 0x480f10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x480f31
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x480f31
mov eax, dword [eax + 0x44]
test eax, eax
je 0x480f31
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess_1]

Function at 0x49babf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x49baf7
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x49bae5
mov al, 1
jmp 0x49bb56
cmp dword [ebx + 0x54], ecx
jne 0x49baee
mov al, 2
jmp 0x49bb56
cmp dword [ebx + 0x7c], ecx
jne 0x49bb56
mov al, 3
jmp 0x49bb56
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x49bb0c
mov al, 4
jmp 0x49bb56
cmp ecx, 5
jne 0x49bb2c
cmp ebx, 0
jne 0x49bb1a
mov al, 5
jmp 0x49bb56
cmp ebx, 1
jne 0x49bb23
mov al, 6
jmp 0x49bb56
cmp ebx, 2
jne 0x49bb2c
mov al, 7
jmp 0x49bb56
cmp ecx, 6
jne 0x49bb54
cmp ebx, 0
jne 0x49bb3a
mov al, 8
jmp 0x49bb56
cmp ebx, 1
jne 0x49bb41
mov al, 9
cmp ebx, 2
jne 0x49bb48
mov al, 0xa
cmp ebx, 3
jne 0x49bb4f
mov al, 0xb
cmp ebx, 4
jne 0x49bb56
mov al, 0xc
pop ebx
leave
ret
Function at 0x49c291
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.005227a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49c2d6
push ebx
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x49c30b
push 0x36
push 0x4012a84
push 6
call fcn.005211e0
add esp, 0xc
push 0x739d08
push dword [ebp - 4]
mov ecx, 2
call fcn.0049be87
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x49c32b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49c33c
push ebx
call fcn.005211da
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x49ebe8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x49ecbd
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x49ecbd
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x49ecbd
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x49ec43
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x49ecbd
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x49ec88
test dl, dl
je 0x49ec84
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x49ec88
add ecx, 2
add eax, 2
test dl, dl
jne 0x49ec68
xor eax, eax
jmp 0x49ec8d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49ec9f
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x49ecaa
inc esi
cmp esi, ebp
jae 0x49ecbd
mov edx, dword [esp + 0x10]
jmp 0x49ec5e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x49ef21
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x49ef2c
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x49ef40
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x49ef44
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x49ef7d
cmp dword [edi + ecx], 0x4550
jne 0x49ef7d
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x49ef7d
test byte [edi + ecx + 0x16], 2
je 0x49ef7d
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x49ef82
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x49efbe
xor eax, eax
jmp 0x49efa1
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x49efc7
inc edx
movzx eax, dx
cmp eax, edi
jl 0x49efa1
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x49efcd
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x49f005
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x49f013
add edx, 0x20
cmp eax, edx
jne 0x49f024
test bx, bx
je 0x49f059
add esi, 2
add edi, 2
jmp 0x49eff5
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x49f032
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x49f040
add edx, 0x20
sub ecx, edx
je 0x49f059
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x49efee
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x49f14b
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x49f14b
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x49f14b
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x49f0d1
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x49f14b
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x49f116
test dl, dl
je 0x49f112
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x49f116
add ecx, 2
add eax, 2
test dl, dl
jne 0x49f0f6
xor eax, eax
jmp 0x49f11b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49f12d
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x49f138
inc esi
cmp esi, ebp
jae 0x49f14b
mov edx, dword [esp + 0x10]
jmp 0x49f0ec
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x49f167
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x49f28f
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.0049f3c9
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0049f29b
mov ebp, eax
test ebp, ebp
je 0x49f28f
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0049f29b
mov edi, eax
test edi, edi
je 0x49f28f
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0049f29b
mov ebx, eax
test ebx, ebx
je 0x49f28f
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x49f26b
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x49f26b
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.0049f37c
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x49f370
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x49f370
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x49f370
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x49f2f6
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x49f370
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x49f33b
test dl, dl
je 0x49f337
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x49f33b
add ecx, 2
add eax, 2
test dl, dl
jne 0x49f31b
xor eax, eax
jmp 0x49f340
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49f352
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x49f35d
inc esi
cmp esi, ebp
jae 0x49f370
mov edx, dword [esp + 0x10]
jmp 0x49f311
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x49f3c9
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x49f401
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x49f40f
add edx, 0x20
cmp eax, edx
jne 0x49f420
test bx, bx
je 0x49f455
add esi, 2
add edi, 2
jmp 0x49f3f1
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x49f42e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x49f43c
add edx, 0x20
sub ecx, edx
je 0x49f455
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x49f3ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004a23ef
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4a2350
add dword [esp], 5
retf
Function at 0x4a278e
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 0x4a27db
mov al, cl
cmp al, 0x61
jb 0x4a27b6
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4a27db
mov al, cl
cmp al, 0x61
jb 0x4a27ce
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x4a27a7
cmp edx, dword [esp + 0x18]
je 0x4a27eb
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x4a27a0
xor eax, eax
jmp 0x4a27ee
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x4a27f6
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 0x4a28dd
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x4a28e3
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 0x4a2842
cmp al, 0x61
jb 0x4a283a
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4a282d
cmp edx, dword [esp + 0x14]
je 0x4a2852
dec ecx
jne 0x4a2822
xor eax, eax
jmp 0x4a28dd
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 0x4a28dd
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4a28dd
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x4a288e
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x4a289d
jmp 0x4a2885
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.004a278e
test eax, eax
je 0x4a28dd
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4a28d8
cmp al, 0x61
jb 0x4a28d0
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4a28c3
call fcn.004a27f6
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x4a28fb
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x4a28fb
sub edx, ecx
mov ecx, edx
jmp 0x4a2852
xor eax, eax
jmp 0x4a28dd

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4a9001
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4a91c9
add dword [esp], 5
retf
Function at 0x4a9254
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4a92d4
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4a92d4
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4a92d4
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x4a92d4
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x4a92c5
test bl, bl
je 0x4a92d8
dec eax
mov eax, edx
jmp 0x4a92b1
inc ebp
test al, al
je 0x4a92d8
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x4a92ac
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4a9298
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4a92d2
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4a934f
add dword [esp], 5
retf
Function at 0x4ae26d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4ae2a5
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4ae293
mov al, 1
jmp 0x4ae304
cmp dword [ebx + 0x54], ecx
jne 0x4ae29c
mov al, 2
jmp 0x4ae304
cmp dword [ebx + 0x7c], ecx
jne 0x4ae304
mov al, 3
jmp 0x4ae304
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4ae2ba
mov al, 4
jmp 0x4ae304
cmp ecx, 5
jne 0x4ae2da
cmp ebx, 0
jne 0x4ae2c8
mov al, 5
jmp 0x4ae304
cmp ebx, 1
jne 0x4ae2d1
mov al, 6
jmp 0x4ae304
cmp ebx, 2
jne 0x4ae2da
mov al, 7
jmp 0x4ae304
cmp ecx, 6
jne 0x4ae302
cmp ebx, 0
jne 0x4ae2e8
mov al, 8
jmp 0x4ae304
cmp ebx, 1
jne 0x4ae2ef
mov al, 9
cmp ebx, 2
jne 0x4ae2f6
mov al, 0xa
cmp ebx, 3
jne 0x4ae2fd
mov al, 0xb
cmp ebx, 4
jne 0x4ae304
mov al, 0xc
pop ebx
leave
ret
Function at 0x4b3341
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4b3363
mov eax, 0xfffffffd
jmp 0x4b3443
mov ebx, dword [0x76d806]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4b3411
mov ebx, dword [0x76d806]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x4b33b2
mov ebx, dword [0x76d806]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x4b33b2
mov eax, 1
jmp 0x4b33b7
mov eax, 0
test eax, eax
je 0x4b33e3
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4b33cc
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 [0x76d806]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4b3439
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4b3443
mov esp, ebp
pop ebp
ret 4

Function at 0x4b35c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4b3673
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 0x4b3bde
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.005227a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b3c23
push ebx
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x5f69a4
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0049c40e
add esp, 8
cmp eax, 0
jne 0x4b3c9e
call fcn.004b3d22
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x76d80e]
test ebx, ebx
je 0x4b3c61
push ebx
call fcn.005211da
add esp, 4
pop eax
mov dword [0x76d80e], eax
mov eax, dword [0x76d80e]
test eax, eax
je 0x4b3c85
push eax
mov ebx, eax
call fcn.0049bd83
inc eax
push eax
call fcn.005211d4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4b3c98
push ebx
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4b3cd9
push 0x202
push 0x4020c38
push 6
call fcn.005211e0
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b3cec
mov eax, 0x5f69a4
push eax
push 1
mov ebx, 0x170
call fcn.00523b60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4b3d0a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b3d1b
push ebx
call fcn.005211da
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4b3d22
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.005227a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b3d67
push ebx
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4b3d9c
push 0x36
push 0x4020c4e
push 6
call fcn.005211e0
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b3daf
mov eax, 0x5f69a4
push eax
push 1
mov ebx, 0x170
call fcn.00523b60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4b3dcd
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b3dde
push ebx
call fcn.005211da
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret