joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a096
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x44150e
call fcn.00430f8e
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00401920
xor ebx, ebx
push 0x24
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0042ad7c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x42a0c9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a0d7
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00401950
mov al, bl
call fcn.00430fd8
ret

Function at 0x42a0e7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x44150e
call fcn.00430f8e
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00401920
xor ebx, ebx
push 0x24
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0042ad7c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x42a11a
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a12c
test al, 0x10
jne 0x42a12c
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00401950
mov al, bl
call fcn.00430fd8
ret

Function at 0x42a13c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x44150e
call fcn.00430f8e
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00401920
xor ebx, ebx
push 0x24
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0042ad7c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x42a16f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a181
test al, 0x10
je 0x42a181
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00401950
mov al, bl
call fcn.00430fd8
ret

Function at 0x42a605
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax]
test eax, eax
jne 0x42a613
xor al, al
leave
ret
cmp dword [eax], 0xffffffff
je 0x42a60f
push edi
lea ecx, [ebp - 4]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a63a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42a63a
xor al, al
jmp 0x42a655
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00439b00
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov al, 1
pop edi
leave
ret

Function at 0x42af9e
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.0042b03f
cmp dword [edi + 0x14], 0
je 0x42afbf
cmp dword [edi + 0x18], 8
jb 0x42afba
mov edi, dword [edi + 4]
jmp 0x42afc1
add edi, 4
jmp 0x42afc1
xor edi, edi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 4], eax
je 0x42afeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
inc eax
mov dword [esi], eax
jmp 0x42aff1
mov dword [esi], 1
pop edi
mov eax, esi
pop esi
jmp 0x42affa
cmp dword [eax + 4], 0
setne al
ret
Function at 0x42b177
Capabilities:
Copy file

Disassembly:
jmp 0x42ce34
cmp dword [eax + 0x18], 8
jb 0x42ce3f
mov eax, dword [eax + 4]
jmp 0x42ce42
add eax, 4
cmp dword [ecx + 0x18], 8
jb 0x42ce4d
mov ecx, dword [ecx + 4]
jmp 0x42ce50
add ecx, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
ret

Function at 0x42b17c
Capabilities:
Delete directory

Disassembly:
jmp 0x42ce60
cmp dword [eax + 0x18], 8
jb 0x42ce6b
mov eax, dword [eax + 4]
jmp 0x42ce6e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
ret

Function at 0x42b181
Capabilities:
Create directory

Disassembly:
jmp 0x42ce7b
cmp dword [eax + 0x18], 8
jb 0x42ce86
mov eax, dword [eax + 4]
jmp 0x42ce89
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
ret

Function at 0x42b195
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x4c
mov eax, 0x443a2b
call fcn.00430f8e
mov edi, ecx
push 2
mov eax, edi
call fcn.0042b29d
cmp eax, 0xffffffff
jne 0x42b1d2
cmp dword [edi + 0x18], 8
jb 0x42b1bc
mov edi, dword [edi + 4]
jmp 0x42b1bf
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x42b1f4
lea esi, [ebp - 0x58]
call fcn.00429f3e
and dword [ebp - 4], 0
mov eax, esi
push eax
push edi
call fcn.0042a4ca
pop ecx
pop ecx
mov ecx, esi
mov bl, al
call fcn.00429f71
mov al, bl
call fcn.00430fd8
ret

Function at 0x42bacd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, 0x100000
cmp dword [ebp + 0xc], eax
push ebx
push esi
jbe 0x42bae2
mov dword [ebp + 0xc], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x20], ebx
je 0x42bba7
jmp 0x42bb9f
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 4], ecx
jae 0x42bba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea esi, [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0042be44
test al, al
jne 0x42bb44
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ebx
push dword [ebp - 0xc]
mov eax, edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0042bef2
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0xc], esp
push eax
call fcn.00401920
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, ebx
jne 0x42bba7
mov ecx, dword [ebp + 8]
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
add eax, ecx
push eax
push dword [edi]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
add dword [ebp - 4], ecx
cmp eax, ebx
jne 0x42bb16
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
pop esi
mov dword [ecx], edx
pop ebx
leave
ret 0xc
Function at 0x42be44
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42be71
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42be71
xor al, al
jmp 0x42be8c
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00439b00
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov al, 1
pop edi
leave
ret 4

Function at 0x42ccc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x451254]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x210], 0
push 0x20a
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.0042fcc0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x42cd28
and word [ebp - 6], 0
push edi
lea edx, [ebp - 0x210]
call fcn.00401980
mov al, 1
jmp 0x42cd2a
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e4b4
leave
ret

Function at 0x42cd36
Capabilities:
Set file attributes

Disassembly:
cmp dword [esp + 4], 0xffffffff
jne 0x42cd40
xor al, al
ret
and dword [esp + 4], 0xffffb1af
cmp dword [eax + 0x18], 8
jb 0x42cd53
mov eax, dword [eax + 4]
jmp 0x42cd56
add eax, 4
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x42cd67
Capabilities:
Move file

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x42cd72
mov eax, dword [eax + 4]
jmp 0x42cd75
add eax, 4
cmp dword [ecx + 0x18], 8
jb 0x42cd80
mov ecx, dword [ecx + 4]
jmp 0x42cd83
add ecx, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
ret

Function at 0x42ce9d
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x42ceb1
mov eax, dword [esi]
jmp 0x42ceb3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42cec5
mov al, 1
jmp 0x42cf56
cmp dword [edi + 0x18], 8
jb 0x42cecf
mov eax, dword [esi]
jmp 0x42ced1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x42cf54
cmp dword [edi + 0x18], 8
jb 0x42ceea
mov edx, dword [esi]
jmp 0x42ceec
mov edx, esi
push ebx
lea eax, [ebp - 0x20]
call fcn.00402290
push 0
lea eax, [ebp - 0x20]
call fcn.0042cd36
mov bl, al
neg bl
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x20]
inc bl
call fcn.00401950
test bl, bl
pop ebx
jne 0x42cf54
cmp dword [edi + 0x18], 8
jb 0x42cf1f
mov eax, dword [esi]
jmp 0x42cf21
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42cebe
cmp dword [edi + 0x18], 8
jb 0x42cf36
mov edx, dword [esi]
jmp 0x42cf38
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00402290
push dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.0042cd36
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401950
xor al, al
pop esi
leave
ret
Function at 0x42cf59
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x451254]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x4524a4], edi
je 0x42cf8d
push 0xffffffffffffffff
push edi
mov eax, 0x452490
mov ecx, ebx
call fcn.004019b0
mov al, 1
jmp 0x42d02a
push 0x20a
lea eax, [ebp - 0x20e]
push edi
push eax
mov word [ebp - 0x210], di
call fcn.0042fcc0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x42d028
push esi
push 0x410
lea eax, [ebp - 0x622]
push edi
push eax
mov word [ebp - 6], di
mov word [ebp - 0x624], di
call fcn.0042fcc0
add esp, 0xc
mov esi, 0x208
push esi
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, esi
pop esi
ja 0x42d017
cmp eax, edi
je 0x42d017
mov word [ebp + eax*2 - 0x624], di
lea edx, [ebp - 0x624]
jmp 0x42d01d
lea edx, [ebp - 0x210]
push ebx
call fcn.00401980
jmp 0x42cf86
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042e4b4
leave
ret

Function at 0x42d037
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x451254]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
and word [ebp - 0x7c], 0
push esi
push edi
push 0x20a
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7a]
push 0
push eax
mov edi, ecx
mov esi, edx
call fcn.0042fcc0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x42d084
mov esi, dword [esi + 4]
jmp 0x42d087
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x42d092
mov edi, dword [edi + 4]
jmp 0x42d095
add edi, 4
lea eax, [ebp - 0x7c]
push eax
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
pop edi
pop esi
jbe 0x42d0c0
push dword [ebp - 0x80]
and word [ebp + 0x18e], 0
lea edx, [ebp - 0x7c]
call fcn.00401980
mov al, 1
jmp 0x42d0c2
xor al, al
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0042e4b4
add ebp, 0x194
leave
ret

Function at 0x42d1af
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x42d1ba
mov eax, dword [eax + 4]
jmp 0x42d1bd
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret
Function at 0x42d7fb
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x440e03
call fcn.00430f25
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x20], esi
push esi
mov dword [ebp - 0x24], edi
mov dword [edi + 0x18], 0xf
call fcn.00407850
cmp dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 1
je 0x42d95c
mov eax, dword [ebp + 8]
dec dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp + esi - 0x10], al
mov bl, byte [ebp - 0xf]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov dword [ebp - 0x18], esi
jne 0x42d8b2
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
and dword [ebp - 0x18], 0
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
movzx esi, byte [ebp + eax - 0x14]
call fcn.0042b89b
mov al, byte [eax]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
xor eax, eax
inc eax
call fcn.00421840
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x42d885
and dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x18]
cmp dword [ebp + 0xc], 0
jne 0x42d831
test esi, esi
je 0x42d95c
cmp esi, 3
jge 0x42d8e1
push 3
pop ecx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x10]
push 0
push eax
call fcn.0042fcc0
mov bl, byte [ebp - 0xf]
add esp, 0xc
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and dword [ebp - 0x10], 0
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea ebx, [esi + 1]
test ebx, ebx
mov byte [ebp - 0x11], al
jle 0x42d946
mov eax, dword [ebp - 0x10]
movzx esi, byte [ebp + eax - 0x14]
call fcn.0042b89b
mov al, byte [eax]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
xor eax, eax
inc eax
call fcn.00421840
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x42d91e
mov esi, dword [ebp - 0x18]
push 3
pop ebx
cmp esi, ebx
jge 0x42d95c
sub ebx, esi
xor eax, eax
push 0x3d
inc eax
call fcn.00421840
dec ebx
jne 0x42d94f
mov eax, edi
call fcn.00430fc4
ret
Function at 0x42dd27
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x451254]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042dcbc
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042fcc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42dd76
cmp dword [ebp - 0x1c], 5
jb 0x42dd8e
jmp 0x42dd8a
cmp dword [ebp - 0x10], 1
jne 0x42dd8e
cmp dword [ebp - 0x1c], 4
ja 0x42dd8a
jne 0x42dd8e
cmp dword [ebp - 0x18], 0
jbe 0x42dd8e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4455ac
call fcn.00416fe0
test eax, eax
jge 0x42ddaf
mov byte [0x453c28], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042e4b4
add ebp, 0x78
leave
ret

