joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4108a0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x447ffc
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4551a0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x278]
xor ebx, ebx
mov esi, 7
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov word [ebp + 4], bx
mov dword [esp + 0x270], ebx
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], bx
mov byte [esp + 0x270], 1
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], ebx
mov word [ebp + 0x3c], bx
mov byte [esp + 0x270], 2
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], ebx
mov word [ebp + 0x58], bx
mov byte [esp + 0x270], 3
mov dword [ebp + 0x88], esi
mov dword [ebp + 0x84], ebx
mov word [ebp + 0x74], bx
mov byte [esp + 0x270], 4
mov dword [ebp + 0xa4], esi
mov dword [ebp + 0xa0], ebx
mov word [ebp + 0x90], bx
mov byte [esp + 0x270], 5
mov dword [ebp + 0xc0], esi
mov dword [ebp + 0xbc], ebx
mov word [ebp + 0xac], bx
mov byte [esp + 0x270], 6
mov dword [ebp + 0xe0], esi
mov dword [ebp + 0xdc], ebx
mov word [ebp + 0xcc], bx
push ebx
mov byte [esp + 0x274], 7
call fcn.00430350
push eax
call fcn.00430e7a
add esp, 8
mov edi, ebp
call fcn.004057b0
lea ecx, [ebp + 0xa8]
mov byte [ebp + 0xe4], bl
call fcn.004093e0
cmp dword [ebp + 0xbc], ebx
je 0x410ada
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 0x208
lea eax, [esp + 0x5a]
push ebx
mov byte [esp + 0x278], 8
push eax
mov word [esp + 0x60], bx
call fcn.004323d0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
mov word [esp + 0x25a], bx
call fcn.00401625
push str.__r_t_n
mov eax, esi
call fcn.00405220
push str.__r_t_n
mov eax, esi
call fcn.00405290
add esp, 8
push str..CEIZ.log
mov ebx, 9
mov eax, esi
call fcn.00403a55
mov eax, esi
push eax
lea esi, [ebp + 0xa8]
push esi
lea edi, [esp + 0x24]
call fcn.00406270
add esp, 8
push 0xffffffffffffffff
mov byte [esp + 0x274], bl
push esi
xor ebx, ebx
call fcn.00401709
mov ebx, 8
mov byte [esp + 0x270], bl
cmp dword [esp + 0x34], ebx
jb 0x410a9c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043004e
add esp, 4
xor esi, esi
mov edi, 7
mov byte [esp + 0x270], 7
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
jb 0x410acb
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043004e
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
xor ebx, ebx
mov dword [ebp + 0xc4], ebx
mov dword [esp + 0x270], 0xffffffff
mov eax, ebp
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0042fe0e
add esp, 0x260
ret 4
Function at 0x414970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445e51
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
add eax, 0x38
push edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov word [edi + 4], si
call fcn.00401709
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x14]
cmp eax, 0xe
mov dword [esp + 0xc], 1
jae 0x4149f7
jmp 0x4149e0
push 0x44b620
mov ebx, 1
mov eax, edi
call fcn.00403a55
cmp dword [edi + 0x14], 0xe
jb 0x4149e0
cmp dword [edi + 0x14], 0xe
jbe 0x414a2f
push 0xe
push edi
xor ebx, ebx
lea esi, [esp + 0x1c]
call fcn.004036cb
push 0xffffffffffffffff
push edi
mov dword [esp + 0x40], 1
call fcn.00401709
cmp dword [esp + 0x2c], 8
jb 0x414a2f
mov eax, dword [esp + 0x18]
push eax
call fcn.0043004e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4

Function at 0x414a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445e51
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
add eax, 0x54
push edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov word [edi + 4], si
call fcn.00401709
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x14]
cmp eax, 0xe
mov dword [esp + 0xc], 1
jae 0x414ad7
jmp 0x414ac0
push 0x44b620
mov ebx, 1
mov eax, edi
call fcn.00403a55
cmp dword [edi + 0x14], 0xe
jb 0x414ac0
cmp dword [edi + 0x14], 0xe
jbe 0x414b0f
push 0xe
push edi
xor ebx, ebx
lea esi, [esp + 0x1c]
call fcn.004036cb
push 0xffffffffffffffff
push edi
mov dword [esp + 0x40], 1
call fcn.00401709
cmp dword [esp + 0x2c], 8
jb 0x414b0f
mov eax, dword [esp + 0x18]
push eax
call fcn.0043004e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x414b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445e51
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
add eax, 0x70
push edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov word [edi + 4], si
call fcn.00401709
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x14]
cmp eax, 0x20
mov dword [esp + 0xc], 1
jae 0x414bb7
jmp 0x414ba0
push 0x44c2a4
mov ebx, 1
mov eax, edi
call fcn.00403a55
cmp dword [edi + 0x14], 0x20
jb 0x414ba0
cmp dword [edi + 0x14], 0x20
jbe 0x414bef
push 0x20
push edi
xor ebx, ebx
lea esi, [esp + 0x1c]
call fcn.004036cb
push 0xffffffffffffffff
push edi
mov dword [esp + 0x40], 1
call fcn.00401709
cmp dword [esp + 0x2c], 8
jb 0x414bef
mov eax, dword [esp + 0x18]
push eax
call fcn.0043004e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x41abe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445de3
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x41bea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4464f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x58], 2
call fcn.0041ac40
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea esi, [esp + 0xc]
lea eax, [esp + 0x1c]
mov byte [esp + 0x58], 3
call fcn.0041b7a0
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x41bf2e
xor esi, esi
jmp 0x41bf3d
mov esi, dword [esp + 0x14]
push eax
sub esi, eax
call fcn.0043004e
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x41bf5a
push eax
call fcn.0043004e
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
je 0x41bf77
push eax
call fcn.0043004e
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
je 0x41bf94
push eax
call fcn.0043004e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret
Function at 0x41d370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4487a9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
push 0x60
call fcn.0042fe91
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
je 0x41d3bb
push eax
call fcn.0041d480
jmp 0x41d3bd
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
push 0x18
mov dword [ebp], eax
call fcn.0042fe91
add esp, 4
push eax
mov dword [ebp + 4], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x3c], 1
mov eax, str.Coral_9BB4EBA7_26A1_41de_AE0C_95467A1AED6F
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00401625
lea esi, [ebp + 8]
mov byte [esp + 0x3c], 2
lea edi, [esp + 0x18]
mov dword [esi], 1
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
call fcn.00406840
mov byte [esp + 0x3c], 4
cmp dword [esp + 0x30], 8
jb 0x41d43c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043004e
add esp, 4
mov ecx, dword [ebp]
mov byte [ecx + 0xc], bl
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov dword [esp + 0x3c], 0xffffffff
mov eax, ebp
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4

Function at 0x41d480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448756
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.00421ef0
mov dword [esi + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], eax
mov word [esi + 0x14], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4224d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447d58
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push esi
xor ebx, ebx
mov eax, edi
mov word [esi + 4], 0
call fcn.00401709
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x1c]
lea edx, [esi + 0x20]
lea ecx, [edi + 0x20]
push edx
mov dword [esi + 0x1c], eax
call fcn.0041f960
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov cl, byte [edi + 0x31]
mov byte [esi + 0x31], cl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x429890
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x445c42
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4551a0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call fcn.004323d0
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x429930
mov edi, dword [edi + 4]
jmp 0x429933
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429972
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x429961
mov word [esp + eax*2 + 0x24], bx
jmp 0x429969
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
call fcn.00401625
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0042fe0e
add esp, 0x22c
ret 4
Function at 0x42e630
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4462a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4551a0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
mov edi, ecx
mov dword [esp + 0x14], edi
add edi, 0x8c
call fcn.004057b0
xor esi, esi
xor ebx, ebx
jmp 0x42e682
xor esi, esi
movzx eax, byte [ebx + ebp]
push eax
push str._02x
lea edx, [esp + 0x3c]
call fcn.0042e730
mov dword [esp + 0x34], esi
mov word [esp + 0x24], si
add esp, 8
lea eax, [esp + 0x34]
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401625
push 0xffffffffffffffff
mov eax, esi
push 0
mov esi, edi
mov dword [esp + 0x5c], 0
call fcn.00403cbf
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x42e6e7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043004e
add esp, 4
add ebx, 1
cmp ebx, 6
jl 0x42e680
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
mov dword [eax + 0xa8], edx
mov cx, word [ebp + 4]
mov word [eax + 0xac], cx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0042fe0e
add esp, 0x44
ret 4
Function at 0x42f780
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x445539
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov byte [esi + 4], bl
mov dword [esp + 0x2c], ebx
xor edi, edi
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x1c], 1
je 0x42f93f
mov al, byte [ebp]
sub dword [esp + 0x38], 1
mov byte [esp + edi + 0x14], al
add edi, 1
add ebp, 1
cmp edi, 3
jne 0x42f879
mov al, byte [esp + 0x14]
mov cl, al
shr cl, 2
mov dl, al
mov al, byte [esp + 0x15]
and dl, 3
mov byte [esp + 0x18], cl
shl dl, 4
mov cl, al
shr cl, 4
add dl, cl
mov byte [esp + 0x19], dl
mov dl, al
mov al, byte [esp + 0x16]
and dl, 0xf
add dl, dl
mov cl, al
add dl, dl
shr cl, 6
add dl, cl
and al, 0x3f
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], al
xor edi, edi
nop
movzx ebx, byte [esp + edi + 0x18]
cmp ebx, dword [0x456578]
jbe 0x42f852
call fcn.00430697
cmp dword [0x45657c], 0x10
mov eax, dword [0x456568]
jae 0x42f865
mov eax, 0x456568
mov bl, byte [eax + ebx]
call fcn.00408690
add edi, 1
cmp edi, 4
jl 0x42f840
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x38], ebx
jne 0x42f7e0
cmp edi, ebx
je 0x42f93f
cmp edi, 3
jge 0x42f8a6
mov edx, 3
sub edx, edi
push edx
lea eax, [esp + edi + 0x18]
push ebx
push eax
call fcn.004323d0
add esp, 0xc
mov cl, byte [esp + 0x14]
mov al, cl
shr al, 2
mov byte [esp + 0x18], al
mov al, byte [esp + 0x15]
mov dl, al
and cl, 3
shl cl, 4
shr dl, 4
add cl, dl
and al, 0xf
mov byte [esp + 0x19], cl
mov cl, byte [esp + 0x16]
add al, al
mov dl, cl
add al, al
shr dl, 6
add al, dl
mov byte [esp + 0x1a], al
and cl, 0x3f
lea eax, [edi + 1]
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x1b], cl
jle 0x42f927
lea ecx, [ecx]
movzx ebx, byte [esp + ebp + 0x18]
cmp ebx, dword [0x456578]
jbe 0x42f902
call fcn.00430697
cmp dword [0x45657c], 0x10
mov eax, dword [0x456568]
jae 0x42f915
mov eax, 0x456568
mov bl, byte [eax + ebx]
call fcn.00408690
add ebp, 1
lea eax, [edi + 1]
cmp ebp, eax
jl 0x42f8f0
cmp edi, 3
jge 0x42f93f
mov ebp, 3
sub ebp, edi
mov bl, 0x3d
call fcn.00408690
sub ebp, 1
jne 0x42f933
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x42fe0e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4551a0]
jne 0x42fe18
repz ret
jmp fcn.004327b5
Function at 0x434b3d
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 + 0x455440]
je 0x434b58
inc edi
cmp edi, 0x17
jb 0x434b49
cmp edi, 0x17
jae 0x434cd8
push ebp
push 3
call fcn.0043e2f8
cmp eax, 1
pop ecx
je 0x434ca4
push 3
call fcn.0043e2f8
test eax, eax
pop ecx
jne 0x434b8c
cmp dword [0x45502c], 1
je 0x434ca4
cmp ebx, 0xfc
je 0x434cd7
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x457290
push ebp
call fcn.00432af8
add esp, 0xc
test eax, eax
je 0x434bc2
push esi
push esi
push esi
push esi
push esi
call fcn.00430577
add esp, 0x14
push 0x104
mov esi, 0x4572a9
push esi
push 0
mov byte [0x4573ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x434c06
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00432af8
add esp, 0xc
test eax, eax
je 0x434c06
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00430577
add esp, 0x14
push esi
call fcn.00431e70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x434c4b
push esi
call fcn.00431e70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4575a4
push 0x449ac4
sub ecx, eax
push ecx
push eax
call fcn.00438019
add esp, 0x14
test eax, eax
je 0x434c4b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00430577
add esp, 0x14
jmp 0x434c4d
xor esi, esi
push 0x449ac0
push ebx
push ebp
call fcn.0043e287
add esp, 0xc
test eax, eax
je 0x434c6d
push esi
push esi
push esi
push esi
push esi
call fcn.00430577
add esp, 0x14
push dword [edi*8 + 0x455444]
push ebx
push ebp
call fcn.0043e287
add esp, 0xc
test eax, eax
je 0x434c8f
push esi
push esi
push esi
push esi
push esi
call fcn.00430577
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043e0ca
add esp, 0xc
jmp 0x434cd7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x434cd7
cmp ebp, 0xffffffff
je 0x434cd7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x455444]
push dword [esi]
call fcn.00431e70
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 0x43e0ca
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004338b1
xor ebx, ebx
cmp dword [0x457984], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43e1a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43e280
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43e280
push eax
call fcn.00433843
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x457984], eax
call esi
push eax
call fcn.00433843
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x457988], eax
call esi
push eax
call fcn.00433843
mov dword [0x45798c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00434002
test eax, eax
pop ecx
pop ecx
je 0x43e16e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00430577
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43e1a0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00433843
cmp eax, ebx
pop ecx
mov dword [0x457994], eax
je 0x43e1a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00433843
pop ecx
mov dword [0x457990], eax
mov eax, dword [0x457990]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43e225
cmp dword [0x457994], ecx
je 0x43e225
push eax
call fcn.004338ba
push dword [0x457994]
mov esi, eax
call fcn.004338ba
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43e225
cmp edi, ebx
je 0x43e225
call esi
cmp eax, ebx
je 0x43e1f2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43e1f2
test byte [ebp - 0x18], 1
jne 0x43e225
lea eax, [ebp - 0x10]
push eax
call fcn.00434039
test eax, eax
pop ecx
je 0x43e20d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00430577
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43e21c
or dword [ebp + 0x10], 0x200000
jmp 0x43e260
or dword [ebp + 0x10], 0x40000
jmp 0x43e260
mov eax, dword [0x457988]
cmp eax, dword [ebp - 8]
je 0x43e260
push eax
call fcn.004338ba
cmp eax, ebx
pop ecx
je 0x43e260
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43e260
mov eax, dword [0x45798c]
cmp eax, dword [ebp - 8]
je 0x43e260
push eax
call fcn.004338ba
cmp eax, ebx
pop ecx
je 0x43e260
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x457984]
call fcn.004338ba
cmp eax, ebx
pop ecx
je 0x43e280
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43e282
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x772906b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x772906e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x772906e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x772906e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret