joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ced5
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x466f0d
call fcn.004516bd
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.0042c009
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.kernel32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x42cf31
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0042c009
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402573
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0042de14
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
test esi, esi
je 0x42cf60
push esi
call fcn.00422b83
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00451740
ret

Function at 0x42d00e
Capabilities:
Get common file path

Disassembly:
push 0x20c
mov eax, 0x46bfd0
call fcn.004516bd
xor esi, esi
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x170], esi
call fcn.0044b630
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x42d13c
lea eax, [ebp - 0x218]
push eax
call fcn.00402897
lea eax, [ebp - 0x218]
push str.SHGetFolderPath_0x
push eax
mov dword [ebp - 4], esi
call fcn.00405650
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
pop ecx
lea eax, [ebp + eax - 0x218]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [ebp - 0x218]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x218]
push str.__mode
push eax
call fcn.00405650
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x218]
push 0x4793cc
push eax
call fcn.00405650
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x180]
call fcn.00433f6e
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
push ecx
lea esi, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0x16c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_SysInfo.cpp
mov dword [ebp - 0x168], str.SysInfo::SHGetFolderPathAdapter
mov dword [ebp - 0x164], 0x19a
call fcn.0042d560
lea eax, [ebp - 0x160]
mov dword [esp], 0x4867d4
push eax
call fcn.00422b83
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.00402573
lea edx, [ebp - 0x134]
mov eax, edi
mov dword [ebp - 4], 2
call fcn.0042de14
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.00403353
mov eax, edi
call fcn.00451740
ret
Function at 0x42d751
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x46bf26
call fcn.004516bd
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.0042d733
mov edi, eax
test edi, edi
jne 0x42d809
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00402573
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.0042d67e
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00422632
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [sym.imp.kernel32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.00436725
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.0041c4f8
lea eax, [ebp - 0x58]
mov dword [esp], 0x4864a4
push eax
call fcn.00422b83
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x42d88d
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00402573
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0042d67e
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00422632
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.00436725
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x42d7e8
push eax
call dword [sym.imp.kernel32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x42d8bd
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x42d8ae
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x42d8a4
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x42d8cc
push edi
push dword [esi + 0x40]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.00451740
ret 4

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42dbb0
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42dbc8
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42dbdc
test al, 0x10
je 0x42dbdc
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42e2e6
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x46beb2
call fcn.004516bd
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42e30d
lea eax, [ebp + 8]
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x42e3d7
cmp dword [0x49a024], 0
jg 0x42e3ad
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00402552
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.00402897
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004043f5
mov esi, eax
push str.__directory
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004015c3
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x42e3ef
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0042de14
push eax
mov byte [ebp - 4], 4
call fcn.00423ff7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
jmp 0x42e3ef
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x42e401
lea eax, [ebp + 8]
call fcn.0042dbc0
test al, al
je 0x42e401
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00403353
call fcn.00451740
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.00402552
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.00402897
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.00436725
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041c4f8
lea eax, [ebp - 0x38]
mov dword [esp], 0x4864a4
push eax
call fcn.00422b83
int3
Function at 0x42f9c7
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x46bc68
call fcn.004516bd
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.00402552
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x42fa03
mov eax, dword [ebx]
jmp 0x42fa05
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x42fabd
push str.System_error
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x461
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00402552
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00402897
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.00436725
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.0041c4f8
lea eax, [ebp - 0x3c]
mov dword [esp], 0x4864a4
push eax
call fcn.00422b83
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.004128e4
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x42fad9
mov edx, dword [ebx]
jmp 0x42fadb
mov edx, ebx
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x42fb79
push str.System_error
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00402552
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00402897
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.00436725
mov byte [ebp - 4], 9
jmp 0x42fa9f
mov eax, ebx
call fcn.00451740
ret 4
Function at 0x431992
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x469ff8
call fcn.004516bd
cmp dword [0x49a024], 1
mov ebx, ecx
jg 0x4319ed
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.004089f6
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x49a024
call fcn.0042432e
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00403353
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.0044b630
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.0044b630
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x431a31
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x431a41
mov esi, ebx
call fcn.00431ed2
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x431a50
mov esi, dword [eax]
jmp 0x431a52
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x431a5e
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.0041405a
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.0040ecb7
cmp dword [ebx + 0x14], 0x10
jb 0x431a97
mov ecx, dword [ebx]
jmp 0x431a99
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x431ace
push dword [ebp - 0x24]
call fcn.00422b83
pop ecx
mov al, bl
call fcn.00451740
ret
Function at 0x4330d2
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x466548
call fcn.00451654
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.00422b83
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00422b83
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00422b83
mov eax, esi
mov dword [esp], 0x409
call fcn.00422b83
pop ecx
mov eax, esi
call fcn.0045172c
ret
Function at 0x443268
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x468966
call fcn.00451654
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x4432be
push 0xc8
lea esi, [ebp - 0x20]
call fcn.00422b83
push 0x486924
mov eax, esi
push eax
call fcn.00422b83
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.0041edb8
push 0x481204
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00422b83
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00441fd4
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041b812
push 1
lea esi, [ebp]
call fcn.0041b812
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00449589
add ebp, 0x244
leave
ret

Function at 0x449589
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4956a0]
jne 0x449593
repz ret
jmp fcn.00453a75

Function at 0x4010f0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x40332c], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 4]
mov dword [0x40319b], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401121
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40319b]
mov dword [ebp - 0x48], eax
mov eax, 0x401bbc
mov dword [ebp - 0x54], eax
mov ecx, 0x4030bd
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40319b]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403378], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403378]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4011d9
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4011cb
mov esp, ebp
ret
Function at 0x404c47
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call fcn.00404c51

Function at 0x41b1df
Capabilities:
64-bit execution via heavens gate
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov ecx, 0x6a4abc5b
call fcn.0041b34a
test eax, eax
je 0x41b344
mov dword [esp + 4], eax
mov ecx, 0x3cfa685d
call fcn.0041b34a
test eax, eax
je 0x41b344
mov dword [esp + 8], eax
mov ecx, eax
mov edx, 0xc9616ee
call fcn.0041b3b2
test eax, eax
je 0x41b344
mov dword [esp + 0xc], eax
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x10], edx
push 0x380
push 8
push edx
call eax
test eax, eax
je 0x41b344
mov dword [esp + 0x14], eax
lea eax, [eax + 0xf]
and eax, 0xfffffff0
mov dword [esp], eax
lea ecx, [eax + 8]
mov dword [eax], ecx
lea ecx, [ecx + 0x1b4]
mov dword [eax + 4], ecx
lea eax, [eax + 8]
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xa8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], edx
push ebx
push ebp
call fcn.0041b2a1
jmp 0x41b2ab
push ebx
lea ebx, [ebx + 0x27c]
lea ebp, [eax + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ebx]
test edx, edx
je 0x41b2d0
call fcn.0041b3b2
mov dword [ebp], eax
lea ebx, [ebx + 4]
lea ebp, [ebp + 8]
jmp 0x41b2ba
pop ebx
mov edx, dword [esp + 8]
mov edx, dword [edx]
lea ecx, [ebx + 0x25c]
mov dword [edx + 0x1a4], ecx
lea ecx, [ebx + 0x168]
mov dword [edx + 0x1a8], ecx
lea ecx, [ebx + 0x1d0]
mov dword [edx + 0x1b0], ecx
pop ebp
pop ebx
mov eax, dword [edx + 0xf0]
test eax, eax
jne 0x41b321
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x41b344
mov ecx, dword [esp]
mov edx, dword [edx + 0x10]
push ecx
push 0
push edx
call eax
xor eax, eax
jmp 0x41b344
xor ecx, ecx
dec ecx
lea edx, [esp + 4]
push 0
push 4
push edx
push 0x1a
push ecx
call eax
test eax, eax
js 0x41b307
mov eax, dword [esp]
mov ecx, dword [esp + 4]
jecxz 0x41b344
jmp 0x41b49a
mov esp, ebp
pop ebp
ret
mov word [ebp - 4], fs
mov ecx, 0x2b
mov fs, cx
and esp, 0xfffffff0
push 0x33
call 0x41b4af
add dword [esp], 5
retf

Function at 0x41b34a
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 0x41b397
mov al, cl
cmp al, 0x61
jb 0x41b372
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x41b397
mov al, cl
cmp al, 0x61
jb 0x41b38a
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x41b363
cmp edx, dword [esp + 0x18]
je 0x41b3a7
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x41b35c
xor eax, eax
jmp 0x41b3aa
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x41b3b2
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 0x41b41f
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x41b425
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 0x41b3f6
cmp al, 0x61
jb 0x41b3ee
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41b3e1
cmp edx, dword [esp + 0x14]
je 0x41b403
dec ecx
jne 0x41b3d6
xor eax, eax
jmp 0x41b41f
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]
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x41b43a
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x41b43a
sub edx, ecx
mov ecx, edx
jmp 0x41b403
xor eax, eax
jmp 0x41b41f

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

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

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

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

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x420140
add dword [esp], 5
retf
Function at 0x438e80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x511058]
xor edx, edx
cmp eax, edx
jne 0x438ea6
xor eax, eax
mov byte [eax + 0x510f58], al
inc eax
cmp eax, 0x100
jl 0x438e8e
mov dword [0x511058], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x510f58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x438f37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x438f0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x438ed8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x438fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x439003
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x438fea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret