joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jl 0x42c2dd
mov ebp, dword [edi]
lea eax, [esi + esi + 1]
mov dword [edi + 4], eax
shl eax, 3
push eax
mov dword [esp + 0x14], ebp
call fcn.004397e0
mov ecx, dword [edi + 4]
mov dword [edi], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x42c261
mov ecx, dword [edi]
mov dword [ecx + eax*8], 0
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x42c250
test esi, esi
jle 0x42c2d4
mov edx, dword [ebp]
test edx, edx
je 0x42c2ca
xor ecx, ecx
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x42c298
jmp 0x42c280
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x42c280
mov ecx, dword [edi + 4]
xor edx, edx
div ecx
mov eax, dword [edi]
cmp dword [eax + edx*8], 0
je 0x42c2bd
mov ebx, eax
lea esp, [esp]
inc edx
cmp edx, ecx
jne 0x42c2b7
xor edx, edx
cmp dword [ebx + edx*8], 0
jne 0x42c2b0
mov ecx, dword [ebp]
mov dword [eax + edx*8], ecx
mov ecx, dword [ebp + 4]
mov dword [eax + edx*8 + 4], ecx
add ebp, 8
dec esi
jne 0x42c265
mov ebp, dword [esp + 0x10]
push ebp
call fcn.00439870
add esp, 4
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [esi]
xor eax, eax
test cl, cl
mov edx, esi
je 0x42c308
lea ecx, [ecx]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x42c2f0
mov ecx, dword [edi + 4]
xor edx, edx
div ecx
mov ebp, edx
mov edx, dword [edi]
cmp dword [edx + ebp*8], 0
je 0x42c36c
jmp 0x42c320
mov esi, dword [esp + 0x18]
nop
mov eax, dword [edx + ebp*8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x42c347
test cl, cl
je 0x42c343
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x42c347
add eax, 2
add esi, 2
test cl, cl
jne 0x42c323
xor eax, eax
jmp 0x42c34c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42c362
mov eax, dword [edi + 4]
inc ebp
cmp ebp, eax
jne 0x42c35a
xor ebp, ebp
mov eax, dword [edi]
cmp dword [eax + ebp*8], 0
jne 0x42c31b
cmp dword [edx + ebp*8], 0
mov esi, dword [esp + 0x18]
jne 0x42c37a
push esi
call fcn.00439890
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + ebp*8], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
mov dword [edx + ebp*8 + 4], eax
inc dword [edi + 8]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4397e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x4397e9
ret
push eax
call fcn.0043c45b
add esp, 4
test eax, eax
jne 0x4397e8
push str.Out_of_memory_n
push 0x471100
call fcn.0043ae74
add esp, 8
push 1
call fcn.0043c3a9
int3

Function at 0x439810
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x43982c
mov eax, dword [esp + 4]
test eax, eax
je 0x439829
push eax
call fcn.0043c5cf
add esp, 4
xor eax, eax
ret
mov ecx, dword [esp + 4]
test ecx, ecx
push eax
je 0x439840
push ecx
call fcn.0043c46d
add esp, 8
jmp 0x439848
call fcn.0043c45b
add esp, 4
test eax, eax
jne 0x43982b
push str.Out_of_memory_n
push 0x471100
call fcn.0043ae74
add esp, 8
push 1
call fcn.0043c3a9
int3

Function at 0x439890
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4398a0
sub eax, edx
inc eax
jne 0x4398c2
xor eax, eax
push esi
mov esi, eax
mov ecx, edi
sub esi, edi
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x4398b5
pop esi
pop edi
ret
push eax
call fcn.0043c45b
add esp, 4
test eax, eax
jne 0x4398ae
push str.Out_of_memory_n
push 0x471100
call fcn.0043ae74
add esp, 8
push 1
call fcn.0043c3a9
int3

Function at 0x43a140
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, dword [esi + 4]
mov esi, dword [esi]
xor eax, eax
test esi, esi
push edi
mov edi, ecx
jle 0x43a16e
push ebx
xor ecx, ecx
mov cl, byte [edx]
mov ebx, eax
shl ebx, 4
add ebx, eax
and ecx, 0xff
add ecx, ebx
inc edx
dec esi
mov eax, ecx
jne 0x43a154
pop ebx
xor edx, edx
div dword [edi + 4]
pop edi
pop esi
mov eax, edx
ret 4

