joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010879
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1040
call fcn.1003c310
mov eax, dword [0x1008f304]
xor eax, esp
mov dword [esp + 0x103c], eax
and dword [esp], 0
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x1048]
push edi
mov edi, dword [esp + 0x1058]
push eax
push dword [esp + 0x1054]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64]
pop ecx
pop ecx
test eax, eax
jns 0x100108eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [eax]
push esi
call sym.glib_lite.dll_Ordinal_353
pop ecx
push eax
push esi
call fcn.10002ff5
pop ecx
push eax
call fcn.100030eb
push eax
push edi
call fcn.1003d210
add esp, 0x10
xor eax, eax
jmp 0x100109ca
test dword [esp + 0x12], 0x8000
jne 0x10010903
push str.Not_a_regular_file
push 1
call fcn.100102cf
jmp 0x100108da
push ebx
mov bl, byte [esi + 0x14]
push esi
call fcn.10010253
push esi
call fcn.10010717
mov eax, dword [esp + 0x1060]
pop ecx
pop ecx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
push ebp
push 0x1000
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1060]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
test ebp, ebp
je 0x10010996
jns 0x10010978
cmp ebx, 4
je 0x1001098c
cmp ebx, 0xb
je 0x1001098c
push ebx
call sym.glib_lite.dll_Ordinal_353
pop ecx
push eax
push ebx
call fcn.10002ff5
pop ecx
push eax
call fcn.100030eb
push eax
push edi
call fcn.1003d210
add esp, 0x10
jmp 0x100109c1
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10010c32
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010923
jmp 0x1001099e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100109a1
push eax
jmp 0x100109b9
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1003d210
cmp dword [esp + 0x18], 0
pop ecx
pop ecx
je 0x100109c5
push dword [esp + 0x10]
push edi
call fcn.1003d210
pop ecx
pop ecx
xor eax, eax
jmp 0x100109c8
xor eax, eax
inc eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
pop edi
pop esi
xor ecx, esp
call fcn.1003c212
add esp, 0x1040
ret
Function at 0x10013e1b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, dword [edx + 0x9c0]
cmp edi, 0x270
jb 0x10013ed0
push ebx
push ebp
xor edi, edi
mov ebp, closesocket
push esi
mov esi, edi
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebp
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x100430a0]
xor ecx, dword [edx + esi*4 + 0x634]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0xe3
jl 0x10013e3e
mov ebx, 0x26f
jmp 0x10013e97
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebp
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x100430a0]
xor ecx, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, ebx
jl 0x10013e72
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and ecx, ebp
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
pop esi
pop ebp
pop ebx
mov eax, dword [eax*4 + 0x100430a0]
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
mov dword [edx + 0x9c0], edi
mov ecx, dword [edx + edi*4]
lea eax, [edi + 1]
mov dword [edx + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop edi
ret
Function at 0x10014c87
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x400c
call fcn.1003c310
mov eax, dword [0x1008f304]
xor eax, esp
mov dword [esp + 0x4008], eax
mov eax, dword [esp + 0x4014]
push ebx
mov ebx, dword [esp + 0x401c]
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x4018]
cmp ebx, 0x7fffffff
jbe 0x10014cd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0xe
or eax, 0xffffffff
jmp 0x10014de9
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
test eax, eax
jne 0x10014cfe
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
mov ecx, eax
call fcn.100156fd
add esp, 4
mov dword [ecx], eax
jmp 0x10014cce
test eax, 0x400
jne 0x10014d13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x10014cce
push ebp
push edi
push 0
and eax, 0x10
shl eax, 0x15
or eax, 0x200080
push eax
push 3
push 0
push 7
push 8
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov ebp, eax
or edi, 0xffffffff
cmp ebp, edi
jne 0x10014d5b
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
mov ecx, eax
call fcn.100156fd
add esp, 4
mov dword [ecx], eax
jmp 0x10014de5
xor esi, esi
lea eax, [esp + 0x14]
push esi
push eax
push 0x4000
lea eax, [esp + 0x24]
push eax
push esi
push esi
push 0x900a8
push ebp
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x10014d9c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
mov ecx, eax
call fcn.100156fd
add esp, 4
mov dword [ecx], eax
jmp 0x10014dde
cmp dword [esp + 0x18], 0xa000000c
mov edi, esi
jne 0x10014dae
lea ecx, [esp + 0x2c]
jmp 0x10014dbc
cmp dword [esp + 0x18], 0xa0000003
jne 0x10014dde
lea ecx, [esp + 0x28]
movzx eax, word [esp + 0x22]
lea edi, [ebx + ebx]
cmp eax, edi
cmovbe edi, eax
movzx eax, word [esp + 0x20]
push edi
add eax, ecx
push eax
push dword [esp + 0x18]
call sub.vcruntime140.dll_memcpy
add esp, 0xc
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
mov ecx, dword [esp + 0x4010]
pop esi
pop ebx
xor ecx, esp
call fcn.1003c212
add esp, 0x400c
ret
Function at 0x100153ae
Capabilities:
Create directory

Disassembly:
push ebp
xor eax, eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [esp + 0x18]
call fcn.1001a9a6
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x100153d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
pop ebp
mov dword [eax], 0x16
or eax, 0xffffffff
ret
push ebx
push esi
push ebp
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push ebp
mov esi, dword [eax]
call sym.glib_lite.dll_Ordinal_105
pop ecx
pop ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x1001545f
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
xor esi, esi
or edi, 0xffffffff
push esi
push esi
push esi
push edi
push dword [esp + 0x20]
call fcn.1001a9a6
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x1001548e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x10015523
push ebp
push esi
push esi
push esi
push edi
push dword [esp + 0x28]
call fcn.1001a9a6
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x100154ba
push ebx
call sym.glib_lite.dll_Ordinal_105
pop ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x10015522
push 1
push ebp
push ebx
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x100154cc
mov edi, esi
jmp 0x1001550c
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x20
ja 0x100154f2
je 0x10015509
push 2
pop esi
sub eax, esi
je 0x1001550c
sub eax, 1
je 0x1001550c
sub eax, esi
je 0x10015509
sub eax, 0xc
jne 0x10015501
push 0x12
jmp 0x1001550b
sub eax, 0x21
je 0x10015509
sub eax, 0x2f
je 0x10015505
sub eax, 0x67
je 0x10015505
push 5
jmp 0x1001550b
push 0x11
jmp 0x1001550b
push 0xd
pop esi
push ebx
call sym.glib_lite.dll_Ordinal_105
push ebp
call sym.glib_lite.dll_Ordinal_105
pop ecx
pop ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], esi
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x10019b26
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ecx
push ebx
push esi
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push 1
push ebx
push str.SYSTEMCurrentControlSetControlTimeZoneInformation
push closesocket
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019ba2
push ebp
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
push ebx
push ebx
push ebx
mov ebp, str.TimeZoneKeyName
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10019b97
push dword [esp + 0xc]
call sym.glib_lite.dll_Ordinal_194
pop ecx
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push ebx
push ebx
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10019b97
push esi
call sym.glib_lite.dll_Ordinal_105
pop ecx
mov esi, ebx
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop esi
pop ebx
pop ecx
pop ecx
ret

Function at 0x1001b309
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008f304]
xor eax, ebp
mov dword [ebp - 4], eax
push str.G_DEBUG
mov dword [ebp - 0x1c], str.gc_friendly
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], str.fatal_warnings
mov dword [ebp - 0x10], 0x18
mov dword [ebp - 0xc], str.fatal_criticals
mov dword [ebp - 8], 8
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
pop ecx
test eax, eax
je 0x1001b362
push 3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.1001b420
add esp, 0xc
mov ecx, eax
and eax, 1
and ecx, 0xfffffffc
mov dword [0x1008f760], eax
or dword [0x1008f1fc], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c212
leave
ret
Function at 0x100296d3
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x74]
push eax
xor eax, eax
push eax
push edi
push dword [esp + 0x20]
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
test esi, esi
jne 0x1002971a
push dword [eax]
call sym.glib_lite.dll_Ordinal_353
push eax
push str.Error_creating_thread:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_182
add esp, 0x14
jmp 0x1002974e
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1002974e
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.1003d210
mov esi, eax
push esi
push str.Error_closing_thread_handle:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_182
push esi
call sym.glib_lite.dll_Ordinal_105
add esp, 0x18
push 0xffffffffffffffff
push dword [edi + 0x8c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
pop edi
pop esi
ret
Function at 0x1003dfd1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x1003dfe8
mov bl, byte [eax]
inc eax
mov dword [esi + 0x50], eax
jmp 0x1003e054
cmp dword [esi + 0x4c], 0
jl 0x1003e052
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003e020
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003dff1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003dff1
cmp ebx, 1
jge 0x1003e02d
or dword [esi + 0x4c], 0xffffffff
xor bl, bl
jmp 0x1003e072
lea eax, [edi + 1]
mov dword [esi + 0x50], eax
lea eax, [ebx + edi]
mov dword [esi + 0x54], eax
mov bl, byte [edi]
test bl, bl
jne 0x1003e054
push esi
call fcn.1003f085
mov eax, dword [esi + 0x50]
or dword [esi + 0x4c], 0xffffffff
pop ecx
mov dword [esi + 0x54], eax
jmp 0x1003e054
xor bl, bl
cmp bl, 0xa
jne 0x1003e068
mov eax, dword [esp + 0x18]
and dword [eax], 0
mov eax, dword [esp + 0x14]
inc dword [eax]
jmp 0x1003e072
test bl, bl
je 0x1003e072
mov ecx, dword [esp + 0x18]
inc dword [ecx]
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x1003ef85
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x1003ef98
mov al, byte [eax]
jmp 0x1003efdb
cmp dword [esi + 0x4c], 0
jl 0x1003efd9
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003efd0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003efa1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003efa1
cmp ebx, 1
jge 0x1003efdf
or dword [esi + 0x4c], 0xffffffff
xor al, al
pop edi
pop esi
pop ebx
ret
lea ecx, [ebx + edi]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
mov al, byte [edi]
jmp 0x1003efdb
Function at 0x403160
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x845080], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0xc], eax
jne 0x403199
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x425ef8]
mov ebx, dword [0x425efc]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x28], ecx
call fcn.00403150
mov edx, dword [0x425f00]
mov eax, dword [0x425f04]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x4031e0
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x845080]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x403248
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor edx, edx
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x845080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x403262
mov dword [0x84461c], 0xedeb2e40
jmp 0x403274
cmp ecx, 0x3eb
jne 0x403274
mov dword [0x843fd0], 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add edx, esi
mov dword [ebp - 0x14], edx
mov edx, esi
shr edx, cl
mov dword [0x844618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x845080], 0xc
jne 0x4032d2
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, edx
xor ecx, eax
mov dword [ebp - 4], ecx
sub esi, ecx
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
sub edi, 1
jne 0x4031e0
cmp dword [0x845080], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x403339
push 0
push 0x4025f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403350
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x845080]
mov ecx, dword [0x843fd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x40342a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x845080], 0x959
jne 0x403410
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x402628
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403160
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4045b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4250c8]
jne 0x4045ba
repz ret
jmp fcn.00406d1e

Function at 0x40693f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404631
and dword [ebp - 4], 0
cmp dword [0x426a10], 0
mov ebx, eax
jne 0x4069f0
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aa1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406aa1
push eax
call fcn.004045bf
mov dword [esp], 0x4019dc
push edi
mov dword [0x426a10], eax
call esi
push eax
call fcn.004045bf
mov dword [esp], 0x4019c8
push edi
mov dword [0x426a14], eax
call esi
push eax
call fcn.004045bf
mov dword [esp], 0x4019ac
push edi
mov dword [0x426a18], eax
call esi
push eax
call fcn.004045bf
pop ecx
mov dword [0x426a20], eax
test eax, eax
je 0x4069f0
push 0x401994
push edi
call esi
push eax
call fcn.004045bf
pop ecx
mov dword [0x426a1c], eax
mov eax, dword [0x426a1c]
cmp eax, ebx
je 0x406a48
cmp dword [0x426a20], ebx
je 0x406a48
push eax
call fcn.0040463a
push dword [0x426a20]
mov esi, eax
call fcn.0040463a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a48
test edi, edi
je 0x406a48
call esi
test eax, eax
je 0x406a3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a3f
test byte [ebp - 0xc], 1
jne 0x406a48
or dword [ebp + 0x10], 0x200000
jmp 0x406a81
mov eax, dword [0x426a14]
cmp eax, ebx
je 0x406a81
push eax
call fcn.0040463a
pop ecx
test eax, eax
je 0x406a81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a81
mov eax, dword [0x426a18]
cmp eax, ebx
je 0x406a81
push eax
call fcn.0040463a
pop ecx
test eax, eax
je 0x406a81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426a10]
call fcn.0040463a
pop ecx
test eax, eax
je 0x406aa1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aa3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x9de0f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x469000]
push edi
or ebp, 0xffffffff
jmp 0x9de112
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9de119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9de108
mov eax, 1
add ebx, ebx
jne 0x9de12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9de13c
jne 0x9de15b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9de15b
dec eax
add ebx, ebx
jne 0x9de148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9de120
add ebx, ebx
jne 0x9de157
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9de1ad
xor ecx, ecx
sub eax, 3
jb 0x9de173
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9de1e2
sar eax, 1
mov ebp, eax
jmp 0x9de17e
add ebx, ebx
jne 0x9de17e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9de14c
inc ecx
add ebx, ebx
jne 0x9de18c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9de14c
add ebx, ebx
jne 0x9de199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9de18e
jne 0x9de1aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9de18e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9de1cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9de1be
jmp 0x9de10e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9de1cc
add edi, ecx
jmp 0x9de10e
pop esi
mov edi, esi
mov ecx, 0x184bd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9de1ea
cmp byte [edi], 0x4f
jne 0x9de1ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9de1ef
lea edi, [esi + 0x5da000]
mov eax, dword [edi]
or eax, eax
je 0x9de267
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e28d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e2a68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9de21c
mov ecx, edi
jns 0x9de24b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5e2a6c]
or eax, eax
je 0x9de261
mov dword [ebx], eax
add ebx, 4
jmp 0x9de239
call dword [esi + 0x5e2a7c]
mov ebp, dword [esi + 0x5e2a70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9de29b
sub esp, 0xffffff80
jmp 0x7760c6