joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450782
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x494]
xor ebx, ebx
cmp eax, ebx
mov byte [esi + 0x50], 1
mov byte [esi + 0x4ad], bl
mov byte [esi + 0x4ac], bl
je 0x4508ad
cmp byte [eax], bl
je 0x4508ad
push 0x10
call fcn.0044e80b
cmp eax, ebx
pop ecx
je 0x4507d0
mov dword [eax], 0x45a5d8
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x4507d2
xor eax, eax
cmp eax, ebx
mov dword [esi + 0x240], eax
je 0x4508ad
push ebx
push ebx
push dword [esi + 0x494]
mov ecx, esi
call fcn.004481e0
cmp eax, 1
jne 0x4508ad
push ebx
push ebx
push ebx
push 0x67
mov ecx, esi
call fcn.0044b395
test eax, eax
je 0x4508ad
push ebx
push ebx
push dword [esi]
mov ecx, esi
call fcn.0044deb1
test eax, eax
je 0x4508ad
push dword [0x467c84]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
inc dword [esi + 0x4c]
push ebx
push ebx
push ebx
push 0x67
mov ecx, esi
call fcn.0044b395
test eax, eax
je 0x4508ad
push ebx
push ebx
push ebx
push 0x67
mov ecx, esi
call fcn.0044b395
test eax, eax
je 0x4508ad
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x240]
push ebx
push ebx
push ebx
push ebx
mov dword [eax + 4], ecx
push ebx
push dword [esi]
mov ecx, esi
call fcn.0044e24c
test eax, eax
je 0x4508ad
push ebx
push ebx
push ebx
push 0x45d6f8
mov ecx, esi
call fcn.0040c0f7
cmp eax, ebx
mov dword [0x467b78], eax
je 0x4508ad
push 1
push ebx
push 0xffffffffffffffff
push 0x45a734
mov ecx, eax
call fcn.0040184e
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
push dword [ebp - 8]
call fcn.00415fbd
mov eax, dword [esi + 8]
pop ecx
jmp 0x4508b0
or eax, 0xffffffff
pop esi
pop ebx
leave
ret

Function at 0x450aba
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00415fbd
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x450ae4
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00415edb
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x450ace
pop esi
pop edi
ret 0xc

Function at 0x450f56
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x450f7f
add edx, edx
xor edx, 0x4c11db7
jmp 0x450f81
shl edx, 1
dec ecx
jne 0x450f6d
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x450f65
pop edi
pop esi
ret
Function at 0x452334
Capabilities:
Parse credit card information

Disassembly:
jmp 0x452397
cmp ecx, 0x4f
jne 0x452345
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x452395
cmp ecx, 0x5e
jne 0x452361
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 4]
je 0x4523a0
movzx ecx, byte [0x461616]
jmp 0x452395
cmp ecx, 0x38
jl 0x45238e
cmp ecx, 0x3d
jle 0x45237f
cmp ecx, 0x40
jle 0x45237a
cmp ecx, 0x43
jle 0x45237f
cmp ecx, 0x44
jne 0x45238e
mov dl, byte [eax + 3]
jmp 0x452382
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x45238c
cmp dl, 0xe
jne 0x45238e
inc eax
inc eax
movzx ecx, byte [ecx + 0x4615b8]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x452336
xor eax, eax
ret
Function at 0x457be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x46b4e4], esi
push edi
jne 0x457c00
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x46b4e0], esi
mov byte [0x46b4dc], al
jne 0x457c66
mov ecx, dword [0x46ba90]
test ecx, ecx
je 0x457c47
mov eax, dword [0x46ba8c]
sub eax, 4
cmp eax, ecx
jmp 0x457c40
mov eax, dword [eax]
test eax, eax
je 0x457c32
call eax
mov eax, dword [0x46ba8c]
sub eax, 4
cmp eax, dword [0x46ba90]
mov dword [0x46ba8c], eax
jae 0x457c2a
mov eax, 0x465040
mov esi, 0x465048
cmp eax, esi
mov edi, eax
jae 0x457c66
mov eax, dword [edi]
test eax, eax
je 0x457c5f
call eax
add edi, 4
cmp edi, esi
jb 0x457c57
mov eax, 0x46504c
mov esi, 0x465050
cmp eax, esi
mov edi, eax
jae 0x457c85
mov eax, dword [edi]
test eax, eax
je 0x457c7e
call eax
add edi, 4
cmp edi, esi
jb 0x457c76
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x457c9f
push dword [ebp + 8]
mov dword [0x46b4e4], 1
call fcn.0043e033
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x9b4186
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x76440d2b
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10001178
Capabilities:
Delete registry value
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x10018060]
xor eax, ebp
mov dword [ebp + 0x78c], eax
push ebx
xor ebx, ebx
cmp dword [0x10019fcc], ebx
je 0x10001248
lea eax, [ebp - 0x78]
push eax
push str.SoftwareAppDataLowAWGAMECONFIG
push 0x80000001
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10001248
push 0x7ff
lea eax, [ebp - 0x73]
push ebx
push eax
mov dword [ebp - 0x7c], 0x800
mov dword [ebp - 0x80], 1
mov byte [ebp - 0x74], bl
call fcn.100048b0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.mwfffp
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000123f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
lea eax, [ebp - 0x74]
push eax
xor edi, edi
call esi
test eax, eax
jle 0x10001227
xor byte [ebp + edi - 0x74], 0x5f
lea eax, [ebp - 0x74]
push eax
inc edi
call esi
cmp edi, eax
jl 0x10001217
lea edi, [ebp - 0x74]
call fcn.100016a8
push str.mwfffp
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x78c]
xor eax, eax
xor ecx, ebp
inc eax
pop ebx
call fcn.100047c5
add ebp, 0x790
leave
ret

Function at 0x1000164b
Capabilities:
Terminate thread

Disassembly:
push 4
mov eax, 0x100120aa
call fcn.10005942
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.GameComponent.0
mov dword [esi + 4], vtable.GameComponent.1.0
mov dword [ebp - 4], 1
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10001689
push eax
call fcn.100047ba
pop ecx
mov byte [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
call fcn.1000162b
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.1000154b
call fcn.100059e1
ret
Function at 0x100016a8
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x10018060]
xor eax, ebp
mov dword [ebp + 0xdc], eax
push ebx
push esi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.100048b0
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.100048b0
push 0x103
lea eax, [ebp - 0x27]
push ebx
push eax
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x28], bl
call fcn.100048b0
add esp, 0x24
push 0x104
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x28]
push eax
call fcn.10004930
push edi
mov esi, eax
call fcn.10004930
lea esi, [esi + eax + 0x40]
push esi
call fcn.100046d3
push edi
lea ecx, [ebp - 0x28]
push ecx
push str._s___s_
push esi
push eax
mov dword [ebp - 0x2c], eax
call fcn.100049bb
add esp, 0x20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp + 0xdc]
dec eax
neg eax
sbb al, al
pop esi
xor ecx, ebp
inc al
pop ebx
call fcn.100047c5
add ebp, 0xe0
leave
ret

Function at 0x10001862
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x1000189c
push edi
push edi
lea eax, [esi - 4]
push eax
push 0x10001776
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop edi
xor eax, eax
pop esi
leave
ret 8

Function at 0x10001bc5
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc0
mov eax, dword [0x10018060]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x7f
lea eax, [ebp - 0xb]
push 0
push eax
mov byte [ebp - 0xc], 0
call fcn.100048b0
push 0x3c
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.100048b0
lea eax, [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0x10000000
push edi
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], 0x80
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push str.http
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ecx, dword [ebp + 0x74]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.100047c5
add ebp, 0x78
leave
ret
Function at 0x10002f42
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1ac
mov eax, dword [0x10018060]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
xor ebx, ebx
push 0x63
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0xd]
push ebx
push eax
mov byte [ebp + 0xc], bl
call fcn.100048b0
add esp, 0xc
push 0x64
pop edi
mov dword [ebp - 0x134], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x63
lea eax, [ebp - 0x57]
push ebx
push eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 1
mov byte [ebp - 0x58], bl
call fcn.100048b0
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push str.HARDWAREDESCRIPTIONSystemBIOS
push 0x80000002
mov dword [ebp - 0x128], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.BaseBoardProduct
push dword [ebp - 0x124]
call esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x63
lea eax, [ebp - 0xbb]
push ebx
push eax
mov byte [ebp - 0xbc], bl
call fcn.100048b0
push 0x63
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.100048b0
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.Identifier
push dword [ebp - 0x124]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
call esi
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.ProcessorNameString
push dword [ebp - 0x124]
call esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push 0x1001528c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x130]
push str._x_s_s_s_s
push 0x200
push dword [ebp - 0x138]
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov ecx, dword [ebp + 0x70]
add esp, 0x20
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100047c5
add ebp, 0x74
leave
ret

Function at 0x10003338
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [eax]
test eax, eax
je 0x10003347
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret
Function at 0x100035b8
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x1001a058]
push esi
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x100035cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x10003390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
mov dword [esi], eax
setne cl
mov al, cl
pop esi
ret

Function at 0x100035f1
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1001a058]
mov eax, dword [eax]
test eax, eax
je 0x10003605
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret

Function at 0x10003a65
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.318B0F3B_0E7C_45ab_B415_C4DCF41AF4D8
push dword [eax]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003ab9
cmp dword [ebp + 8], 1
je 0x10003aa0
cmp dword [ebp + 8], 2
je 0x10003aa0
push 0xd
pop eax
jmp 0x10003ab9
test esi, esi
je 0x10003ab7
mov eax, dword [ebp - 4]
test eax, eax
je 0x10003ab4
cmp byte [eax + esi - 1], 0
je 0x10003ab7
jmp 0x10003a9b
mov byte [esi], 0
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
leave
ret 4

Function at 0x10003ac6
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 8], 0
jne 0x10003ad2
push 0xd
pop eax
jmp 0x10003af7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push 1
push 0
push str.318B0F3B_0E7C_45ab_B415_C4DCF41AF4D8
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
ret 8

Function at 0x10003b3e
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push 3
push 0
push dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret 0xc
Function at 0x10003ff6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x10018060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 0x830], ebx
mov byte [ebp - 0x819], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
mov dword [ebp - 0x834], eax
call fcn.10003fef
xor edi, edi
pop ecx
mov dword [ebp - 0x828], eax
cmp eax, edi
jne 0x1000409d
push ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x77
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x6d
mov byte [ebp - 6], 0
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x100041a1
push esi
push 0x7ff
lea eax, [ebp - 0x817]
push edi
push eax
mov byte [ebp - 0x818], 0
call fcn.100048b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
push dword [ebp - 0x828]
call esi
and dword [ebp - 0x820], edi
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0x820]
mov al, byte [ecx + eax]
cmp al, 0x7c
je 0x10004107
mov ecx, dword [ebp - 0x82c]
cmp dword [ebp - 0x820], ecx
je 0x10004107
cmp edi, 0x800
jae 0x10004165
mov byte [ebp + edi - 0x818], al
inc edi
jmp 0x10004165
push ebx
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
sbb al, al
inc al
jne 0x1000417f
lea eax, [ebp - 0x818]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov edi, eax
push ebx
sub edi, ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x818]
push eax
sub ebx, edi
call esi
cmp ebx, eax
sete al
test al, al
jne 0x1000417f
push 0x800
xor edi, edi
lea eax, [ebp - 0x818]
push edi
push eax
call fcn.100048b0
mov ebx, dword [ebp - 0x830]
add esp, 0xc
inc dword [ebp - 0x820]
mov eax, dword [ebp - 0x820]
cmp eax, dword [ebp - 0x82c]
jbe 0x100040d4
jmp 0x10004186
mov byte [ebp - 0x819], 1
push dword [ebp - 0x828]
push 0
push dword [ebp - 0x834]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 0x819]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100047c5
leave
ret