Function at 0x43a200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov ebp, dword [edi + 0xc]
lea eax, [esi + esi + 1]
mov dword [edi + 4], eax
shl eax, 2
push eax
mov dword [esp + 0x18], ebp
call fcn.004397e0
mov ecx, dword [edi + 4]
mov dword [edi + 0xc], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x43a243
mov ecx, dword [edi + 0xc]
mov dword [ecx + eax*4], 0
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x43a231
test esi, esi
jle 0x43a2be
mov dword [esp + 0x10], esi
push ebx
lea esp, [esp]
cmp dword [ebp], 0
je 0x43a2ab
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
mov dword [ebp], edx
mov edx, dword [ecx]
mov esi, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
test edx, edx
jle 0x43a291
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [esi]
mov ebx, eax
shl ebx, 4
add ebx, eax
and edx, 0xff
add edx, ebx
mov eax, edx
mov edx, dword [esp + 0x10]
inc esi
dec edx
mov dword [esp + 0x10], edx
jne 0x43a270
xor edx, edx
div dword [edi + 4]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + edx*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [eax + edx*4], ecx
cmp dword [ebp], 0
jne 0x43a256
mov eax, dword [esp + 0x14]
add ebp, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x43a250
mov ebp, dword [esp + 0x18]
pop ebx
push ebp
call fcn.00439870
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x43bfae
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x4537c0
call fcn.00441a9c
mov edi, 0x94
mov eax, edi
call fcn.0043b1d0
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 [0x472214], ecx
mov eax, dword [esi + 4]
mov dword [0x472220], eax
mov edx, dword [esi + 8]
mov dword [0x472224], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x472218], esi
cmp ecx, 2
je 0x43c00e
or esi, 0x8000
mov dword [0x472218], esi
shl eax, 8
add eax, edx
mov dword [0x47221c], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x43c047
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43c047
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43c05f
cmp eax, 0x20b
je 0x43c04c
mov dword [ebp - 0x1c], edi
jmp 0x43c073
cmp dword [ecx + 0x84], 0xe
jbe 0x43c047
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x43c06d
cmp dword [ecx + 0x74], 0xe
jbe 0x43c047
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push edi
call fcn.00441a49
pop ecx
test eax, eax
jne 0x43c09f
cmp dword [0x472204], 2
je 0x43c08c
call fcn.00441406
push 0x1c
call fcn.0044128f
push 0xff
call fcn.0043c24e
pop ecx
pop ecx
call fcn.004419a7
mov dword [ebp - 4], edi
call fcn.0043f077
test eax, eax
jge 0x43c0b8
push 0x1b
call fcn.0043bf89
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4727f0], eax
call fcn.00441885
mov dword [0x4721fc], eax
call fcn.004417e3
test eax, eax
jge 0x43c0de
push 8
call fcn.0043bf89
pop ecx
call fcn.004415b0
test eax, eax
jge 0x43c0ef
push 9
call fcn.0043bf89
pop ecx
push 1
call fcn.0043c27e
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x43c105
push eax
call fcn.0043bf89
pop ecx
mov eax, dword [0x472234]
mov dword [0x472238], eax
push eax
push dword [0x47222c]
push dword [0x472228]
call fcn.00437450
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], edi
jne 0x43c134
push esi
call fcn.0043c3a9
call fcn.0043c3cb
jmp 0x43c166
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.00441ad7
ret
Function at 0x43c2e8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x472254], esi
push edi
jne 0x43c308
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 [0x472250], esi
mov byte [0x47224c], al
jne 0x43c36e
mov ecx, dword [0x4727e8]
test ecx, ecx
je 0x43c34f
mov eax, dword [0x4727e4]
sub eax, 4
cmp eax, ecx
jmp 0x43c348
mov eax, dword [eax]
test eax, eax
je 0x43c33a
call eax
mov eax, dword [0x4727e4]
sub eax, 4
cmp eax, dword [0x4727e8]
mov dword [0x4727e4], eax
jae 0x43c332
mov eax, 0x459028
mov esi, 0x459034
cmp eax, esi
mov edi, eax
jae 0x43c36e
mov eax, dword [edi]
test eax, eax
je 0x43c367
call eax
add edi, 4
cmp edi, esi
jb 0x43c35f
mov eax, 0x459038
mov esi, 0x45903c
cmp eax, esi
mov edi, eax
jae 0x43c38d
mov eax, dword [edi]
test eax, eax
je 0x43c386
call eax
add edi, 4
cmp edi, esi
jb 0x43c37e
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x43c3a7
push dword [ebp + 8]
mov dword [0x472254], 1
call fcn.0043c24e
pop ebp
ret
Function at 0x43e4e4
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x4726cc]
mov eax, dword [0x4713a0]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x43e6aa
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x4726e0]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x43e6aa
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x43e54e
xor eax, eax
jmp 0x43e6be
test al, 0x20
je 0x43e55f
push 2
push edi
push edi
push ecx
call fcn.0044430b
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x43e634
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x43e67b
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x43e5c1
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x43e5b2
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x43e594
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43e601
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x43e60d
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x43e588
jmp 0x43e60f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x43e6a5
cmp dword [ebp + 0x3a4], edi
je 0x43e67b
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x43e66d
mov dword [0x47220c], eax
jmp 0x43e6b1
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43e65f
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x43e60f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x43e60f
push dword [ebp + 0x3a4]
call fcn.0044387c
pop ecx
jmp 0x43e6bb
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x43e693
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x43e547
mov dword [0x472208], 0x1c
mov dword [0x47220c], edi
jmp 0x43e6bb
sub eax, dword [ebp - 0x7c]
jmp 0x43e6be
and dword [0x47220c], 0
mov dword [0x472208], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.0043e404
add ebp, 0x39c
leave
ret
Function at 0x440bb3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x4726cc]
push edi
jae 0x440d88
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x4726e0]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x440d88
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x440c5e
test dl, 2
jne 0x440c5e
test dl, 0x48
je 0x440c28
cmp byte [eax + 5], 0xa
je 0x440c28
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440c71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x440c59
mov dword [0x47220c], ecx
jmp 0x440d8f
cmp eax, 0x6d
jne 0x440c65
xor eax, eax
jmp 0x440d9c
push eax
call fcn.0044387c
pop ecx
jmp 0x440d99
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x440d83
test eax, eax
je 0x440c98
cmp byte [ebx], 0xa
jne 0x440c98
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x440ca1
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x440d7d
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x440d6d
cmp al, 0xd
je 0x440cd3
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x440d5f
dec ecx
cmp dword [ebp - 8], ecx
jae 0x440ced
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x440ce8
add dword [ebp - 8], 2
jmp 0x440d41
mov dword [ebp - 8], eax
jmp 0x440d5b
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440d15
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x440d5b
cmp dword [ebp - 0x10], 0
je 0x440d5b
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x440d36
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x440d41
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x440d5e
cmp ebx, dword [ebp + 0xc]
jne 0x440d46
cmp byte [ebp - 1], 0xa
jne 0x440d46
mov byte [ebx], 0xa
jmp 0x440d5e
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004410ed
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x440d5f
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x440cb7
jmp 0x440d7d
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x440d7d
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x440d9c
and dword [0x47220c], 0
mov dword [0x472208], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44128f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4713a0]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x471480]
je 0x4412c4
inc eax
cmp eax, 0x13
jb 0x4412b5
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x471480]
jne 0x4413ea
mov eax, dword [0x472204]
cmp eax, 1
je 0x4413c2
cmp eax, edx
jne 0x4412f4
cmp dword [0x471364], 1
je 0x4413c2
cmp ecx, 0xfc
je 0x4413ea
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44132a
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00442cc0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0043e090
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44135e
mov eax, edi
push eax
call fcn.0043e090
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x457c00
push edi
call fcn.0043aa40
add esp, 0x10
push edi
call fcn.0043e090
push dword [esi + 0x471484]
mov ebx, eax
call fcn.0043e090
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0043b1d0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00442cc0
push edi
push ebx
call fcn.00442cd0
push 0x457be0
push ebx
call fcn.00442cd0
push dword [esi + 0x471484]
push ebx
call fcn.00442cd0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00446136
add esp, 0x2c
jmp 0x4413ea
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x471484]
push dword [esi]
call fcn.0043e090
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.0043e404
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x443799
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0043b1d0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x443834
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x472214]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x443834
cmp eax, 1
je 0x443855
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x443834
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x443801
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x443830
xor eax, eax
inc eax
jmp 0x443874
cmp edi, eax
jae 0x443838
xor eax, eax
jmp 0x443874
cmp eax, esi
jae 0x44383f
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x472214]
jmp 0x443858
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x446136
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x472408], ebx
push esi
push edi
jne 0x4461b6
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4461f1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x472408], eax
je 0x4461f1
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x47240c], eax
call esi
cmp dword [0x472214], 2
mov dword [0x472410], eax
jne 0x4461b6
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x472418], eax
je 0x4461b6
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x472414], eax
mov eax, dword [0x472414]
test eax, eax
je 0x4461fb
call eax
test eax, eax
je 0x4461e2
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x472418]
test eax, eax
je 0x4461e2
test byte [ebp - 8], 1
jne 0x4461fb
cmp dword [0x472220], 4
jb 0x4461f5
or byte [ebp + 0x12], 0x20
jmp 0x44621a
xor eax, eax
jmp 0x44622a
or byte [ebp + 0x12], 4
jmp 0x44621a
mov eax, dword [0x47240c]
test eax, eax
je 0x44621a
call eax
mov ebx, eax
test ebx, ebx
je 0x44621a
mov eax, dword [0x472410]
test eax, eax
je 0x44621a
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x472408]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44631e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x44634c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x446353
cmp ebx, dword [eax + 4]
jae 0x446353
xor eax, eax
jmp 0x446543
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x446364
xor eax, eax
inc eax
jmp 0x446542
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x44637a
cmp ecx, edx
jae 0x4464bf
cmp dword [eax + 4], 0
je 0x446383
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x44636b
cmp dword [ebp + 8], 0
je 0x4463a5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4464bf
cmp eax, esi
jae 0x4464bf
mov eax, dword [0x472420]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4463ca
cmp dword [esi*4 + 0x472428], edi
je 0x4464c3
inc esi
cmp esi, eax
jl 0x4463b8
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44653f
cmp dword [ebp - 8], 0x1000000
jne 0x44653f
test byte [ebp - 0xc], 0xcc
je 0x446448
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x44653f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44653f
cmp word [eax + 0x18], 0x10b
jne 0x44653f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x44653f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x446448
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x446448
test byte [ecx + 0x27], 0x80
jne 0x4464bf
push 1
push 0x472468
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x44635c
mov ecx, dword [0x472420]
test ecx, ecx
mov edx, ecx
jle 0x44647c
lea eax, [ecx*4 + 0x472424]
cmp dword [eax], edi
je 0x44647c
dec edx
sub eax, 4
test edx, edx
jg 0x446470
test edx, edx
jne 0x4464ad
push 0xf
pop ebx
cmp ecx, ebx
jg 0x446489
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4464a1
lea eax, [edx*4 + 0x472428]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x44648f
cmp ecx, 0x10
jge 0x4464ad
inc ecx
mov dword [0x472420], ecx
push 0
push 0x472468
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x44635c
xor eax, eax
jmp 0x446542
test esi, esi
jle 0x44635c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x472468
call ebx
test eax, eax
jne 0x44635c
cmp dword [esi*4 + 0x472428], edi
je 0x446519
mov eax, dword [0x472420]
lea esi, [eax - 1]
test esi, esi
jl 0x446507
cmp dword [esi*4 + 0x472428], edi
je 0x446503
dec esi
jns 0x4464f7
test esi, esi
jge 0x446517
cmp eax, 0x10
jge 0x446512
inc eax
mov dword [0x472420], eax
lea esi, [eax - 1]
jmp 0x446519
je 0x446531
xor ecx, ecx
test esi, esi
jl 0x446531
lea eax, [ecx*4 + 0x472428]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x44651f
push 0
push 0x472468
call ebx
jmp 0x44635c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret