joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50e4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x5426a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
call fcn.00480deb
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0048062a
mov ecx, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
push eax
lea ecx, [esp + 0x18]
call fcn.004810f7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [esi + 0x64], 4
je 0x418688
add dword [edi], 0xe
push ebx
lea ecx, [esp + 0x18]
call fcn.0048065b
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00480e3f
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8

Function at 0x41ab00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50ea93
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5426a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0048088a
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x41abcb
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00480d58
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0048101f
test ebp, ebp
je 0x41aba9
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.004810a4
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0048099e
jmp 0x41abdd
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x423ec0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x423f15
mov eax, dword [esi + 0x38]
test eax, eax
je 0x423ede
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esi + 0x68], ecx
mov ecx, 1
mov dword [esi + 0x64], eax
mov eax, esi
mov byte [esi + 0x2c], cl
mov dword [esi + 0x34], ecx
call fcn.00423f90
push 0
push 0
push esi
push 0x423d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
pop esi
ret 8
Function at 0x4313e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50e348
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5426a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push 0x378
lea esi, [edi + 8]
push 0
mov dword [esp + 0x1c], 0
push esi
mov dword [edi], vtable.CVideoDecoder.0
call fcn.004a0080
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, 0xd
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xf4], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], edx
mov eax, dword [0x55f5a0]
add esp, 0xc
test eax, eax
je 0x431465
cmp dword [eax + 0x1c], 0
je 0x43145e
cmp dword [eax + 8], ecx
je 0x431467
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x431453
xor eax, eax
push eax
call fcn.00432a00
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x4314d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x2048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.004a0080
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x431517
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x2030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x2030
jne 0x431513
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x431550
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 8], 0
lea ebx, [esi + 0x2038]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push ebx
push ecx
call ebp
cmp dword [esp + 8], 0xe
jb 0x4315dc
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x4315dc
test byte [ebx], 7
jbe 0x4315ce
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
test byte [ebx], 0x18
jne 0x431567
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4315f0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esi]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea ebx, [esi + 0x2038]
push ebx
push ecx
mov dword [esp + 0x1c], 0
call ebp
cmp dword [esp + 8], 0xe
jae 0x431623
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x43161d
mov bl, byte [ebx]
test bl, 0x18
jne 0x43167b
test bl, 7
jbe 0x43167b
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x431a50
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x3048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.004a0080
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x431a97
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x3030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x3030
jne 0x431a93
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x431ad0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [esp + 8], 0
lea esi, [edi + 0x3038]
mov ecx, dword [edi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push esi
push ecx
call ebp
cmp dword [esp + 8], 0xe
jne 0x431b27
mov eax, dword [esi]
mov ecx, dword [edi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push ebx
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi]
jne 0x431b27
test byte [edi + 0x3040], 0x18
jne 0x431ae7
pop esi
mov eax, 1
pop ebp
pop ecx
ret
pop esi
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x431b30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea esi, [edi + 0x3038]
push esi
push ecx
mov dword [esp + 0x1c], 0
call ebx
cmp dword [esp + 8], 0xe
je 0x431b63
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0xc]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
call ebx
mov ecx, dword [esp + 8]
xor eax, eax
cmp ecx, dword [esi]
pop esi
sete al
pop ebx
pop ecx
ret
Function at 0x4449f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
imul eax, edx
push ebx
push ebp
push esi
mov ebp, 0x52bf00
push edi
xor edi, edi
add eax, ecx
mov ebx, ebp
xor esi, esi
test ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edi
je 0x444a46
cmp eax, 1
jl 0x444a46
mov ebp, dword [esp + 0x24]
mov ebx, eax
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp - 0x124]
cmp ebx, 3
je 0x444a3a
cmp ebx, 4
jne 0x444a40
lea esi, [ebp - 0xbc]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
cmp eax, edx
jl 0x444a70
mov ebp, dword [esp + 0x24]
mov ebx, eax
sub ebx, edx
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp]
cmp ebx, 3
je 0x444a67
cmp ebx, 4
jne 0x444a6a
lea edi, [ebp + 0x68]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
test ecx, ecx
je 0x444aa3
lea ecx, [edx + 1]
cmp eax, ecx
jl 0x444aa3
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x24]
imul ecx, ecx, 0x124
add edx, ecx
mov ecx, dword [edx - 0x124]
cmp ecx, 3
je 0x444a9b
cmp ecx, 4
jne 0x444aa3
add edx, 0xffffff44
jmp 0x444aa7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0x124
lea eax, [eax + ecx + 0x68]
mov ecx, dword [esp + 0x28]
cmp ecx, 5
ja case.default.0x444ac2
jmp dword [ecx*4 + 0x444bd8]
test esi, esi
je 0x444ad0
lea ebx, [esi + 0x1e]
test edi, edi
je 0x444ad7
lea ebp, [edi + 0x3c]
test edx, edx
je case.default.0x444ac2
add edx, 0x5a
jmp 0x444b45
test edi, edi
mov ebx, eax
je case.default.0x444ac2
lea ebp, [edi + 0x5a]
add edi, 0x3c
mov dword [esp + 0x10], edi
jmp case.default.0x444ac2
test esi, esi
je 0x444b00
lea ebx, [esi + 0x5a]
add esi, 0x1e
mov dword [esp + 0x10], esi
mov ebp, eax
jmp case.default.0x444ac2
lea ebx, [eax + 0x3c]
lea ebp, [eax + 0x1e]
mov dword [esp + 0x10], eax
jmp case.default.0x444ac2
test esi, esi
je 0x444b17
lea ebx, [esi + 0x78]
test edi, edi
je 0x444b1e
lea ebp, [edi + 0x78]
test edx, edx
je case.default.0x444ac2
add edx, 0x78
jmp 0x444b45
test esi, esi
je 0x444b31
lea ebx, [esi + 0x96]
test edi, edi
je 0x444b3b
lea ebp, [edi + 0x96]
test edx, edx
je case.default.0x444ac2
add edx, 0x96
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
movsx ecx, word [edx]
movzx ebp, word [ebp]
movzx ebx, word [ebx]
movsx edi, bp
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
movsx esi, bx
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jge 0x444ba0
test bp, bp
jle 0x444b9c
mov eax, ecx
sar eax, 1
add eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, edi
jmp 0x444bbf
test bx, bx
jle 0x444bbd
mov eax, ecx
sar eax, 1
add eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, esi
mov edx, ecx
sar edx, 1
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
Function at 0x45f830
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp eax, 0x20
push esi
jg 0x45f8e3
mov esi, 1
mov ecx, eax
shl esi, cl
cmp edx, esi
jae 0x45f8e3
mov ecx, 0x20
sub ecx, eax
xor esi, esi
shl edx, cl
mov ecx, esi
shl ecx, 0x18
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
bswap eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov dword [edi + esi*4], ecx
add esi, 1
cmp esi, 0x100
jl 0x45f857
mov dword [edi + 0x400], 1
xor eax, eax
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x47c70d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x47c753
call fcn.0047ea70
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x47c753
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x47c796
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x47c77f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x47c77f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x47c793
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x485296
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4852cf
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004049a0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047a43c
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x486f20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x486f63
call fcn.0047ea70
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x486f63
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x486f7e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00486ad7
test ebx, ebx
mov esi, eax
je 0x486f7c
test edi, edi
je 0x486f7c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4887be
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4887c7
xor eax, eax
jmp 0x488830
cmp dword [esp + 8], 0
jne 0x4887d3
call fcn.0047c168
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0049ac1e
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48880e
push dword [esi + 0x10]
call fcn.004a1911
test eax, eax
pop ecx
jne 0x48880e
mov esi, dword [esi + 0xc]
call fcn.004a0bf2
push esi
push dword [eax]
push 1
call fcn.00488628
push dword [esi + 0x10]
call fcn.004a1940
test eax, eax
pop ecx
je 0x48882d
push dword [esi + 0x10]
call fcn.004a1865
push eax
call fcn.00404000
pop ecx
pop ecx
jmp 0x4887fc
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x488839
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x488843
call fcn.0047c168
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0049b1f1
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x488870
mov esi, dword [esi + 0xc]
call fcn.004a0bf2
push esi
push dword [eax]
push 1
call fcn.00488628
pop esi
ret 8

Function at 0x48b4c7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48b4f5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48b513
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048b431
jmp 0x48b513
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48b513
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0048b431
test edi, edi
mov eax, edi
jne 0x48b4fd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x547af0]
test ecx, ecx
je 0x48b5d6
jmp 0x48b4c6
ret 8

Function at 0x49795d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5426a0]
jne 0x497967
repz ret
jmp fcn.004a29e0
Function at 0x4aa0c6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a3aa7
xor ebx, ebx
cmp dword [0x548604], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4aa19b
push 0x5170a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x4aa106
xor eax, eax
jmp 0x4aa25f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x4aa0ff
push eax
call fcn.004a3a44
mov dword [esp], 0x517088
push edi
mov dword [0x548604], eax
call esi
push eax
call fcn.004a3a44
mov dword [esp], 0x517074
push edi
mov dword [0x548608], eax
call esi
push eax
call fcn.004a3a44
mov dword [0x54860c], eax
lea eax, [ebp - 8]
push eax
call fcn.0049be8a
test eax, eax
pop ecx
pop ecx
je 0x4aa169
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00498ddc
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4aa19b
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.004a3a44
cmp eax, ebx
pop ecx
mov dword [0x548614], eax
je 0x4aa19b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a3a44
pop ecx
mov dword [0x548610], eax
mov eax, dword [0x548610]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4aa214
cmp dword [0x548614], esi
je 0x4aa214
push eax
call fcn.004a3ab0
pop ecx
call eax
cmp eax, ebx
je 0x4aa1e1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x548614]
call fcn.004a3ab0
pop ecx
call eax
test eax, eax
je 0x4aa1e1
test byte [ebp - 0x18], 1
jne 0x4aa214
lea eax, [ebp - 0xc]
push eax
call fcn.0049bec1
test eax, eax
pop ecx
je 0x4aa1fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00498ddc
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4aa20b
or dword [ebp + 0x10], 0x200000
jmp 0x4aa245
or dword [ebp + 0x10], 0x40000
jmp 0x4aa245
mov eax, dword [0x548608]
cmp eax, esi
je 0x4aa245
push eax
call fcn.004a3ab0
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4aa245
mov eax, dword [0x54860c]
cmp eax, esi
je 0x4aa245
push dword [ebp - 4]
push eax
call fcn.004a3ab0
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x548604]
call fcn.004a3ab0
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4af905
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a3aa7
xor ebx, ebx
cmp dword [0x548628], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4af9da
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4af945
xor eax, eax
jmp 0x4afa9e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5172e4
push edi
call esi
cmp eax, ebx
je 0x4af93e
push eax
call fcn.004a3a44
mov dword [esp], 0x517088
push edi
mov dword [0x548628], eax
call esi
push eax
call fcn.004a3a44
mov dword [esp], 0x517074
push edi
mov dword [0x54862c], eax
call esi
push eax
call fcn.004a3a44
mov dword [0x548630], eax
lea eax, [ebp - 8]
push eax
call fcn.0049be8a
test eax, eax
pop ecx
pop ecx
je 0x4af9a8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00498ddc
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4af9da
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004a3a44
cmp eax, ebx
pop ecx
mov dword [0x548638], eax
je 0x4af9da
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a3a44
pop ecx
mov dword [0x548634], eax
mov eax, dword [0x548634]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4afa53
cmp dword [0x548638], esi
je 0x4afa53
push eax
call fcn.004a3ab0
pop ecx
call eax
cmp eax, ebx
je 0x4afa20
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x548638]
call fcn.004a3ab0
pop ecx
call eax
test eax, eax
je 0x4afa20
test byte [ebp - 0x18], 1
jne 0x4afa53
lea eax, [ebp - 0xc]
push eax
call fcn.0049bec1
test eax, eax
pop ecx
je 0x4afa3b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00498ddc
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4afa4a
or dword [ebp + 0x10], 0x200000
jmp 0x4afa84
or dword [ebp + 0x10], 0x40000
jmp 0x4afa84
mov eax, dword [0x54862c]
cmp eax, esi
je 0x4afa84
push eax
call fcn.004a3ab0
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4afa84
mov eax, dword [0x548630]
cmp eax, esi
je 0x4afa84
push dword [ebp - 4]
push eax
call fcn.004a3ab0
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x548628]
call fcn.004a3ab0
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bc056
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5426a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004bbfeb
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004a0080
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4bc0a5
cmp dword [ebp - 0x1c], 5
jb 0x4bc0bd
jmp 0x4bc0b9
cmp dword [ebp - 0x10], 1
jne 0x4bc0bd
cmp dword [ebp - 0x1c], 4
ja 0x4bc0b9
jne 0x4bc0bd
cmp dword [ebp - 0x18], 0
jbe 0x4bc0bd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x51b50c
call fcn.004bbebf
test eax, eax
jge 0x4bc0de
mov byte [0x548818], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049795d
add ebp, 0x78
leave
ret