joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000427d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov dword [0x10030628], 0x121e
mov dword [0x1003062c], 0x1c3
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.10005695
mov ecx, 0xc67
lea edx, [0x10004412]
mov dword [0x1003062c], 0xc67
mov esi, dword [esp + 0x38]
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], 0x127e00
mov dword [0x10030628], 0x423d
mov esi, dword [0x10030614]
mov dword [esp + 0x90], esi
mov esi, dword [0x10030618]
mov dword [esp + 0x70], esi
mov esi, dword [0x1003061c]
mov dword [esp + 0x80], esi
mov esi, dword [0x10030620]
mov dword [esp + 0x54], esi
mov esi, dword [0x10030624]
mov dword [esp + 0x64], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
jmp 0x1000436f
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffe1fb
mov dword [0x10030628], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.10004479
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100043d1
jmp 0x1000432a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jne 0x1000439a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x10004334
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x1c]
add ecx, 0x954
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov dword [0x1003062c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jmp 0x1000436f
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000551d
mov dword [esp + 0xc], eax
mov dword [0x1003062c], 0xe4a
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x24], eax
jmp 0x1000432a
Function at 0x10004479
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000450b
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], cl
mov al, byte [ebp - 0x19]
test al, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
jne 0x1000450b
jmp 0x100044f7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x61
je 0x10004542
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x10004598
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
je 0x10004523
jmp 0x100044ed
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
je 0x100044f7
jmp 0x100044a5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x6f
je 0x100044d0
jmp 0x100044ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100044ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100044ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100044ed
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff9
mov dword [ebp - 0x34], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x100044ed
mov eax, dword [ebp - 0x2c]
add esp, 0x34
pop ebp
ret
Function at 0x10004b37
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10030634], 0
mov esi, dword [0x10030628]
add esi, 0xac6
mov dword [0x10030628], esi
mov byte [0x10030638], 0
mov esi, dword [0x1003062c]
add esi, 0x899
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x1003062c], ecx
mov dword [0x10030630], 0
mov dword [ebp - 0x20], eax
jmp 0x10004bc1
mov dword [0x10030628], 0x117c
mov dword [0x10030630], 0
xor eax, eax
mov ecx, 0x117c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10004bf3
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1003062c], 0x21f
mov eax, dword [0x10030630]
add eax, 1
mov dword [0x10030630], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x10004bc1
jmp 0x10004b9e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xfffff2bb
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x2c]
mov dword [0x1003062c], edi
mov edi, dword [0x10030634]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x10030634], edx
mov bl, byte [ebx + ecx]
mov byte [0x10030638], bl
mov dword [0x1003062c], 0x19c9
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10030638]
mov ecx, dword [0x10030634]
mov byte [esi + ecx], bl
mov dword [0x1003062c], 0x237e
mov ecx, dword [0x10030630]
add ecx, 1
mov dword [0x10030630], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x10004cae
mov eax, dword [0x10030628]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10004bf3
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004ccd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff7ea
xor ebx, ebx
mov dword [0x10030630], 0
mov dword [0x10030634], 0
mov dword [0x1003063c], 0
mov dword [0x10030628], 0x1640
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
jne 0x10004d44
mov eax, dword [ebp - 0x28]
mov dword [0x1003062c], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10030630], edx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10030634], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10030638], cl
mov edi, dword [0x1003062c]
add edi, 0xfffff1b0
mov dword [0x1003062c], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10030638]
mov edx, dword [0x10030634]
mov byte [edi + edx], cl
mov edx, dword [0x10030630]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10030634]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1003062c], 0x494
and ebx, 0xff
mov dword [0x1003063c], ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
mov ecx, dword [0x10030628]
mov edx, ecx
add edx, 0x126e
mov dword [0x10030628], edx
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
je 0x10004e40
mov eax, dword [0x10030630]
mov ecx, dword [0x10030634]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], edx
jmp 0x10004d44
mov eax, dword [ebp - 0x3c]
add eax, 0xfffff418
mov dword [ebp - 0x28], eax
jmp 0x10004d34
Function at 0x10004fc2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x10030628], 0xf07
mov dword [ebp - 0x10], eax
call fcn.10004e50
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10005008
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10030628], 0x1d5b
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
xor eax, eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0
mov dword [ebp - 0x30], eax
je 0x10005134
jmp 0x1000507b
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], ch
mov eax, dword [ebp - 0x3c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x3d]
and dl, cl
test dl, 1
mov dword [ebp - 0x44], eax
jne 0x100050b5
jmp 0x100050e2
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
add ecx, dword [edx]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
jne 0x10005045
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10005111
jmp 0x100050eb
xor eax, eax
mov ecx, dword [ebp - 0x58]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], eax
jb 0x1000509b
jmp 0x10005134
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10030628], 0x249e
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000551d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10030628], 0x24bc
mov esi, dword [0x1003062c]
add esi, 0xfffff2ac
mov dword [0x1003062c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10005623
lea eax, [ebp - 0x24]
mov dword [0x10030628], 0x380
mov dword [0x1003062c], 0xffffeaa5
mov dword [ebp - 0x34], eax
call fcn.10005265
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000537c
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x1000561a
mov eax, dword [ebp - 0x38]
mov dword [0x10030628], 0x761
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10004837
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov dword [0x10030628], 0x1e36
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x10], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
jne 0x1000564f
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10006938]
mov dl, byte [eax + 0x10006909]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10005556
jmp 0x10005623
mov eax, dword [ebp - 0x40]
add eax, 0x1ae9
mov dword [0x10030628], 0x1327
mov dword [ebp - 0x3c], eax
jmp 0x1000561a
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00419f86
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00419f86
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00419f86
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.00419f86
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.00419f86
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.00419f86
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.00419f86
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.00419f86
mov dword [0x42565c], eax
call fcn.00419f86
test eax, eax
jns 0x408ea1
push 8
call fcn.00419f86
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.00419f86
pop ecx
push 1
call fcn.00419f86
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.00419f86
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.00419f86
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.00419f86
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x1007fff
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x100b278]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x264]
push eax
push 1
xor edi, edi
push edi
push 0x1002c70
push 0x80000002
mov dword [ebp - 0x260], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008070
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x260]
push eax
push edi
push edi
push 0x10029a0
push dword [ebp - 0x264]
mov dword [ebp - 0x268], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x260], edi
je 0x100807f
xor eax, eax
jmp 0x1008135
push ebx
push esi
mov esi, 0x2000000
push esi
push edi
push edi
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov ebx, eax
cmp ebx, edi
jne 0x10080a9
push esi
push edi
push edi
push 0x10024d8
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov ebx, eax
cmp ebx, edi
je 0x10080fd
lea eax, [ebp - 0x26c]
push eax
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
push ebx
call dword [sym.imp.USER32.dll_CloseDesktop]
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
lea eax, [ebp - 0x25c]
push 0x10024c8
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10080e9
inc eax
jmp 0x1008133
lea eax, [ebp - 0x25c]
push 0x10024d8
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x1008102
push 3
pop eax
jmp 0x1008133
lea eax, [ebp - 0x25c]
push 0x1002a10
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x100811a
push 2
jmp 0x10080ff
lea eax, [ebp - 0x25c]
push 0x10029e8
push eax
call esi
neg eax
sbb eax, eax
pop ecx
neg eax
pop ecx
add eax, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.010081b8
leave
ret

Function at 0x1008e2d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1002cc8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1008e85
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1002d04
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1008e78
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1008e87
xor eax, eax
pop esi
leave
ret 4
Function at 0x4101b4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004083fc
and dword [ebp - 4], 0
cmp dword [0x41d5a4], 0
mov ebx, eax
jne 0x410265
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410316
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x410316
push eax
call fcn.0040838a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d5a4], eax
call esi
push eax
call fcn.0040838a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d5a8], eax
call esi
push eax
call fcn.0040838a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d5ac], eax
call esi
push eax
call fcn.0040838a
pop ecx
mov dword [0x41d5b4], eax
test eax, eax
je 0x410265
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040838a
pop ecx
mov dword [0x41d5b0], eax
mov eax, dword [0x41d5b0]
cmp eax, ebx
je 0x4102bd
cmp dword [0x41d5b4], ebx
je 0x4102bd
push eax
call fcn.00408405
push dword [0x41d5b4]
mov esi, eax
call fcn.00408405
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4102bd
test edi, edi
je 0x4102bd
call esi
test eax, eax
je 0x4102b4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4102b4
test byte [ebp - 0xc], 1
jne 0x4102bd
or dword [ebp + 0x10], 0x200000
jmp 0x4102f6
mov eax, dword [0x41d5a8]
cmp eax, ebx
je 0x4102f6
push eax
call fcn.00408405
pop ecx
test eax, eax
je 0x4102f6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4102f6
mov eax, dword [0x41d5ac]
cmp eax, ebx
je 0x4102f6
push eax
call fcn.00408405
pop ecx
test eax, eax
je 0x4102f6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d5a4]
call fcn.00408405
pop ecx
test eax, eax
je 0x410316
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410318
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411560
Capabilities:
Create mailslot
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x912964]
sub esp, 0xc18
push ebx
push esi
push edi
inc eax
mov edi, 0xff
and eax, edi
movzx ecx, byte [eax + 0x4356a0]
add ecx, dword [0x91295c]
xor ebx, ebx
and ecx, edi
mov dword [0x912964], eax
mov dword [0x91295c], ecx
cmp eax, 0xb5b
jae 0x4115d7
push ebx
push ebx
push ebx
push str.Zeherixo
call dword [sym.imp.KERNEL32.DLL_CreateMailslotW]
push ebx
lea eax, [ebp - 0x418]
push eax
push str.Bade_juleni
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointA]
push ebx
lea eax, [ebp - 0xc18]
push eax
push ebx
call dword [sym.imp.USER32.dll_RealGetWindowClassW]
mov eax, dword [0x912964]
mov ecx, dword [0x91295c]
lea esi, [ecx + 0x4356a0]
mov dl, byte [esi]
mov byte [ebp - 1], dl
mov dl, byte [eax + 0x4356a0]
mov byte [esi], dl
cmp eax, 0x1e8
jae 0x41160e
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CoGetMarshalSizeMax]
mov eax, dword [0x912964]
mov ecx, dword [0x91295c]
mov dl, byte [ebp - 1]
mov byte [eax + 0x4356a0], dl
movzx esi, byte [ecx + 0x4356a0]
movzx ecx, dl
add esi, ecx
cmp eax, 0x14872c
jbe 0x411635
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetTapePosition]
and esi, edi
mov al, byte [esi + 0x4356a0]
pop edi
pop esi
pop ebx
leave
ret