Function at 0x100047c5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10018060]
jne 0x100047cf
repz ret
jmp fcn.10005a92
Function at 0x1000dd97
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.10006b18
and dword [ebp - 4], 0
cmp dword [0x10019ed8], 0
mov ebx, eax
jne 0x1000de48
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000def9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000def9
push eax
call fcn.10006aa6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10019ed8], eax
call esi
push eax
call fcn.10006aa6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10019edc], eax
call esi
push eax
call fcn.10006aa6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10019ee0], eax
call esi
push eax
call fcn.10006aa6
pop ecx
mov dword [0x10019ee8], eax
test eax, eax
je 0x1000de48
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10006aa6
pop ecx
mov dword [0x10019ee4], eax
mov eax, dword [0x10019ee4]
cmp eax, ebx
je 0x1000dea0
cmp dword [0x10019ee8], ebx
je 0x1000dea0
push eax
call fcn.10006b21
push dword [0x10019ee8]
mov esi, eax
call fcn.10006b21
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000dea0
test edi, edi
je 0x1000dea0
call esi
test eax, eax
je 0x1000de97
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000de97
test byte [ebp - 0xc], 1
jne 0x1000dea0
or dword [ebp + 0x10], 0x200000
jmp 0x1000ded9
mov eax, dword [0x10019edc]
cmp eax, ebx
je 0x1000ded9
push eax
call fcn.10006b21
pop ecx
test eax, eax
je 0x1000ded9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000ded9
mov eax, dword [0x10019ee0]
cmp eax, ebx
je 0x1000ded9
push eax
call fcn.10006b21
pop ecx
test eax, eax
je 0x1000ded9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10019ed8]
call fcn.10006b21
pop ecx
test eax, eax
je 0x1000def9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000defb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401720
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x45701c]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
push 0xfffffffffffffffa
push dword [0x459794]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
push 0x6b
push edi
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x402120
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 6
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], str.ProgressWindow
call esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esp + 8]
push eax
push dword [0x459794]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 8]
sub edx, esi
push 0
push edi
push 0
push 0
push eax
push edx
push ecx
push esi
push 0xce0000
push str.Setup___Ninja_Browser
push str.ProgressWindow
push 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
lea ecx, [esp + 0x48]
push 4
push ecx
push 3
push eax
mov dword [0x459798], eax
mov dword [esp + 0x58], 1
call esi
push 5
push dword [0x459798]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x459794]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x459798]
lea ecx, [esp + 0x48]
push 4
push ecx
push 3
push eax
mov dword [0x459794], eax
mov dword [esp + 0x58], 0
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.00413335
mov esp, ebp
pop ebp
ret
Function at 0x401880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x45701c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
push 0xfffffffffffffffa
push dword [0x459794]
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
push 0x6b
push edi
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 0x402490
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 6
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], str.FinishWindow
call esi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esp + 0x10]
push eax
push dword [0x459794]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub edx, esi
push ebx
push edi
push 0
push 0
push eax
push edx
push ecx
push esi
push 0xce0000
push str.Setup___Ninja_Browser
push str.FinishWindow
push 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
lea ecx, [esp + 0x50]
push 4
push ecx
push 3
push eax
mov dword [0x45978c], eax
mov dword [esp + 0x60], 1
call esi
push 5
push dword [0x45978c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x459794]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x45978c]
lea ecx, [esp + 0x50]
push 4
push ecx
push 3
push eax
mov dword [0x459794], eax
mov dword [esp + 0x60], 0
call esi
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
pop ebx
xor ecx, esp
call fcn.00413335
mov esp, ebp
pop ebp
ret