joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b3ec6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x100b3ed5
xor eax, eax
jmp 0x100b3fb8
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x100b3f98
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
inc edx
dec edi
jne 0x100b3ef5
pop edi
test eax, eax
je 0x100b3fb2
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101adf40]
inc edx
dec eax
jne 0x100b3f9c
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x100d7c90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, edx
mov edi, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf4]
mov esi, ecx
shl edi, 3
lea ecx, [edi + edi]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x20], edi
call fcn.100d7a20
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x100d7d1a
mov ebx, dword [esp + 0x1c]
mov edx, esi
sub ebx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
push ebp
mov ecx, dword [ebx + edx]
mov eax, dword [edx]
xor esi, esi
test edi, edi
jbe 0x100d7d07
movzx edx, byte [eax + 1]
movzx ebx, byte [eax]
mov ebp, esi
add ebp, edx
add ebx, ebp
sar ebx, 1
mov byte [ecx], bl
inc ecx
xor esi, 1
add eax, 2
dec edi
jne 0x100d7ce0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add edx, 4
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x100d7cd5
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x100d7de0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, edx
mov ebx, dword [esi + 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf4]
push edi
mov edi, ecx
shl ebx, 3
lea ecx, [ebx + ebx]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x30], ebx
call fcn.100d7a20
mov ebp, dword [esi + 0xc]
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebp
jle 0x100d7e97
mov edx, edi
mov dword [esp + 0x14], edx
test ebx, ebx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx]
mov edi, 1
jbe 0x100d7e87
mov ecx, dword [edx + 4]
sub ecx, eax
mov dword [esp + 0x10], ebx
lea esp, [esp]
movzx ebx, byte [ecx + eax]
movzx edx, byte [ecx + eax + 1]
add edx, ebx
movzx ebx, byte [eax + 1]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax]
add ebx, edi
add ebx, edx
add ecx, ebx
sar ecx, 2
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
inc esi
xor edi, 3
add eax, 2
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
jne 0x100d7e40
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add edx, 8
inc ecx
cmp ecx, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jl 0x100d7e21
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x101139c9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ddf78]
jne 0x101139d3
repz ret
jmp fcn.101208cc

Function at 0x10139ae3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x10139b10
call fcn.1011e9e3
mov dword [eax], esi
call fcn.1011e9d0
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10113464
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x10139aec
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10139b3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1011e9f6
pop ecx
call fcn.1011e9d0
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10139b66
test al, 1
je 0x10139b66
test byte [esp + 0xc], 2
je 0x10139b66
call fcn.1011e9e3
mov dword [eax], 5
call fcn.1011e9d0
mov dword [eax], 0xd
jmp 0x10139b36
xor eax, eax
pop esi
ret
Function at 0x101423e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10120147
xor ebx, ebx
cmp dword [0x101ea2b4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x101424b5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10142420
xor eax, eax
jmp 0x10142579
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10142419
push eax
call fcn.101200e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101ea2b4], eax
call esi
push eax
call fcn.101200e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101ea2b8], eax
call esi
push eax
call fcn.101200e4
mov dword [0x101ea2bc], eax
lea eax, [ebp - 8]
push eax
call fcn.1011a526
test eax, eax
pop ecx
pop ecx
je 0x10142483
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10113330
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x101424b5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.101200e4
cmp eax, ebx
pop ecx
mov dword [0x101ea2c4], eax
je 0x101424b5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101200e4
pop ecx
mov dword [0x101ea2c0], eax
mov eax, dword [0x101ea2c0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1014252e
cmp dword [0x101ea2c4], esi
je 0x1014252e
push eax
call fcn.10120150
pop ecx
call eax
cmp eax, ebx
je 0x101424fb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x101ea2c4]
call fcn.10120150
pop ecx
call eax
test eax, eax
je 0x101424fb
test byte [ebp - 0x18], 1
jne 0x1014252e
lea eax, [ebp - 0xc]
push eax
call fcn.1011a5d5
test eax, eax
pop ecx
je 0x10142516
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10113330
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10142525
or dword [ebp + 0x10], 0x200000
jmp 0x1014255f
or dword [ebp + 0x10], 0x40000
jmp 0x1014255f
mov eax, dword [0x101ea2b8]
cmp eax, esi
je 0x1014255f
push eax
call fcn.10120150
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1014255f
mov eax, dword [0x101ea2bc]
cmp eax, esi
je 0x1014255f
push dword [ebp - 4]
push eax
call fcn.10120150
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 [0x101ea2b4]
call fcn.10120150
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x6e250301
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4ab45a0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42ff70
Capabilities:
Set current directory

Disassembly:
and esp, 8
push 3
cli
add eax, 0x6a0862
mov eax, esi
call fcn.004743e0
or esp, 0x10
invalid
Function at 0x441bb0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x441c35
cmp byte [edi + 0x17], 0
jne 0x441bca
mov esi, dword [edi + 0xc]
jmp 0x441bcc
mov esi, edi
mov bl, 8
test byte [esi + 0x15], bl
je 0x441bda
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x441bf3
test byte [esi + 0x15], 4
je 0x441bee
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
jmp 0x441c03
cmp al, 2
jne 0x441bfe
call fcn.00401000
jmp 0x441c03
mov eax, 0x4ca5c8
cmp byte [edi + 0x17], 0
mov ebp, eax
jne 0x441c10
mov esi, dword [edi + 0xc]
jmp 0x441c12
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x441c2c
test byte [esi + 0x15], bl
je 0x441c24
mov eax, esi
call fcn.00401160
mov ebx, dword [esi + 0xc]
add esi, 0xc
jmp 0x441c68
mov esi, 0x4cb318
mov ebx, dword [esi]
jmp 0x441c68
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
call fcn.00476d90
add esp, 0xc
test eax, eax
jne 0x441c60
mov edx, dword [0x4c48ec]
mov dword [edx + 0x30], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
xor edi, edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x441ca9
mov dword [esp + 0x20], edi
test ebp, ebp
je 0x441c9e
push edi
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
cmp dword [esp + 0x20], ebx
sete dl
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c48ec]
mov dword [ecx + 0x30], eax
cmp esi, 0xffffffff
je 0x441cc4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], 0
jne 0x441cd4
push ebp
call fcn.0048f05f
add esp, 4
mov ecx, dword [esp + 0x1c]
test edi, edi
sete dl
movzx eax, dl
push eax
push ecx
call fcn.0042df70
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
invalid
Function at 0x471720
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
je 0x4717e7
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [0x4c48ec]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x20019
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x4717f4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00471720
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4717f4
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x4717f4
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
jne 0x47176a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x471810
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebx, ebx
je 0x471900
test edi, edi
je 0x471829
cmp word [edi], 0
jne 0x471831
test ebp, ebp
je 0x471900
mov ecx, dword [0x4c48ec]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x2001f
push edx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4718d2
mov eax, dword [esp + 0x14]
test ebp, ebp
jne 0x4718e9
push eax
call fcn.00471720
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4718d2
mov eax, 1
test byte [0x4cbe4c], al
jne 0x4718b0
or dword [0x4cbe4c], eax
push str.RegDeleteKeyExW
push str.advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cbe48], eax
jmp 0x4718b5
mov eax, dword [0x4cbe48]
mov edx, dword [0x4c48ec]
mov ecx, dword [edx + 0xd0]
test ecx, ecx
je 0x4718df
test eax, eax
je 0x4718df
push 0
push ecx
push edi
push ebx
call eax
mov esi, eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x4718d0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add byte [ebx + 0x5114244c], cl
mov esi, 0x57
Function at 0x483f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x140
push ebx
push ebp
xor eax, eax
push esi
push edi
cmp dword [esp + 0x158], eax
jne 0x483f90
cmp dword [esp + 0x16c], eax
jne 0x483f70
push 1
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x184]
push eax
call fcn.00483f30
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea eax, [esp + 0x16c]
sub eax, dword [esp + 0x154]
cdq
xor eax, edx
sub eax, edx
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ebx, dword [esp + 0x164]
mov ecx, dword [ebx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
cmp ecx, dword [ebx + 4]
jae 0x4898de
mov ebp, dword [esp + 0x154]
jmp fcn.00483fb5
Function at 0x10674058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x106741a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1067407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1067406a
add dl, dl
jne 0x10674089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106740dc
xor eax, eax
add dl, dl
jne 0x10674096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1067417d
add dl, dl
jne 0x106740a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106740b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106740bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106740c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x106740d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10674075
mov eax, 1
add dl, dl
jne 0x106740ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106740f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106740e1
sub eax, ebx
mov ebx, 1
jne 0x10674128
mov ecx, 1
add dl, dl
jne 0x1067410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10674119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10674105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10674075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1067413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1067414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10674136
cmp eax, 0x7d00
jae 0x1067416d
cmp eax, 0x500
jb 0x10674168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10674075
cmp eax, 0x7f
ja 0x10674170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10674075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1067419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10674075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4556fa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x455739
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x455739
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x455739
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x455739
cmp dword [ecx + 0x74], 0xe
jbe 0x455739
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x45b35c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x45b3f9
push ebx
push esi
call fcn.0045b325
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0045b2b9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x45b3a6
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45b3f8
push edi
push eax
call fcn.0045bbef
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x45b3c6
call fcn.00459e01
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45b3f7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0045b2b9
add esp, 0x20
test eax, eax
jne 0x45b3e5
push edi
call fcn.00459e01
jmp 0x45b3ed
push ebx
call fcn.00459e01
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x45c2f5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x474068
push 0x474060
push str.FlsAlloc
push 0x1f
call fcn.0045c211
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45c329
push dword [ebp + 8]
mov ecx, esi
call dword [0x472164]
call esi
jmp 0x45c32f
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x45c373
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x474078
push 0x474070
push str.FlsGetValue
push 0x21
call fcn.0045c211
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45c3aa
push dword [ebp + 8]
mov ecx, esi
call dword [0x472164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]

Function at 0x45c3b2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x474080
push 0x474078
push str.FlsSetValue
push 0x22
call fcn.0045c211
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45c3ec
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x472164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsSetValue]
Function at 0x4612a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4612cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4612cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xde2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00de21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xde207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde206a
add dl, dl
jne 0xde2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde20dc
xor eax, eax
add dl, dl
jne 0xde2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde217d
add dl, dl
jne 0xde20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xde20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xde2075
mov eax, 1
add dl, dl
jne 0xde20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde20e1
sub eax, ebx
mov ebx, 1
jne 0xde2128
mov ecx, 1
add dl, dl
jne 0xde210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xde213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde2136
cmp eax, 0x7d00
jae 0xde216d
cmp eax, 0x500
jb 0xde2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde2075
cmp eax, 0x7f
ja 0xde2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xde219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xde2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402b40
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4120a8
push 0x411570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402d80
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x413e94
call fcn.004030c0
push 0x40
push 0x4120b4
push 0x413e94
push 0x413e94
call fcn.00402fe0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x402e0b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x413040]
mov ecx, 8
mov esi, eax
mov edi, 0x413e74
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00402f20
mov ecx, dword [0x41303c]
mov edx, dword [0x413040]
push 0x20
push ecx
push edx
call fcn.00403030
mov edi, dword [0x41303c]
add esp, 0x14
mov ecx, 8
mov esi, 0x413e74
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x402dbf
jmp 0x402e64
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x41303c]
mov ecx, 8
mov esi, eax
mov edi, 0x413e74
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00402f20
mov ecx, dword [0x413040]
mov edx, dword [0x41303c]
push 0x20
push ecx
push edx
call fcn.00403030
mov edi, dword [0x413040]
add esp, 0x14
mov ecx, 8
mov esi, 0x413e74
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x402e1a
push 0x40
push 0x4120f4
push 0x413e94
push 0x413e94
call fcn.00402fe0
mov eax, dword [esp + 0x24]
push 0x40
push 0x413e94
push eax
call fcn.00403100
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x402ea0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x413e34
call fcn.004030c0
push 0x38
push str.91__
push 0x413e34
push 0x413e34
call fcn.00402fe0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4121ec]
mov edx, dword [0x413044]
push ecx
push 0x1c
push edx
call fcn.00403060
movsx eax, byte [esi + 0x4121ec]
mov ecx, dword [0x413048]
push eax
push 0x1c
push ecx
call fcn.00403060
push 0x30
push 0x4121bc
push 0x413e34
push edi
call fcn.00402fe0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x402ed2
pop edi
pop esi
ret

Function at 0x402f20
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x412134
push esi
push 0x413e04
call fcn.00402fe0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x413e04
call fcn.00403030
push 0x413e04
push esi
call fcn.00402f70
push 0x20
push 0x412164
push esi
push esi
call fcn.00402fe0
add esp, 0x34
pop esi
ret