Function at 0x42df61
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x453124], 0
push esi
jne 0x42ded4
call fcn.0042ddff
test eax, eax
je 0x42df17
mov eax, dword [0x453124]
cmp eax, 1
jne 0x42def5
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42df17
pop esi
ret
push eax
call dword [0x45312c]
test eax, eax
jne 0x42df5f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42df1b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x453124]
call dword [0x45312c]
mov edi, eax
test edi, edi
je 0x42df42
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x42df5e
lea edi, [esi + 0xff0]
push esi
push dword [0x453124]
call dword [0x453128]
add esi, 0x10
cmp esi, edi
jb 0x42df48
mov eax, esi
pop edi
pop esi
ret
jmp 0x42dec1

Function at 0x42e4b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451254]
jne 0x42e4be
repz ret
jmp fcn.00433a6f
Function at 0x4367d3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4513a0]
je 0x4367ee
inc edi
cmp edi, 0x17
jb 0x4367df
cmp edi, 0x17
jae 0x43696e
push ebp
push 3
call fcn.0043b5ce
cmp eax, 1
pop ecx
je 0x43693a
push 3
call fcn.0043b5ce
test eax, eax
pop ecx
jne 0x436822
cmp dword [0x4510ac], 1
je 0x43693a
cmp ebx, 0xfc
je 0x43696d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x453670
push ebp
call fcn.00432e92
add esp, 0xc
test eax, eax
je 0x436858
push esi
push esi
push esi
push esi
push esi
call fcn.0042e766
add esp, 0x14
push 0x104
mov esi, 0x453689
push esi
push 0
mov byte [0x45378d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43689c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00432e92
add esp, 0xc
test eax, eax
je 0x43689c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042e766
add esp, 0x14
push esi
call fcn.0042fbd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4368e1
push esi
call fcn.0042fbd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x453984
push 0x446504
sub ecx, eax
push ecx
push eax
call fcn.0043737b
add esp, 0x14
test eax, eax
je 0x4368e1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042e766
add esp, 0x14
jmp 0x4368e3
xor esi, esi
push 0x446500
push ebx
push ebp
call fcn.0043a41b
add esp, 0xc
test eax, eax
je 0x436903
push esi
push esi
push esi
push esi
push esi
call fcn.0042e766
add esp, 0x14
push dword [edi*8 + 0x4513a4]
push ebx
push ebp
call fcn.0043a41b
add esp, 0xc
test eax, eax
je 0x436925
push esi
push esi
push esi
push esi
push esi
call fcn.0042e766
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043b411
add esp, 0xc
jmp 0x43696d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43696d
cmp ebp, 0xffffffff
je 0x43696d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4513a4]
push dword [esi]
call fcn.0042fbd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43b411
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00434a53
xor ebx, ebx
cmp dword [0x453bfc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43b4e7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43b5c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43b5c7
push eax
call fcn.004349e5
mov dword [esp], 0x446f5c
push edi
mov dword [0x453bfc], eax
call esi
push eax
call fcn.004349e5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453c00], eax
call esi
push eax
call fcn.004349e5
mov dword [0x453c04], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043287e
test eax, eax
pop ecx
pop ecx
je 0x43b4b5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e766
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43b4e7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004349e5
cmp eax, ebx
pop ecx
mov dword [0x453c0c], eax
je 0x43b4e7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004349e5
pop ecx
mov dword [0x453c08], eax
mov eax, dword [0x453c08]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43b56c
cmp dword [0x453c0c], ecx
je 0x43b56c
push eax
call fcn.00434a5c
push dword [0x453c0c]
mov esi, eax
call fcn.00434a5c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43b56c
cmp edi, ebx
je 0x43b56c
call esi
cmp eax, ebx
je 0x43b539
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b539
test byte [ebp - 0x18], 1
jne 0x43b56c
lea eax, [ebp - 0x10]
push eax
call fcn.004328b5
test eax, eax
pop ecx
je 0x43b554
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e766
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43b563
or dword [ebp + 0x10], 0x200000
jmp 0x43b5a7
or dword [ebp + 0x10], 0x40000
jmp 0x43b5a7
mov eax, dword [0x453c00]
cmp eax, dword [ebp - 8]
je 0x43b5a7
push eax
call fcn.00434a5c
cmp eax, ebx
pop ecx
je 0x43b5a7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43b5a7
mov eax, dword [0x453c04]
cmp eax, dword [ebp - 8]
je 0x43b5a7
push eax
call fcn.00434a5c
cmp eax, ebx
pop ecx
je 0x43b5a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453bfc]
call fcn.00434a5c
cmp eax, ebx
pop ecx
je 0x43b5c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b5c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2e1668da
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x226109d8
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219