joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461044
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 0x4611ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4611d0
mov dl, 1
mov eax, dword [0x41717c]
call fcn.00403a24
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4611bf
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.00453a74
test al, al
je 0x4611b2
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, 0x461200
lea eax, [ebp - 0x254]
call fcn.00409b00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4611b2
xor eax, eax
push ebp
push 0x4611ab
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 0x461238
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461194
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b30
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 0x461194
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4611b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4610b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b9f4
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 0x4611f6
lea eax, [ebp - 0x260]
call fcn.004048c0
ret

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

Disassembly:
push ecx
mov eax, dword [0x570588]
cmp byte [eax + 0xad], 0
jne 0x461bd9
cmp dword [0x5705a0], 0
jne 0x461b9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461b24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5705a0], eax
cmp dword [0x57059c], 0
jne 0x461bb5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x57059c], eax
cmp dword [0x5705a4], 0
jne 0x461bd9
push esp
push 0
push 0
push 0x461ac8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5705a4], eax
pop edx
ret
Function at 0x461dac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461dc3
add esp, 0xfffffff0
call fcn.00403db8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421fa4
mov eax, dword [0x56cc98]
cmp word [eax + 2], 0
jne 0x461deb
mov eax, dword [0x56cc98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463874
mov eax, dword [0x56cd7c]
cmp word [eax + 2], 0
jne 0x461e05
mov eax, dword [0x56cd7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463a80
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416b10]
call fcn.00403a24
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416b10]
call fcn.00403a24
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416b10]
call fcn.00403a24
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4268bc]
call fcn.0042e368
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x461fbc
mov eax, dword [0x56cb94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e73c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464140
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x56cb94]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d324
test eax, eax
je 0x461f0c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409478
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d358
test eax, eax
je 0x461f20
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b30
mov byte [ebx + 0xd4], 0
push ebx
push 0x4633bc
call fcn.00423120
mov dword [ebx + 0xc8], eax
mov eax, dword [0x56ca34]
cmp byte [eax], 0
jne 0x461f71
mov eax, ebx
call fcn.00462100
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046431c
mov eax, ebx
call fcn.00464e7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461fb1
call fcn.00403e10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462380
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x570588]
cmp dword [eax + 0x30], 0
je 0x46242a
cmp dword [ebx + 0x94], 0
jne 0x462424
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462310
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462424
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 0x4623ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462424
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.00419434
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4623f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463144
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x463179
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.004049b0
jmp 0x463186
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404914
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464500
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46456e
mov eax, esi
call fcn.0044e6a8
test al, al
je 0x46456e
mov eax, dword [ebx + 0x84]
call fcn.0044e308
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46456e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x464562
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044e308
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00446728
jmp 0x46456e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046433c
pop esi
pop ebx
ret
Function at 0x47daa4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47dc97
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x47dc7e
mov eax, dword [edi + 0x30]
test eax, eax
je 0x47dae2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47db02
mov eax, dword [edi + 0x34]
test eax, eax
je 0x47daf2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47db02
mov eax, edi
call fcn.0047dd38
jmp 0x47dc7e
cmp dword [edi + 0xa0], 0
jne 0x47db39
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00409510
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x570618]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x47db70
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00409510
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x570618]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0047dd78
mov ebx, eax
test bl, bl
jne 0x47dc33
mov eax, dword [edi + 0x30]
test eax, eax
je 0x47db99
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47dbb3
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x47dbac
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x47dbb5
xor eax, eax
test al, al
jne 0x47dc33
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x47dbc8
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x47dbdf
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00409510
jmp 0x47dc0b
push dword [edi + 0x30]
push 0x47dcb4
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404c44
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409510
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x47dc33
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0047dd78
mov ebx, eax
test bl, bl
jne 0x47dc40
mov eax, edi
call fcn.0047dd38
jmp 0x47dc7e
mov eax, dword [edi + 0x58]
test eax, eax
je 0x47dc4f
mov dword [edi + 0xa8], eax
jmp 0x47dc59
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.0047ddf0
test al, al
je 0x47dc7e
mov eax, edi
mov si, 0xffee
call fcn.00403c50
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.0047dea0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc9e
lea eax, [ebp - 0x108]
call fcn.004048c0
ret
Function at 0x482020
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48204e
mov eax, ebx
call fcn.00482ad4
cmp dword [ebx + 0x40], 0
je 0x482047
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4820bf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4820b1
cmp dword [ebx + 8], 0
je 0x482070
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 0x482082
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4820b1
cmp dword [ebx + 8], 0
je 0x482063
cmp eax, 3
je 0x482095
dec eax
jne 0x482063
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 0x482063
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x482063
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4820dd
cmp dword [ebx + 0x14], 0xcc
je 0x4820dd
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.004820e8
pop ebx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2bd0113d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2d9e72b4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4013d1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x7a578c], 1
mov dword [0x7a5790], 1
mov dword [0x7a5794], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401412
mov eax, 0
jmp 0x4014ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401435
mov eax, 0
jmp 0x4014ac
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401457
cmp eax, 0x20b
je 0x40147c
jmp 0x4014a7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401469
mov eax, 0
jmp 0x4014ac
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014ac
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401494
mov eax, 0
jmp 0x4014ac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014ac
mov eax, 0
leave
ret

Function at 0x6cf260
Capabilities:
Query environment variable

Disassembly:
push esi
push ebx
push eax
mov eax, 0x10040
call fcn.007504e8
xor edx, edx
xor ecx, ecx
sub esp, eax
mov eax, dword [esp + eax]
lea ebx, [esp + 0x18]
lea esi, [esp + 0x40]
mov dword [esp + 8], 0x14
mov dword [esp + 4], eax
mov dword [esp], ebx
mov word [esp + 0x40], dx
mov word [esp + 0x18], cx
call fcn.006eb840
mov dword [esp + 8], 0x10000
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
sub esp, 0xc
cmp eax, 0xffff
ja 0x6cf2cf
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add esp, 0x10044
pop ebx
pop esi
ret
xor eax, eax
jmp 0x6cf2c6

Function at 0x6cf2e0
Capabilities:
Set environment variable

Disassembly:
push esi
push ebx
mov ebx, edx
xor edx, edx
sub esp, 0x44
lea esi, [esp + 0x18]
mov dword [esp + 8], 0x14
mov dword [esp], esi
mov dword [esp + 4], eax
mov word [esp + 0x18], dx
call fcn.006eb840
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
sub esp, 8
add esp, 0x44
pop ebx
pop esi
ret
Function at 0x6cf390
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, eax
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x4c
call fcn.006e67a0
mov dword [esp + 4], str.environ
mov dword [esp], eax
call dword [sym.imp.python37.dll_PyObject_GetAttrString]
mov dword [esp], ebp
mov ebx, eax
call dword [sym.imp.python37.dll_PyUnicode_FromString]
mov esi, eax
test edi, edi
je 0x6cf42e
mov edx, edi
mov eax, ebp
call fcn.006cf2e0
mov dword [esp], edi
mov dword [esp + 4], 0xffffffff
call sub.python37.dll_PyUnicode_FromWideChar
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov edi, eax
mov dword [esp], ebx
call dword [sym.imp.python37.dll_PyObject_SetItem]
test eax, eax
jne 0x6cf478
sub dword [edi], 1
je 0x6cf423
sub dword [esi], 1
je 0x6cf418
sub dword [ebx], 1
je 0x6cf40d
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [esp], ebx
call dword [eax + 0x18]
jmp 0x6cf405
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
jmp 0x6cf400
mov eax, dword [edi + 4]
mov dword [esp], edi
call dword [eax + 0x18]
jmp 0x6cf3fb
lea edi, [esp + 0x18]
mov dword [esp + 8], 0x14
mov dword [esp + 4], ebp
mov dword [esp], edi
mov word [esp + 0x18], 0
call fcn.006eb840
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push eax
push eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.python37.dll_PyObject_DelItem]
test eax, eax
je 0x6cf3fb
call fcn.006cf320
jmp 0x6cf3fb
mov dword [esp], 1
call dword [sym.imp.python37.dll_PyErr_PrintEx]
mov dword [esp], 1
call dword [sym.imp.python37.dll_Py_Exit]
lea esi, [esi]
lea esi, [esi]
Function at 0x74dde0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
cmp byte [0x7a4e95], 0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
je 0x74de60
mov dword [esp + 4], 0x76558a
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x74df78
mov ebp, dword [0x7a4dfc]
jmp 0x74de24
lea ebp, [edx + eax + 4]
mov dword [esp + 4], ebp
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
mov dword [esp], ebp
mov ebx, eax
call sub.msvcrt.dll_strlen
lea edx, [ebp + eax + 1]
mov eax, dword [edx]
test ebx, ebx
jne 0x74de20
movzx ecx, word [edx + 4]
add esp, 0x1c
mov eax, edi
add edx, 6
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0073bb90
mov dword [esp + 8], 0xa
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
mov dword [0x7a4dfc], eax
sub esp, 4
mov ebp, dword [eax]
mov dword [0x7a4dfc], ecx
test edx, edx
je 0x74df5e
lea ebx, [eax + edx + 8]
mov edx, 0xffffffff
lea esi, [esi]
movzx eax, byte [ecx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add ecx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
cmp ebx, ecx
jne 0x74dec8
not edx
cmp ebp, edx
jne 0x74dff3
mov byte [0x7a4e95], 1
jmp 0x74ddf8
cmp byte [0x7a4e94], 0
jne 0x74de10
mov ebx, dword [sym.imp.python37.dll_PyDict_New]
call ebx
mov dword [0x7a55c8], eax
call ebx
mov dword [0x7a55c4], eax
call ebx
mov dword [0x7a55c0], eax
call ebx
mov dword [0x7a55bc], eax
call ebx
mov dword [0x7a55b8], eax
call ebx
mov dword [0x7a55b4], eax
call ebx
mov dword [0x7a55b0], eax
call ebx
mov ebp, dword [sym.imp.python37.dll_PyLong_FromLong]
mov ebx, 0xfffffffb
mov dword [0x7a55ac], eax
nop
mov dword [esp], ebx
call ebp
mov dword [ebx*4 + 0x7a49f4], eax
add ebx, 1
cmp ebx, 0x101
jne 0x74dfd0
mov byte [0x7a4e94], 1
jmp 0x74de10
mov dword [esp], str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
lea esi, [esi]
lea esi, [esi]
nop
Function at 0x74f538
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.0075640c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.0075640c
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x75010c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x75012b
mov eax, 0
jmp 0x75016f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x75014e
mov eax, 0
jmp 0x75016f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x75016a
mov eax, 0
jmp 0x75016f
mov eax, 1
leave
ret

Function at 0x750171
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x7501d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x7501c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x7501c8
mov eax, dword [ebp - 4]
jmp 0x7501e4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x7501a5
mov eax, 0
leave
ret
Function at 0x10002cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esp, 0xfffdefe8
inc dword [esi + 0xfd614af]
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.10002ae5
inc ebx
xchg edi, esi
das
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x10002d3f
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10002d39
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10002d2a
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
inc ebp
mov al, 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], pe_nt_image_headers32
mov byte [ebp - 0x47], 0xa7
call fcn.10002ae5
imul ebx, dword [edx + 2], 0xffffffcc
lea eax, [ebp - 0x58]
push eax
call fcn.10002af5
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10002aaa
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10002dd3
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10002ae5
pop es
sub ebx, dword [esi - 0x3fba722c]
push eax
call fcn.10002af5
push eax
push esi
push dword [ebp + 8]
invalid
invalid

Function at 0x10002f9c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10002ae5
dec edx
xchg ebx, eax
ret 0x8d0c