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

Disassembly:
sub esp, 0x114
mov al, byte [0x50b634]
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov dword [esp + 0xc], pe_nt_image_headers32
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov esi, 1
push ecx
push 0x20019
stosw word es:[edi], ax
push 0
push 0x4fe378
push 0x80000002
stosb byte es:[edi], al
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42d276
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0x4fe370
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x42d25c
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x4fe364
push ecx
call dword [sym.imp.msvcrt.dll_sscanf]
mov edx, dword [esp + 0x20]
add esp, 0x18
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret 8
mov edx, dword [esp + 8]
xor esi, esi
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x114
ret 8

Function at 0x4305a8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7baf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.mfc42.dll_CString::CString_4
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x4fe4e0
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.mfc42.dll_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.mfc42.dll_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.mfc42.dll_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x430668
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7bdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.mfc42.dll_CString::CString_4
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x4fe4e8
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.mfc42.dll_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.mfc42.dll_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.mfc42.dll_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x430890
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x43089a
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
ret 0xc
Function at 0x4308c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4308ca
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret 0xc
Function at 0x434ad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4c8861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x1954]
mov dword [esp + 0x18], 0x23
call sub.mfc42.dll_CWnd::CWnd
lea ecx, [esi + 0x1458]
mov byte [esp + 0x18], 0x22
call fcn.0040ed10
lea ecx, [esi + 0xf5c]
mov byte [esp + 0x18], 0x21
call fcn.0040ed10
lea ecx, [esi + 0xf1c]
mov byte [esp + 0x18], 0x20
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0xedc]
mov byte [esp + 0x18], 0x1f
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0xe9c]
mov byte [esp + 0x18], 0x1e
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0xe44]
mov byte [esp + 0x18], 0x1d
call fcn.00411f30
lea ecx, [esi + 0xdfc]
mov byte [esp + 0x18], 0x1c
call fcn.00430340
lea ecx, [esi + 0xdb4]
mov byte [esp + 0x18], 0x1b
call fcn.00430340
lea ecx, [esi + 0xd6c]
mov byte [esp + 0x18], 0x1a
call fcn.00430340
lea ecx, [esi + 0xd24]
mov byte [esp + 0x18], 0x19
call fcn.00430340
lea ecx, [esi + 0xcdc]
mov byte [esp + 0x18], 0x18
call fcn.00430340
lea ecx, [esi + 0xc84]
mov byte [esp + 0x18], 0x17
call fcn.00411f30
mov byte [esp + 0x18], 0x16
lea ecx, [esi + 0xc3c]
call fcn.00430340
lea ecx, [esi + 0xbf4]
mov byte [esp + 0x18], 0x15
call fcn.00430340
lea ecx, [esi + 0xbac]
mov byte [esp + 0x18], 0x14
call fcn.00430340
lea ecx, [esi + 0xb54]
mov byte [esp + 0x18], 0x13
call fcn.00411f30
lea ecx, [esi + 0xb0c]
mov byte [esp + 0x18], 0x12
call fcn.00430340
lea ecx, [esi + 0xac4]
mov byte [esp + 0x18], 0x11
call fcn.00430340
lea ecx, [esi + 0xa7c]
mov byte [esp + 0x18], 0x10
call fcn.00430340
lea ecx, [esi + 0xa34]
mov byte [esp + 0x18], 0xf
call fcn.00430340
lea ecx, [esi + 0x9f4]
mov byte [esp + 0x18], 0xe
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0x9b4]
mov byte [esp + 0x18], 0xd
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0x974]
mov byte [esp + 0x18], 0xc
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0x92c]
mov byte [esp + 0x18], 0xb
call fcn.00430340
lea ecx, [esi + 0x8d4]
mov byte [esp + 0x18], 0xa
call fcn.00411f30
lea ecx, [esi + 0x88c]
mov byte [esp + 0x18], 9
call fcn.00430340
lea ecx, [esi + 0x834]
mov byte [esp + 0x18], 8
call fcn.00411f30
lea ecx, [esi + 0x7ec]
mov byte [esp + 0x18], 7
call fcn.00430340
lea ecx, [esi + 0x74c]
mov byte [esp + 0x18], 6
call fcn.0043cd70
lea ecx, [esi + 0x6ac]
mov byte [esp + 0x18], 5
call fcn.0043cd70
lea ecx, [esi + 0x60c]
mov byte [esp + 0x18], 4
call fcn.0043cd70
lea ecx, [esi + 0x56c]
mov byte [esp + 0x18], 3
call fcn.0043cd70
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 2
call fcn.0040ed10
lea edi, [esi + 0x68]
mov dword [esp + 0xc], edi
mov dword [edi], 0x4cbe50
mov ecx, edi
mov byte [esp + 0x18], 0x24
call sub.mfc42.dll_CGdiObject::DeleteObject
lea ecx, [esi + 0x60]
mov dword [edi], 0x4cbe3c
mov byte [esp + 0x18], 0
call sub.mfc42.dll_CString::CString
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call sub.mfc42.dll_CDialog::CDialog
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x434ae8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4c8861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x1954]
mov dword [esp + 0x18], 0x23
call sub.mfc42.dll_CWnd::CWnd
lea ecx, [esi + 0x1458]
mov byte [esp + 0x18], 0x22
call fcn.0040ed10
lea ecx, [esi + 0xf5c]
mov byte [esp + 0x18], 0x21
call fcn.0040ed10
lea ecx, [esi + 0xf1c]
mov byte [esp + 0x18], 0x20
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0xedc]
mov byte [esp + 0x18], 0x1f
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0xe9c]
mov byte [esp + 0x18], 0x1e
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0xe44]
mov byte [esp + 0x18], 0x1d
call fcn.00411f30
lea ecx, [esi + 0xdfc]
mov byte [esp + 0x18], 0x1c
call fcn.00430340
lea ecx, [esi + 0xdb4]
mov byte [esp + 0x18], 0x1b
call fcn.00430340
lea ecx, [esi + 0xd6c]
mov byte [esp + 0x18], 0x1a
call fcn.00430340
lea ecx, [esi + 0xd24]
mov byte [esp + 0x18], 0x19
call fcn.00430340
lea ecx, [esi + 0xcdc]
mov byte [esp + 0x18], 0x18
call fcn.00430340
lea ecx, [esi + 0xc84]
mov byte [esp + 0x18], 0x17
call fcn.00411f30
mov byte [esp + 0x18], 0x16
lea ecx, [esi + 0xc3c]
call fcn.00430340
lea ecx, [esi + 0xbf4]
mov byte [esp + 0x18], 0x15
call fcn.00430340
lea ecx, [esi + 0xbac]
mov byte [esp + 0x18], 0x14
call fcn.00430340
lea ecx, [esi + 0xb54]
mov byte [esp + 0x18], 0x13
call fcn.00411f30
lea ecx, [esi + 0xb0c]
mov byte [esp + 0x18], 0x12
call fcn.00430340
lea ecx, [esi + 0xac4]
mov byte [esp + 0x18], 0x11
call fcn.00430340
lea ecx, [esi + 0xa7c]
mov byte [esp + 0x18], 0x10
call fcn.00430340
lea ecx, [esi + 0xa34]
mov byte [esp + 0x18], 0xf
call fcn.00430340
lea ecx, [esi + 0x9f4]
mov byte [esp + 0x18], 0xe
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0x9b4]
mov byte [esp + 0x18], 0xd
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0x974]
mov byte [esp + 0x18], 0xc
call sub.mfc42.dll_CButton::CButton
lea ecx, [esi + 0x92c]
mov byte [esp + 0x18], 0xb
call fcn.00430340
lea ecx, [esi + 0x8d4]
mov byte [esp + 0x18], 0xa
call fcn.00411f30
lea ecx, [esi + 0x88c]
mov byte [esp + 0x18], 9
call fcn.00430340
lea ecx, [esi + 0x834]
mov byte [esp + 0x18], 8
call fcn.00411f30
lea ecx, [esi + 0x7ec]
mov byte [esp + 0x18], 7
call fcn.00430340
lea ecx, [esi + 0x74c]
mov byte [esp + 0x18], 6
call fcn.0043cd70
lea ecx, [esi + 0x6ac]
mov byte [esp + 0x18], 5
call fcn.0043cd70
lea ecx, [esi + 0x60c]
mov byte [esp + 0x18], 4
call fcn.0043cd70
lea ecx, [esi + 0x56c]
mov byte [esp + 0x18], 3
call fcn.0043cd70
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 2
call fcn.0040ed10
lea edi, [esi + 0x68]
mov dword [esp + 0xc], edi
mov dword [edi], 0x4cbe50
mov ecx, edi
mov byte [esp + 0x18], 0x24
call sub.mfc42.dll_CGdiObject::DeleteObject
lea ecx, [esi + 0x60]
mov dword [edi], 0x4cbe3c
mov byte [esp + 0x18], 0
call sub.mfc42.dll_CString::CString
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call sub.mfc42.dll_CDialog::CDialog
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x438e60
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x240
mov ecx, 0x50
xor eax, eax
lea edx, [esp]
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x254]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x438e92
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xf], 0x5c
je 0x438ec6
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ax, word [0x4fbd78]
mov word [edi - 1], ax
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
mov cx, word [0x4fceec]
lea eax, [esp + 0x10]
push edx
push eax
mov word [edi - 1], cx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.kernel32.dll_FindNextFileA]
mov ebx, eax
lea ecx, [esp + 0x110]
push ecx
push ebx
call ebp
test eax, eax
je 0x438f56
mov edi, 0x4fcee8
lea esi, [esp + 0x13c]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x438ef7
mov edi, 0x4fcee4
lea esi, [esp + 0x13c]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x438ef7
mov edx, dword [0x5a7b8c]
lea ecx, [esp + 0x13c]
push ecx
lea ecx, [edx*4 + 0x5a7b90]
call sub.mfc42.dll_CString::operator
inc dword [0x5a7b8c]
jmp 0x438ef7
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x240
ret 4
Function at 0x43bd68
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c964f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.mfc42.dll_CString::CString_4
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x4ffaaa
push ecx
push 8
push 1
push 4
push esi
mov dword [esp + 0x30], 1
call sub.mfc42.dll_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.mfc42.dll_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.mfc42.dll_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4454c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c9e58
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
push ebx
mov edi, ecx
push ebp
call dword [sym.imp.kernel32.dll_SizeofResource]
push ebx
push ebp
mov esi, eax
call dword [sym.imp.kernel32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x445561
push eax
call dword [sym.imp.kernel32.dll_LockResource]
cmp eax, ebx
je 0x445586
mov ebp, sym.ConversionShow.exe_const_CxMemFile::vftable
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x38], ebx
call sym.ConversionShow.exe_public:_bool___thiscall_CxImage::Decode_class_CxFile___unsigned_long_int_
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], ebp
je 0x44555b
cmp byte [esp + 0x1c], bl
je 0x44555b
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov al, byte [esp + 0x38]
jmp 0x445588
lea edx, [edi + 0x44]
mov edi, 0x4ffbac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor al, al
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc

Function at 0x445630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c9e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, ecx
push edi
mov dword [esi], sym.ConversionShow.exe_const_CxImage::vftable
call sym.ConversionShow.exe_protected:_void___thiscall_CxImage::Startup_unsigned_long_int_
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym.ConversionShow.exe_const_CxMemFile::vftable
sete al
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x14], al
lea ecx, [esp + 8]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call sym.ConversionShow.exe_public:_bool___thiscall_CxImage::Decode_class_CxFile___unsigned_long_int_
mov eax, dword [esp + 0xc]
mov dword [esp + 8], sym.ConversionShow.exe_const_CxMemFile::vftable
test eax, eax
je 0x4456c0
mov cl, byte [esp + 0x14]
test cl, cl
je 0x4456c0
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x457090
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
cmp eax, 0x9ac6cdd7
jne 0x4570d2
mov dword [esp + 8], eax
lea ecx, [esi + 2]
mov edx, 9
xor ax, word [ecx]
add ecx, 2
dec edx
jne 0x4570aa
cmp ax, word [esi + 0x14]
jne 0x4570d2
mov si, word [esi + 0xe]
test si, si
jbe 0x4570d2
cmp si, 0x9ec
ja 0x4570d2
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x46a680
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
cmp eax, 3
push ebx
push esi
jne 0x46a6e9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov cx, word [eax + 0x118]
test cx, cx
jne 0x46a6ab
test byte [eax + 0x230], 1
jne 0x46a6c8
movzx si, byte [edx]
cmp si, cx
jbe 0x46a6c8
push 0x5024d8
push eax
call fcn.00462cb0
add esp, 8
pop esi
pop ebx
add esp, 8
ret
mov cl, byte [edx]
push 1
mov byte [esp + 0xc], cl
lea edx, [esp + 0xc]
push edx
push 0x4d15e4
push eax
call fcn.004694b0
add esp, 0x10
pop esi
pop ebx
add esp, 8
ret
test al, 2
je 0x46a761
mov esi, dword [esp + 0x18]
xor eax, eax
lea ecx, [esp + 8]
mov ax, word [esi + 2]
push eax
push ecx
call fcn.00469490
xor edx, edx
lea eax, [esp + 0x12]
mov dx, word [esi + 4]
push edx
push eax
call fcn.00469490
xor ecx, ecx
lea edx, [esp + 0x1c]
mov cx, word [esi + 6]
push ecx
push edx
call fcn.00469490
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp byte [eax + 0x127], 8
jne 0x46a75a
mov cl, byte [esp + 0xc]
mov bl, byte [esp + 0xa]
mov dl, byte [esp + 8]
or cl, bl
or cl, dl
je 0x46a75a
push 0x502498
push eax
call fcn.00462cb0
add esp, 8
pop esi
pop ebx
add esp, 8
ret
push 6
jmp 0x46a6d0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
xor eax, eax
mov edx, 1
mov ax, word [ecx + 8]
mov cl, byte [esi + 0x127]
shl edx, cl
cmp eax, edx
jl 0x46a794
push 0x502458
push esi
call fcn.00462cb0
add esp, 8
pop esi
pop ebx
add esp, 8
ret
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00469490
lea ecx, [esp + 0x10]
push 2
push ecx
push 0x4d15e4
push esi
call fcn.004694b0
add esp, 0x18
pop esi
pop ebx
add esp, 8
ret

Function at 0x46ce50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x46ce80
push esi
call fcn.00470e90
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x46ce79
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x46cf03
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x46ceef
mov eax, dword [esi + 8]
test eax, eax
je 0x46cea4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46ceeb
cmp eax, 2
je 0x46ceef
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46ce97
cmp eax, 3
je 0x46ceca
cmp eax, 1
jne 0x46ce97
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46ce97
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46ce97
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0046cf30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46cf23
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0046cf30
add esp, 4
pop esi
ret
Function at 0x46d7b0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x46d86a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x46d86a
cmp byte [eax + 1], 0x64
jne 0x46d86a
cmp byte [eax + 2], 0x6f
jne 0x46d86a
cmp byte [eax + 3], 0x62
jne 0x46d86a
cmp byte [eax + 4], 0x65
jne 0x46d86a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x108], 1
mov byte [esi + 0x109], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x46ff20
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.00471d80
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.00471d30
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x46ff64
push edi
call fcn.00401420
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
call dword [edx]
add esp, 8
mov dword [esi], fcn.00470060
mov dword [esi + 4], fcn.004701b0
mov dword [esi + 8], fcn.00470260
mov dword [esi + 0xc], fcn.00470310
mov dword [esi + 0x10], 0x4703c0
mov dword [esi + 0x14], 0x470430
mov dword [esi + 0x18], 0x4704a0
mov dword [esi + 0x1c], 0x470620
mov dword [esi + 0x20], 0x470810
mov dword [esi + 0x24], fcn.00470a00
mov dword [esi + 0x28], 0x470b00
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [esp + 0xc]
mov ecx, 2
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x40]
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x46ffc6
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push 0x50396c
mov dword [edi + 4], esi
call dword [sym.imp.msvcrt.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x470058
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x503964
push eax
mov byte [esp + 0x24], 0x78
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x470058
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x470021
cmp al, 0x4d
jne 0x470045
mov eax, dword [esp + 0xc]
pop edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47f810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x47f81b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x47f91e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4d2230]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4d2230]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4d2230]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4d2230]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4d2230]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4d2230]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4d2230]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4d2230]
xor eax, edx
inc ecx
dec edi
jne 0x47f836
pop edi
test esi, esi
je 0x47f940
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4d2230]
xor eax, edx
inc ecx
dec esi
jne 0x47f922
pop esi
pop ebx
not eax
ret