joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x420354]
sub esp, 0x108
test eax, eax
push ebp
push esi
push edi
mov esi, ecx
je 0x40653e
mov edi, dword [esp + 0x118]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push pe_nt_image_headers32
push ecx
push edi
call ebp
test eax, eax
je 0x406511
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x406524
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x40653e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x406535
mov edx, dword [esi]
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call dword [edx + 8]
mov eax, dword [0x420354]
test eax, eax
jne 0x4064f1
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x108
ret 4

Function at 0x4127d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWARE_aheadNero___Burning_RomInfo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 4]
test eax, eax
je 0x412827
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
push edx
push ecx
push esi
push str.Serial5
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41281c
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x4191cc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4191fa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x419218
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00419132
jmp 0x419218
mov eax, dword [esi + 0x14]
test eax, eax
je 0x419218
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00419132
test edi, edi
mov eax, edi
jne 0x419202
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c040]
jne 0x40100a
repz ret
jmp fcn.004014d9

Function at 0x4057bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401651
and dword [ebp - 4], 0
cmp dword [0x40d68c], 0
mov ebx, eax
jne 0x40586c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40591d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40591d
push eax
call fcn.004015df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40d68c], eax
call esi
push eax
call fcn.004015df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40d690], eax
call esi
push eax
call fcn.004015df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40d694], eax
call esi
push eax
call fcn.004015df
pop ecx
mov dword [0x40d69c], eax
test eax, eax
je 0x40586c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004015df
pop ecx
mov dword [0x40d698], eax
mov eax, dword [0x40d698]
cmp eax, ebx
je 0x4058c4
cmp dword [0x40d69c], ebx
je 0x4058c4
push eax
call fcn.0040165a
push dword [0x40d69c]
mov esi, eax
call fcn.0040165a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4058c4
test edi, edi
je 0x4058c4
call esi
test eax, eax
je 0x4058bb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4058bb
test byte [ebp - 0xc], 1
jne 0x4058c4
or dword [ebp + 0x10], 0x200000
jmp 0x4058fd
mov eax, dword [0x40d690]
cmp eax, ebx
je 0x4058fd
push eax
call fcn.0040165a
pop ecx
test eax, eax
je 0x4058fd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4058fd
mov eax, dword [0x40d694]
cmp eax, ebx
je 0x4058fd
push eax
call fcn.0040165a
pop ecx
test eax, eax
je 0x4058fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40d68c]
call fcn.0040165a
pop ecx
test eax, eax
je 0x40591d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40591f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0x407fd0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x65
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 8], 0x40cce4
mov dword [ebp - 4], 0x40cce4
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x408d75
push 0x10
push 0x40cce4
push str.Register_Window_Class_Fail_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x408df3
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0x2bc
push 0x3e8
push 0xa
push 0xa
push 0xca0000
push str.______Project44
push 0x40cce4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x40d7a4], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x40d7a4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x40d7a4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x408df0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x408dc6
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10012cdc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10012d79
push ebx
push esi
call fcn.10012ca5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10012bee
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10012d26
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012d78
push edi
push eax
call fcn.10010427
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10012d46
call fcn.1000f577
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012d77
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10012bee
add esp, 0x20
test eax, eax
jne 0x10012d65
push edi
call fcn.1000f577
jmp 0x10012d6d
push ebx
call fcn.1000f577
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012fe4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ef88
push 0x1001ef80
push str.FlsAlloc
push 0x1e
call fcn.10012f02
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013018
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c158]
call esi
jmp 0x1001301e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10013062
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ef98
push 0x1001ef90
push str.FlsGetValue
push 0x20
call fcn.10012f02
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013099
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10014fc6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10014e37

