joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451f50
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4520fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4520dc
mov dl, 1
mov eax, dword [0x415a64]
call fcn.00403584
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404340
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4520cb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043fdc0
test al, al
je 0x4520be
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45210c
lea eax, [ebp - 0x254]
call fcn.00409330
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4520be
xor eax, eax
push ebp
push 0x4520b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x452144
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4520a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4520a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4520be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451fc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004195c8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452102
lea eax, [ebp - 0x260]
call fcn.00404340
ret

Function at 0x452a44
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x476b48]
cmp byte [eax + 0xa5], 0
jne 0x452ab5
cmp dword [0x476b60], 0
jne 0x452a76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452a00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476b60], eax
cmp dword [0x476b5c], 0
jne 0x452a91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476b5c], eax
cmp dword [0x476b64], 0
jne 0x452ab5
push esp
push 0
push 0
push 0x4529a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x476b64], eax
pop edx
ret
Function at 0x453148
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476b48]
cmp dword [eax + 0x30], 0
je 0x4531f2
cmp dword [ebx + 0x94], 0
jne 0x4531ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4530d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4531ec
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4531b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4531ec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004179c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4531c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453d50
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x453d85
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404430
jmp 0x453d92
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404394
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454ea4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454ee5
mov eax, esi
call fcn.0043b430
test al, al
je 0x454ee5
mov eax, dword [ebx + 0x84]
call fcn.0043b12c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454ee5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b12c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455cb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414bf8]
call fcn.00404cb0
xor eax, eax
push ebp
push 0x455df4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474d08], 0
jne 0x455d03
mov ecx, dword [0x4757a0]
mov dl, 1
mov eax, dword [0x4075cc]
call fcn.0040bd94
call fcn.00403d54
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fc4
mov eax, ebx
call fcn.00404b7c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x455e04
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405cf0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b8c
test eax, eax
jle 0x455d9b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x455d94
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045b0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408464
test eax, eax
jne 0x455d94
mov ebx, 0x15
jmp 0x455da0
mov ebx, 0x10
jmp 0x455da0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x474d08]
call fcn.00455b28
mov eax, dword [ebp - 8]
call fcn.00455b28
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455dfb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404364
lea eax, [ebp - 0x10]
mov edx, dword [0x414bf8]
call fcn.00404d80
ret

Function at 0x45ff94
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45ffc2
mov eax, ebx
call fcn.00460a48
cmp dword [ebx + 0x40], 0
je 0x45ffbb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x460033
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x460025
cmp dword [ebx + 8], 0
je 0x45ffe4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45fff6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x460025
cmp dword [ebx + 8], 0
je 0x45ffd7
cmp eax, 3
je 0x460009
dec eax
jne 0x45ffd7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45ffd7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45ffd7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x460051
cmp dword [ebx + 0x14], 0xcc
je 0x460051
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046005c
pop ebx
ret
Function at 0x1945c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1945c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1945c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1945c06a
add dl, dl
jne 0x1945c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1945c0dc
xor eax, eax
add dl, dl
jne 0x1945c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1945c17d
add dl, dl
jne 0x1945c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1945c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1945c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1945c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1945c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1945c075
mov eax, 1
add dl, dl
jne 0x1945c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1945c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1945c0e1
sub eax, ebx
mov ebx, 1
jne 0x1945c128
mov ecx, 1
add dl, dl
jne 0x1945c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1945c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1945c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1945c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1945c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1945c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1945c136
cmp eax, 0x7d00
jae 0x1945c16d
cmp eax, 0x500
jb 0x1945c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1945c075
cmp eax, 0x7f
ja 0x1945c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1945c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1945c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1945c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x100129d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x100129df
pop dword [ebp - 4]
mov eax, 0x100129df
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xdcc1bd7b
add dword [ebp - 0x14], 0x719087d0
mov dword [ebp - 0x10], 0x319714c4
add dword [ebp - 0x10], 0x9c3781
mov dword [ebp - 0xc], 0xc5a7ce12
sub dword [ebp - 0xc], 0x795b89e4
mov dword [ebp - 8], 0x2476d01e
add dword [ebp - 8], 0xdb892fe2
lea eax, [ebp - 0x14]
push eax
mov eax, 0x86aa8010
sub eax, 0x76a91fb0
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xd43f2db7
sub dword [ebp - 0x14], 0x5fccc461
mov dword [ebp - 0x10], 0x966e357b
sub dword [ebp - 0x10], 0x5501d406
mov dword [ebp - 0xc], 0xea8012f
sub dword [ebp - 0xc], 0xab3894c3
mov dword [ebp - 8], 0xd73a1ad3
sub dword [ebp - 8], 0xd73a1ad3
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xc06c24b0
sub eax, 0xb06ac44c
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3531a
push 0
call eax
mov ecx, 0x14cff8be
add ecx, 0xeb3045a6
mov edi, eax
mov ebx, 0x23355d99
add ebx, 0xecccd867
add ebx, dword [ebp - 4]
mov esi, 0x53707920
add esi, 0x9efd57ca
mov edx, dword [ebx]
xor edx, esi
mov dword [edi], edx
add edi, 0x8b38c9ea
add edi, 0x74c7361a
add ebx, 0x6c574d9
sub ebx, 0x6c574d5
loop 0x10012afc
add eax, 0x405589ef
sub eax, 0x40549d8c
mov ebx, eax
add eax, 0xb6c74513
add eax, 0x4938baf2
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1a9f09d9
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6f630a77
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430600
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x43061f
xor edi, edi
mov eax, 0x10
call fcn.0044c660
jmp fcn.00430600
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx + 6]
cmp eax, 1
je 0x4306a2
cmp eax, 2
je 0x43064a
mov eax, str.bad_special_kind
mov dword [esp], eax
call fcn.00433760
mov eax, 1
add esp, 0x1c
ret
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x2c]
mov byte [esp + 8], al
call fcn.00447360
mov eax, 0xcafb60
mov dword [esp], eax
call fcn.004281f0
mov eax, 0xcafb40
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.00429cd0
mov eax, 0xcafb60
mov dword [esp], eax
call fcn.004283c0
mov eax, 1
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
call fcn.0042c320
mov eax, 0xcafb60
mov dword [esp], eax
call fcn.004281f0
mov eax, 0xcafb20
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00429cd0
mov eax, 0xcafb60
mov dword [esp], eax
call fcn.004283c0
xor eax, eax
add esp, 0x1c
ret
Function at 0x43d560
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x43d57f
xor edi, edi
mov eax, 4
call fcn.0044c660
jmp fcn.0043d560
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
movzx eax, byte [ecx]
cmp eax, 0xe9
jne 0x43d5a5
mov eax, dword [ecx + 1]
mov ecx, dword [edx + 4]
add eax, ecx
add eax, 5
mov dword [edx + 4], eax
add esp, 0x20
ret
movzx eax, byte [ecx]
cmp eax, 0xeb
jne 0x43d5c2
movsx eax, byte [ecx + 1]
mov ecx, dword [edx + 4]
add eax, ecx
add eax, 2
mov dword [edx + 4], eax
add esp, 0x20
ret
movzx eax, byte [ecx]
cmp eax, 0xcc
jne 0x43d5d0
add esp, 0x20
ret
mov eax, str.runtime:_pc_p__x__x__x__x__x_n
mov dword [esp], eax
mov dword [esp + 4], ecx
movzx eax, byte [ecx]
mov dword [esp + 8], eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0xc], eax
movzx eax, byte [ecx + 2]
mov dword [esp + 0x10], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 4]
mov dword [esp + 0x18], eax
call fcn.00434250
mov eax, str.runtime:_misuse_of_rewindmorestack
mov dword [esp], eax
call fcn.00433760
add esp, 0x20
ret
Function at 0x446fa0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x446fbf
xor edi, edi
mov eax, 0x14
call fcn.0044c660
jmp fcn.00446fa0
sub esp, 0x18
mov esi, dword [0xc9746c]
cmp esi, 0
jne 0x447003
mov ecx, 0xafc7c
mov dword [esp], ecx
mov ecx, 0xc9ea10
mov dword [esp + 4], ecx
call fcn.00429740
mov esi, eax
cmp eax, 0
mov dword [0xc9746c], eax
jne 0x447003
mov eax, 0xc92980
mov dword [esp], eax
call fcn.00433760
mov esi, dword [0xc9746c]
xor ebx, ebx
xor ebp, ebp
cmp ebp, dword [esp + 0x28]
jge 0x44702b
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ebp*4]
add ebx, eax
mov eax, ebx
shl eax, 0xa
add ebx, eax
mov eax, ebx
shr eax, 6
xor ebx, eax
inc ebp
cmp ebp, dword [esp + 0x28]
jl 0x44700d
mov eax, dword [esp + 0x20]
add ebx, eax
mov eax, ebx
shl eax, 0xa
add ebx, eax
mov eax, ebx
shr eax, 6
xor ebx, eax
mov eax, ebx
shl eax, 3
add ebx, eax
mov eax, ebx
shr eax, 0xb
xor ebx, eax
mov eax, ebx
mov dword [esp + 0x10], ebx
xor edx, edx
mov dword [esp + 8], 0x2bf1f
div dword [esp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esi + edx*4]
mov eax, edx
cmp edx, 0
je 0x44708c
mov eax, dword [edx + 8]
cmp eax, dword [esp + 0x1c]
jne 0x447083
mov eax, dword [edx + 0x3c]
cmp eax, ebx
je 0x447156
mov edx, dword [edx]
mov eax, edx
cmp edx, 0
jne 0x44706f
cmp byte [esp + 0x2c], 0
jne 0x447099
xor eax, eax
add esp, 0x18
ret
mov ecx, dword [esp + 0x28]
shl ecx, 2
add ecx, 0x4c
mov dword [esp], ecx
mov dword [esp + 4], 0
mov ecx, 0xc9ea10
mov dword [esp + 8], ecx
call fcn.00446660
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, edx
shl eax, 2
add eax, 0x4c
add dword [0xc97468], eax
mov eax, ecx
mov dword [esp + 0xc], ecx
add eax, 0x48
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, edx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0044e7b0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov dword [ebp + 8], esi
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x44], ecx
mov ebx, dword [0xc9746c]
mov ecx, dword [ebx + edi*4]
mov dword [ebp], ecx
mov edx, dword [0xc9746c]
mov dword [edx + edi*4], ebp
cmp esi, 0
jne 0x447145
mov ecx, dword [0xc97c78]
mov dword [ebp + 4], ecx
mov dword [0xc97c78], ebp
mov eax, ebp
add esp, 0x18
ret
mov ecx, dword [0xc97464]
mov dword [ebp + 4], ecx
mov dword [0xc97464], ebp
jmp 0x44713f
mov eax, dword [edx + 0x40]
cmp eax, dword [esp + 0x20]
jne 0x447083
mov eax, dword [edx + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x447083
mov ecx, edx
mov dword [esp + 0xc], edx
add ecx, 0x48
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0043aef0
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
cmp eax, 0
jne 0x447083
mov eax, edx
add esp, 0x18
ret
Function at 0x44e9a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov dword [esp], 0xfffffff4
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov esp, ebp
mov dword [esp], eax
mov edx, str.runtime:_signal_received_on_thread_not_created_by_Go._n
mov dword [esp + 4], edx
mov edx, dword [0xc8ef30]
mov dword [esp + 8], edx
lea edx, [esp + 0x14]
mov dword [edx], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call dword [sym.imp.kernel32.dll_WriteFile]
mov esi, ebp
add esp, 0x18
ret
Function at 0x451620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x45163f
xor edi, edi
mov eax, 0x28
call fcn.0044c660
jmp fcn.00451620
sub esp, 0x54
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x74], eax
cmp ecx, eax
jb 0x451840
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x48], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ecx
call fcn.00648390
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
cmp eax, 0
jne 0x4516c8
add esp, 0x54
ret
cmp dword [esp + 0x64], 0
jbe 0x451839
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x7f
xchg ebp, eax
ja 0x451700
xchg ebp, eax
movzx ebx, al
xchg ebp, eax
xor ecx, ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
xchg ebp, eax
movsx eax, al
xchg ebp, eax
mov eax, ebp
neg eax
cmp eax, 8
jle 0x451726
mov ebx, dword [0xc98118]
mov dword [esp + 0x78], ebx
mov ebx, dword [0xc9811c]
mov dword [esp + 0x7c], ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jb 0x451832
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 8], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ecx
call fcn.00648390
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x7c], esi
cmp eax, 0
mov dword [esp + 0x78], eax
je 0x4517cb
mov ebx, dword [0xc98248]
cmp eax, ebx
jne 0x4517c7
mov dword [esp], eax
mov dword [esp + 4], esi
mov ebp, dword [0xc98248]
mov dword [esp + 8], ebp
mov ebp, dword [0xc9824c]
mov dword [esp + 0xc], ebp
call fcn.004451f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4517c7
mov ebx, dword [0xc98270]
mov dword [esp + 0x78], ebx
mov ebx, dword [0xc98274]
mov dword [esp + 0x7c], ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jb 0x45182b
mov ecx, dword [esp + 0x60]
xor esi, esi
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x2c]
cmp esi, ebx
jge 0x45181e
movzx ebp, byte [ecx]
mov eax, dword [esp + 0x6c]
shld edi, eax, 8
shl eax, 8
mov dword [esp + 0x3c], eax
xchg ebp, eax
movzx ebx, al
xchg ebp, eax
mov ebp, ebx
xor ebx, ebx
mov eax, dword [esp + 0x3c]
or eax, ebp
or edi, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
inc ecx
inc esi
mov ebx, dword [esp + 0x2c]
cmp esi, ebx
jl 0x4517e9
mov ebx, dword [esp + 0x74]
inc ebx
mov dword [esp + 0x74], ebx
add esp, 0x54
ret
call fcn.004335f0
ud2
call fcn.004335f0
ud2
call fcn.004335c0
ud2
call fcn.004335f0
ud2