joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ba30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x6cc71c]
cmp eax, 0xffffffff
push edi
jne 0x49baa7
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov eax, dword [esp + 0xc]
cmp eax, 5
ja 0x49ba9d
jne 0x49ba87
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x49ba9d
jne 0x49ba87
cmp word [esp + 0x9c], 4
jae 0x49ba9d
xor eax, eax
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [0x6cc71c], eax
mov al, cl
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [0x6cc71c], eax
xor ecx, ecx
cmp eax, 1
sete cl
mov al, cl
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x49d770
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4d80cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6cc33c]
push ebp
push esi
mov esi, ecx
lea ecx, [esi + 4]
push edi
mov dword [esp + 0xc], esi
mov dword [ecx], eax
mov edx, dword [0x6cc33c]
lea edi, [esi + 8]
mov dword [esp + 0x18], 0
mov dword [edi], edx
mov eax, dword [0x6cc33c]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0x6cc33c]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x24]
or eax, 0xffffffff
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x20]
push edx
mov byte [esp + 0x1c], 3
mov dword [esi], eax
call fcn.0048b2d0
mov eax, dword [esp + 0x28]
push eax
mov ecx, edi
call fcn.0048b2d0
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.0048b2d0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x14], eax
pop edi
mov dword [esi + 0x10], edx
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x49faa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x49fabc
test al, 0x10
jne 0x49fabc
mov eax, 1
ret
xor eax, eax
ret

Function at 0x49fc00
Capabilities:
Copy file

Disassembly:
push ebx
mov bl, byte [esp + 0x10]
xor edx, edx
test bl, bl
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
sete dl
push edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
jne 0x49fc69
mov esi, dword [esi]
mov edi, dword [edi]
call fcn.0048da70
test eax, eax
je 0x49fc53
mov edx, dword [eax]
push 0
push str.Failed_to_copy_the_file__s_to__s
mov ecx, eax
call dword [edx + 8]
push esi
push edi
push eax
call fcn.004a5080
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
mov eax, str.Failed_to_copy_the_file__s_to__s
push edi
push eax
call fcn.004a5080
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
test bl, bl
push esi
mov esi, dword [esp + 0x10]
push edi
jne 0x4a0197
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4a0197
test al, 0x10
jne 0x4a0197
mov eax, dword [esp + 0x10]
mov esi, dword [esi]
mov edi, dword [eax]
call fcn.0048da70
test eax, eax
je 0x4a0181
mov edx, dword [eax]
push 0
push str.Failed_to_rename_the_file__s_to__s_because_the_destination_file_already_exists.
mov ecx, eax
call dword [edx + 8]
push esi
push edi
push eax
call fcn.004a5080
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
mov eax, str.Failed_to_rename_the_file__s_to__s_because_the_destination_file_already_exists.
push edi
push eax
call fcn.004a5080
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push eax
push ecx
call fcn.004c2051
add esp, 8
test eax, eax
je 0x4a01c7
push ebx
push esi
push edi
call fcn.0049fc00
add esp, 0xc
test al, al
je 0x4a0191
mov eax, dword [edi]
push eax
call fcn.004c13ac
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4a0a40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8638
push eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword fs:[0], esp
push ebx
push esi
jne 0x4a01f4
mov eax, 0x4e34b4
mov ecx, dword [0x504ebc]
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0048b8c0
mov dword [esp + 0x10], 0
mov bl, 0x3a
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4a0263
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a0220
sub eax, esi
je 0x4a0263
mov al, byte [eax + edx - 1]
cmp al, 0x5c
je 0x4a0237
cmp al, 0x2f
jne 0x4a0263
mov esi, dword [edx - 8]
cmp esi, 1
je 0x4a0263
cmp esi, 3
jne 0x4a0256
lea ecx, [esp + 0x18]
call fcn.0048ad50
mov edx, dword [esp + 0x18]
cmp byte [edx + 1], bl
je 0x4a0263
dec esi
push esi
lea ecx, [esp + 0x1c]
call fcn.0048cf60
jmp 0x4a0211
push edx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4a0277
test al, 0x10
je 0x4a0277
mov bl, 1
jmp 0x4a0279
xor bl, bl
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov dword [esp + 0x10], 0xffffffff
je 0x4a029a
dec eax
mov dword [ecx], eax
jne 0x4a029a
call fcn.0048a9b0
mov ecx, dword [esp + 8]
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp 0x4a01d0

Function at 0x4a1390
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x4a13b9
lea esp, [esp]
movsx ecx, cl
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x4a13a0
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret

Function at 0x4a8ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d8fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.wxBufferedInputStream.0
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
xor eax, eax
sub edi, ebx
neg edi
adc eax, eax
push 1
neg eax
push eax
push edi
mov dword [esp + 0x24], 0
call dword [edx + 0x30]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4a8f49
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004a83f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a9be0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9161
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 4], 0
mov eax, dword [0x6cc33c]
mov dword [esp], eax
push str.TMPDIR
mov dword [esp + 0x14], 1
call fcn.004c17ed
add esp, 4
push eax
lea ecx, [esp + 4]
call fcn.0048b9e0
mov eax, dword [esp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a9cad
push 0x50a504
call fcn.004c17ed
add esp, 4
push eax
lea ecx, [esp + 4]
call fcn.0048b9e0
mov eax, dword [esp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a9cad
push str.TEMP
call fcn.004c17ed
add esp, 4
push eax
lea ecx, [esp + 4]
call fcn.0048b9e0
mov eax, dword [esp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a9cad
push 0x105
lea ecx, [esp + 4]
call fcn.0048b480
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea ecx, [esp]
call fcn.0048baf0
mov eax, dword [esp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a9cad
push 0x2e
lea ecx, [esp + 4]
call fcn.0048b9b0
mov eax, dword [esp]
mov ecx, dword [eax - 8]
test ecx, ecx
push esi
mov esi, dword [esp + 0x1c]
jne 0x4a9cc3
mov ecx, dword [0x6cc33c]
mov dword [esi], ecx
jmp 0x4a9cd5
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4a9cd5
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov dword [esp + 8], 1
mov byte [esp + 0x14], 0
je 0x4a9cf6
dec eax
mov dword [ecx], eax
jne 0x4a9cf6
call fcn.0048a9b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ab590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d94a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6cc33c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov edi, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x3c], 3
call fcn.004aa240
mov eax, dword [esp + 0x48]
add esp, 0x1c
push edi
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004ab4a0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
pop edi
mov byte [esp + 0x1c], 2
pop esi
je 0x4ab63a
dec eax
mov dword [ecx], eax
jne 0x4ab63a
call fcn.0048a9b0
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x18], 1
je 0x4ab658
dec eax
mov dword [ecx], eax
jne 0x4ab658
call fcn.0048a9b0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x18], 0
je 0x4ab676
dec eax
mov dword [ecx], eax
jne 0x4ab676
call fcn.0048a9b0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov dword [esp + 0x18], 0xffffffff
je 0x4ab697
dec eax
mov dword [ecx], eax
jne 0x4ab697
call fcn.0048a9b0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4af3f0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov al, byte [edi]
test al, al
mov ebx, ecx
mov ebp, edi
je 0x4af56d
lea esp, [esp]
cmp al, 0x40
je 0x4af572
cmp al, 0x2f
je 0x4af56d
cmp al, 0x23
je 0x4af56d
cmp al, 0x3f
je 0x4af56d
cmp al, 0x61
jl 0x4af43c
cmp al, 0x7a
jle 0x4af54f
cmp al, 0x41
jl 0x4af448
cmp al, 0x5a
jle 0x4af54f
cmp al, 0x30
jl 0x4af454
cmp al, 0x39
jle 0x4af54f
cmp al, 0x2d
je 0x4af54f
cmp al, 0x2e
je 0x4af54f
cmp al, 0x5f
je 0x4af54f
cmp al, 0x7e
je 0x4af54f
cmp al, 0x21
je 0x4af54f
cmp al, 0x24
je 0x4af54f
cmp al, 0x26
je 0x4af54f
cmp al, 0x27
je 0x4af54f
cmp al, 0x28
je 0x4af54f
cmp al, 0x29
je 0x4af54f
cmp al, 0x2a
je 0x4af54f
cmp al, 0x2b
je 0x4af54f
cmp al, 0x2c
je 0x4af54f
cmp al, 0x3b
je 0x4af54f
cmp al, 0x3d
je 0x4af54f
cmp al, 0x3a
je 0x4af54f
cmp al, 0x25
jne 0x4af53d
mov al, byte [edi + 1]
cmp al, 0x30
jl 0x4af4df
cmp al, 0x39
jle 0x4af4ef
cmp al, 0x61
jl 0x4af4e7
cmp al, 0x66
jle 0x4af4ef
cmp al, 0x41
jl 0x4af53d
cmp al, 0x46
jg 0x4af53d
mov al, byte [edi + 2]
cmp al, 0x30
jl 0x4af4fa
cmp al, 0x39
jle 0x4af50a
cmp al, 0x61
jl 0x4af502
cmp al, 0x66
jle 0x4af50a
cmp al, 0x41
jl 0x4af53d
cmp al, 0x46
jg 0x4af53d
push 0x25
lea esi, [ebx + 0x18]
push 1
mov ecx, esi
inc edi
call fcn.0048b950
mov al, byte [edi]
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
push ecx
push 1
mov ecx, esi
inc edi
call fcn.0048b950
mov dl, byte [edi]
mov byte [esp + 0x10], dl
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
jmp 0x4af55b
mov eax, edi
push eax
lea ecx, [ebx + 0x18]
push ecx
inc edi
call fcn.004af030
add esp, 8
jmp 0x4af563
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
lea ecx, [ebx + 0x18]
push 1
inc edi
call fcn.0048b950
mov al, byte [edi]
test al, al
jne 0x4af410
cmp byte [edi], 0x40
jne 0x4af583
or dword [ebx + 0x28], 2
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [0x6cc33c]
push eax
lea ecx, [ebx + 0x18]
call fcn.0048b9e0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4afa50
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, dword [esp + 0x1c]
cmp byte [edi], 0x3f
mov ebx, ecx
jne 0x4afbc3
mov dl, byte [edi + 1]
inc edi
test dl, dl
mov dword [esp + 0x1c], edi
je 0x4afbbf
push esi
cmp dl, 0x23
je 0x4afbbe
cmp dl, 0x61
jl 0x4afa8c
cmp dl, 0x7a
jle 0x4afb9c
cmp dl, 0x41
jl 0x4afa9a
cmp dl, 0x5a
jle 0x4afb9c
cmp dl, 0x30
jl 0x4afaa8
cmp dl, 0x39
jle 0x4afb9c
cmp dl, 0x2d
je 0x4afb9c
cmp dl, 0x2e
je 0x4afb9c
cmp dl, 0x5f
je 0x4afb9c
cmp dl, 0x7e
je 0x4afb9c
cmp dl, 0x21
je 0x4afb9c
cmp dl, 0x24
je 0x4afb9c
cmp dl, 0x26
je 0x4afb9c
cmp dl, 0x27
je 0x4afb9c
cmp dl, 0x28
je 0x4afb9c
cmp dl, 0x29
je 0x4afb9c
cmp dl, 0x2a
je 0x4afb9c
cmp dl, 0x2b
je 0x4afb9c
cmp dl, 0x2c
je 0x4afb9c
cmp dl, 0x3b
je 0x4afb9c
cmp dl, 0x3d
je 0x4afb9c
cmp dl, 0x3a
je 0x4afb9c
cmp dl, 0x40
je 0x4afb9c
cmp dl, 0x2f
je 0x4afb9c
cmp dl, 0x3f
je 0x4afb9c
lea eax, [esp + 0x20]
push eax
call fcn.004af3a0
add esp, 4
test al, al
je 0x4afb86
mov byte [esp + 0xc], dl
mov ecx, dword [esp + 0xc]
push ecx
lea esi, [ebx + 0x10]
push 1
mov ecx, esi
inc edi
call fcn.0048b950
mov dl, byte [edi]
mov byte [esp + 0x10], dl
mov eax, dword [esp + 0x10]
push eax
push 1
mov ecx, esi
inc edi
call fcn.0048b950
mov cl, byte [edi]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
jmp 0x4afba8
mov eax, edi
push eax
lea eax, [ebx + 0x10]
inc edi
push eax
mov dword [esp + 0x28], edi
call fcn.004af030
add esp, 8
jmp 0x4afbb4
mov byte [esp + 0x18], dl
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [ebx + 0x10]
inc edi
push 1
mov dword [esp + 0x28], edi
call fcn.0048b950
mov dl, byte [edi]
test dl, dl
jne 0x4afa75
pop esi
or dword [ebx + 0x28], 0x20
mov eax, edi
pop edi
pop ebx
add esp, 0x10
ret 4
Function at 0x4afbd0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
cmp byte [esi], 0x23
mov ebx, ecx
jne 0x4afd2c
mov dl, byte [esi + 1]
inc esi
test dl, dl
mov dword [esp + 0x1c], esi
je 0x4afd28
push edi
lea edi, [ebx + 0x14]
cmp dl, 0x61
jl 0x4afc06
cmp dl, 0x7a
jle 0x4afd06
cmp dl, 0x41
jl 0x4afc14
cmp dl, 0x5a
jle 0x4afd06
cmp dl, 0x30
jl 0x4afc22
cmp dl, 0x39
jle 0x4afd06
cmp dl, 0x2d
je 0x4afd06
cmp dl, 0x2e
je 0x4afd06
cmp dl, 0x5f
je 0x4afd06
cmp dl, 0x7e
je 0x4afd06
cmp dl, 0x21
je 0x4afd06
cmp dl, 0x24
je 0x4afd06
cmp dl, 0x26
je 0x4afd06
cmp dl, 0x27
je 0x4afd06
cmp dl, 0x28
je 0x4afd06
cmp dl, 0x29
je 0x4afd06
cmp dl, 0x2a
je 0x4afd06
cmp dl, 0x2b
je 0x4afd06
cmp dl, 0x2c
je 0x4afd06
cmp dl, 0x3b
je 0x4afd06
cmp dl, 0x3d
je 0x4afd06
cmp dl, 0x3a
je 0x4afd06
cmp dl, 0x40
je 0x4afd06
cmp dl, 0x2f
je 0x4afd06
cmp dl, 0x3f
je 0x4afd06
lea eax, [esp + 0x20]
push eax
call fcn.004af3a0
add esp, 4
test al, al
je 0x4afcf3
mov byte [esp + 0xc], dl
mov ecx, dword [esp + 0xc]
push ecx
push 1
mov ecx, edi
inc esi
call fcn.0048b950
mov dl, byte [esi]
mov byte [esp + 0x10], dl
mov eax, dword [esp + 0x10]
push eax
push 1
mov ecx, edi
inc esi
call fcn.0048b950
mov cl, byte [esi]
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
push edx
jmp 0x4afd0f
mov eax, esi
push eax
inc esi
push edi
mov dword [esp + 0x28], esi
call fcn.004af030
add esp, 8
jmp 0x4afd1d
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
inc esi
mov ecx, edi
push 1
mov dword [esp + 0x28], esi
call fcn.0048b950
mov dl, byte [esi]
test dl, dl
jne 0x4afbf8
pop edi
or dword [ebx + 0x28], 0x40
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4b0560
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4d9a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6cc33c]
mov dword [esp], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.0048c940
push 1
push 0x50a798
push 0x4f1d98
lea ecx, [esp + 0xc]
call fcn.0048ccb0
push 1
push 0x4fac14
push 0x4e9724
lea ecx, [esp + 0xc]
call fcn.0048ccb0
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov ecx, dword [esp]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov dword [esp + 0xc], 0xffffffff
je 0x4b05ed
dec eax
mov dword [ecx], eax
jne 0x4b05ed
call fcn.0048a9b0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b0bc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d9afa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [esp + 4], 0
mov eax, dword [0x6cc33c]
push esi
mov dword [esp + 4], eax
push 0x104
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x120], 1
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 8]
call fcn.0048b9e0
push 0x5c
push 1
lea ecx, [esp + 0xc]
call fcn.0048b950
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
mov esi, dword [esp + 0x120]
jne 0x4b0c3f
mov ecx, dword [0x6cc33c]
mov dword [esi], ecx
jmp 0x4b0c51
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4b0c51
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov dword [esp + 8], 1
mov byte [esp + 0x118], 0
je 0x4b0c75
dec eax
mov dword [ecx], eax
jne 0x4b0c75
call fcn.0048a9b0
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x4b1600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9c31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov eax, dword [0x6cc33c]
push esi
push edi
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 1
call fcn.0048ae70
mov esi, dword [ebp]
mov eax, dword [esi - 8]
test eax, eax
je 0x4b165c
cmp byte [esi], 0x22
jne 0x4b165c
mov bl, 1
jmp 0x4b165e
xor bl, bl
xor edx, edx
test bl, bl
setne dl
mov edi, edx
cmp edi, eax
jae 0x4b1715
nop
cmp byte [esi + edi], 0x5c
jne 0x4b16aa
movsx eax, byte [esi + edi + 1]
inc edi
add eax, 0xffffffde
cmp eax, 0x52
ja case.0x4b168f.35
movzx eax, byte [eax + 0x4b1794]
jmp dword [eax*4 + 0x4b177c]
push 0xa
jmp 0x4b16fb
push 0xd
jmp 0x4b16fb
push 9
jmp 0x4b16fb
push 0x5c
jmp 0x4b16fb
push 0x22
jmp 0x4b16fb
cmp byte [esi + edi], 0x22
jne 0x4b16ef
test bl, bl
je 0x4b16ef
dec eax
cmp edi, eax
je case.0x4b168f.35
call fcn.0048da70
test eax, eax
je 0x4b16dd
mov edx, dword [eax]
push 0
push str.unexpected___at_position__d_in__s.
mov ecx, eax
call dword [edx + 8]
push esi
push edi
push eax
call fcn.004a4ea0
add esp, 0xc
jmp case.0x4b168f.35
push esi
mov eax, str.unexpected___at_position__d_in__s.
push edi
push eax
call fcn.004a4ea0
add esp, 0xc
jmp case.0x4b168f.35
mov al, byte [esi + edi]
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
push 1
call fcn.0048b950
mov esi, dword [ebp]
mov eax, dword [esi - 8]
inc edi
cmp edi, eax
jb 0x4b1670
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
test ecx, ecx
mov esi, dword [esp + 0x28]
jne 0x4b172e
mov edx, dword [0x6cc33c]
mov dword [esi], edx
jmp 0x4b1744
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4b1744
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov dword [esp + 0x14], 1
mov byte [esp + 0x20], 0
je 0x4b1765
dec eax
mov dword [ecx], eax
jne 0x4b1765
call fcn.0048a9b0
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4bc26d
Capabilities:
Terminate process

Disassembly:
push 8
push 0x50edc0
call fcn.004bd2c8
push 8
call fcn.004c2829
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x6e5620], esi
jne 0x4bc2a1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov dword [0x6e561c], esi
mov al, byte [ebp + 0x10]
mov byte [0x6e5618], al
cmp dword [ebp + 0xc], edi
jne 0x4bc2eb
cmp dword [0x6e6e8c], edi
je 0x4bc2db
mov eax, dword [0x6e6e88]
sub eax, 4
mov dword [0x6e6e88], eax
cmp eax, dword [0x6e6e8c]
jb 0x4bc2db
mov eax, dword [eax]
cmp eax, edi
je 0x4bc2bc
call eax
jmp 0x4bc2bc
push 0x52b884
mov eax, 0x52b87c
call fcn.004bc1eb
pop ecx
push 0x52b890
mov eax, 0x52b888
call fcn.004bc1eb
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4bc31c
cmp dword [ebp + 0x10], edi
jne 0x4bc32a
mov dword [0x6e5620], esi
push dword [ebp + 8]
call fcn.004bc1a9
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4bc329
push 8
call fcn.004c2774
pop ecx
ret
call fcn.004bd303
ret
Function at 0x4bda53
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x50eea0
call fcn.004bd2c8
mov edi, 0x94
mov eax, edi
call fcn.004bc670
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x6e55e0], ecx
mov eax, dword [esi + 4]
mov dword [0x6e55ec], eax
mov edx, dword [esi + 8]
mov dword [0x6e55f0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x6e55e4], esi
cmp ecx, 2
je 0x4bdab3
or esi, 0x8000
mov dword [0x6e55e4], esi
shl eax, 8
add eax, edx
mov dword [0x6e55e8], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4bdaee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4bdaee
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4bdb06
cmp eax, 0x20b
je 0x4bdaf3
mov dword [ebp - 0x1c], esi
jmp 0x4bdb1a
cmp dword [ecx + 0x84], 0xe
jbe 0x4bdaee
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4bdb14
cmp dword [ecx + 0x74], 0xe
jbe 0x4bdaee
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004c4822
pop ecx
test eax, eax
jne 0x4bdb2e
push 0x1c
call fcn.004bda2f
pop ecx
call fcn.004c3344
test eax, eax
jne 0x4bdb3f
push 0x10
call fcn.004bda2f
pop ecx
call fcn.004c3fdb
mov dword [ebp - 4], esi
call fcn.004c5396
test eax, eax
jge 0x4bdb58
push 0x1b
call fcn.004bda0a
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x6e5e64], eax
call 0x4c6961
mov dword [0x6e5630], eax
call fcn.004c68bf
test eax, eax
jge 0x4bdb7e
push 8
call fcn.004bda0a
pop ecx
call fcn.004c668c
test eax, eax
jge 0x4bdb8f
push 9
call fcn.004bda0a
pop ecx
push 1
call fcn.004bc203
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4bdba5
push eax
call fcn.004bda0a
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.004c662f
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4bdbc6
movzx eax, word [ebp - 0x40]
jmp 0x4bdbc9
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004070b2
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4bdbe7
push edi
call fcn.004bc330
call fcn.004bc352
jmp 0x4bdc19
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004bd303
ret