Function at 0x1001850b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10024fa8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001854b
cmp byte [ebx], 0xa
jne 0x1001854b
or byte [eax + edi + 0x28], 4
jmp 0x10018550
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1001864e
mov al, byte [edx]
cmp al, 0x1a
je 0x10018630
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1001857f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100185a4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100185ae
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10018561
jmp 0x1001864e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001862b
cmp dword [ebp - 0xc], 0
je 0x1001862b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10024fa8]
test byte [eax + edi + 0x28], 0x48
je 0x10018605
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100185f0
mov byte [esi], dl
jmp 0x10018601
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10024fa8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1001864e
cmp byte [ebp - 1], 0xa
jne 0x10018614
cmp esi, ebx
jne 0x10018614
mov byte [esi], 0xa
jmp 0x1001864d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1001847b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1001864e
mov byte [esi], 0xd
jmp 0x1001864d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10024fa8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1001864a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1001864e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10018657
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10024fa8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001869a
cmp word [esi], dx
jne 0x1001869a
or byte [edi + eax + 0x28], 4
jmp 0x1001869f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100187f2
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100187d2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100186e1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10018717
cmp eax, edx
jae 0x10018723
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100186b9
jmp 0x100187f2
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100187ce
cmp dword [ebp - 0x14], 0
je 0x100187ce
mov eax, dword [ebx*4 + 0x10024fa8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100187a6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1001876f
mov word [esi], cx
jmp 0x100187a2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10024fa8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10024fa8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10024fa8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100187f2
pop ebx
cmp word [ebp - 4], bx
jne 0x100187b7
cmp esi, dword [ebp + 0xc]
jne 0x100187b7
mov word [esi], bx
jmp 0x100187ef
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1001847b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100187f2
push 0xd
jmp 0x100187eb
mov ecx, dword [ebx*4 + 0x10024fa8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100187e9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100187f2
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10019071
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10018fed
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100191e9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100191e9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10019198
jg 0x100190ca
test eax, eax
je 0x1001918e
push 1
push 0x1000
call fcn.100117b4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100190f0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10019185
push 0x8000
push ebx
call fcn.10018f1e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001911c
jg 0x10019117
cmp ecx, 0x1000
jb 0x1001911c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10014c37
add esp, 0x10
cmp eax, 0xffffffff
je 0x10019161
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10019117
jl 0x10019148
test ecx, ecx
jne 0x10019109
push dword [ebp - 0xc]
push ebx
call fcn.10018f1e
push esi
call fcn.1000f577
add esp, 0xc
xor edi, edi
jmp 0x100191fa
cmp byte [edi + 0x24], 0
je 0x10019178
cmp dword [edi + 0x20], 5
jne 0x10019178
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10019183
mov edi, dword [edi + 0x18]
jmp 0x10019185
xor edi, edi
push esi
call fcn.1000f577
pop ecx
jmp 0x100191fa
test ecx, ecx
jg 0x1001915a
jl 0x10019198
test eax, eax
jae 0x1001915a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001847b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100191bb
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1001915a
jmp 0x100191f2
push ebx
call fcn.100141c1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001915a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100191fa
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100191f7
mov edi, dword [edi + 0x18]
jmp 0x100191fa
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1001847b
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001b750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b77d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b77d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4013d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
cmp ax, bx
jg 0x401460
test ax, ax
jl 0x401460
test bx, bx
jl 0x401460
jne 0x401400
push 0x40a054
call fcn.00403f52
add esp, 4
push edi
call fcn.00403e7d
test ax, ax
jne 0x40140d
xor edi, edi
mov ax, di
pop edi
pop ebx
ret
cmp ax, bx
jne 0x40141d
mov edi, 0x7fff
mov ax, di
pop edi
pop ebx
ret
push ebp
push esi
push eax
call fcn.00401380
push ebx
mov esi, eax
call fcn.00401380
add esp, 8
mov ebx, eax
mov ebp, 0xf
shl esi, 1
shl edi, 1
cmp esi, ebx
jl 0x401455
push ebx
push esi
call fcn.00401290
push 1
push edi
mov esi, eax
call fcn.00401050
add esp, 0x10
mov edi, eax
dec ebp
jne 0x401437
pop esi
pop ebp
mov ax, di
pop edi
pop ebx
ret
movsx ecx, bx
movsx edx, ax
push ecx
push edx
push 0x40a030
call fcn.00403f52
add esp, 0xc
push 0
call fcn.00403e7d
nop
nop
nop
nop
Function at 0x402280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push 1
lea eax, [esp + 0x10]
push 4
push eax
mov dword [esp + 0x18], 0x46464952
call fcn.00403f83
mov edi, dword [esp + 0x20]
push edi
call fcn.00404234
push 2
push 0
push edi
mov dword [esp + 0x34], eax
call fcn.004041a8
push edi
call fcn.00404234
push 0
push 0
push edi
mov dword [esp + 0x44], eax
call fcn.004041a8
mov eax, 0xba2e8ba3
push esi
mul dword [esp + 0x48]
shr edx, 3
push 1
push 4
lea ecx, [edx + edx*4]
lea edx, [esp + 0x50]
shl ecx, 6
add ecx, 0x24
push edx
mov dword [esp + 0x54], ecx
call fcn.00403f83
add esp, 0x40
lea eax, [esp + 8]
mov dword [esp + 8], 0x45564157
push esi
push 1
push 4
push eax
call fcn.00403f83
push esi
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
mov dword [esp + 0x28], 0x20746d66
call fcn.00403f83
push esi
push 1
lea edx, [esp + 0x30]
push 4
push edx
mov dword [esp + 0x38], 0x10
call fcn.00403f83
push esi
push 1
lea eax, [esp + 0x40]
push 4
push eax
mov dword [esp + 0x48], 0x10001
call fcn.00403f83
add esp, 0x40
lea ecx, [esp + 8]
mov dword [esp + 8], 0x1f40
push esi
push 1
push 4
push ecx
call fcn.00403f83
push esi
push 1
lea edx, [esp + 0x20]
push 4
mov dword [esp + 0x24], 0x3e80
push edx
call fcn.00403f83
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
mov dword [esp + 0x38], 0x100002
call fcn.00403f83
push esi
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
mov dword [esp + 0x48], 0x61746164
call fcn.00403f83
mov eax, dword [esp + 0x54]
add esp, 0x40
lea edx, [esp + 0x14]
sub eax, 0x24
push esi
push 1
push 4
push edx
mov dword [esp + 0x24], eax
call fcn.00403f83
add esp, 0x10
pop edi
pop esi
pop ecx
ret
Function at 0x406445
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40bf78
cmp edx, dword [eax]
je 0x406467
add eax, 8
inc ecx
cmp eax, 0x40c008
jl 0x406458
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40bf78]
jne 0x406595
mov eax, dword [0x40cc2c]
cmp eax, 1
je 0x40656f
test eax, eax
jne 0x406498
cmp dword [0x40bc40], 1
je 0x40656f
cmp edx, 0xfc
je 0x406595
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4064cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406ea0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406640
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406512
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406640
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x409404
push edi
call fcn.00407c50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406ea0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406eb0
lea eax, [ebp - 0xa0]
push 0x4093e4
push eax
call fcn.00406eb0
push dword [esi + 0x40bf7c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406eb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407bb9
add esp, 0x2c
pop edi
jmp 0x406595
lea eax, [ebp + 8]
lea esi, [esi + 0x40bf7c]
push 0
push eax
push dword [esi]
call fcn.00406640
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
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
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x666b5696
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x28574fdf
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405044], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x405228
push 0x405290
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40114b
xor eax, eax
jmp 0x401166
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40c590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x416098]
mov edi, dword [ebp + 8]
push edi
call dword [0x4162b4]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004040a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x40c65b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x4162b8]
test eax, eax
je 0x40c65b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x40c60e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x40c619
or bh, 8
and edi, 0x8000000
je 0x40c634
mov eax, dword [0x41fc1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x416024]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [0x416274]
test edi, edi
je 0x40c65b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x416024]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret