joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77ac20
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0x7732e4]
mov edx, dword [0x7732e8]
mov ecx, dword [0x7732ec]
add edx, eax
add ecx, eax
mov dword [0x7732e8], edx
mov dword [0x7732ec], ecx
call fcn.0077a740
push 0x77aa20
push 0x773e08
push 0x773df8
call fcn.0077a7c0
add esp, 0xc
jmp fcn.00778560

Function at 0x77b8f0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [esi + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x58], 0x67452301
mov dword [esi + 0x5c], 0xefcdab89
mov dword [esi + 0x60], 0x98badcfe
mov dword [esi + 0x64], 0x10325476
call fcn.0077b780
mov ecx, esi
call fcn.0077b840
pop edi
pop esi
ret 8
Function at 0x77f708
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
jne 0x77f7e5
mov eax, 0x94
call fcn.0077f930
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x77f7ac
mov ecx, dword [esi + 0x10]
mov dword [0x785a54], ecx
mov eax, dword [esi + 4]
mov dword [0x785a60], eax
mov edx, dword [esi + 8]
mov dword [0x785a64], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x785a58], esi
je 0x77f76d
or esi, 0x8000
mov dword [0x785a58], esi
shl eax, 8
add eax, edx
xor esi, esi
push esi
mov dword [0x785a5c], eax
call fcn.0078129e
test eax, eax
pop ecx
je 0x77f7ac
call fcn.00781490
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x787014], eax
call fcn.0078136e
mov dword [0x785940], eax
call fcn.00780de1
test eax, eax
jge 0x77f7b0
call fcn.007812ef
xor eax, eax
jmp 0x77f7d6
call fcn.007811e2
test eax, eax
jl 0x77f7de
call fcn.00780faf
test eax, eax
jl 0x77f7de
push esi
call fcn.00780c96
test eax, eax
pop ecx
jne 0x77f7de
inc dword [0x78593c]
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
call fcn.00780f8c
jmp 0x77f7a7
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x77f7d3
cmp dword [0x78593c], esi
jle 0x77f7ac
dec dword [0x78593c]
cmp dword [0x785a90], esi
jne 0x77f807
call fcn.00780dd2
call fcn.00780f8c
call fcn.007812ef
jmp 0x77f7d3

Function at 0x780d00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x785a94], esi
push edi
jne 0x780d20
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 [0x785a90], esi
mov byte [0x785a8c], al
jne 0x780d86
mov ecx, dword [0x787008]
test ecx, ecx
je 0x780d67
mov eax, dword [0x787004]
sub eax, 4
cmp eax, ecx
jmp 0x780d60
mov eax, dword [eax]
test eax, eax
je 0x780d52
call eax
mov eax, dword [0x787004]
sub eax, 4
cmp eax, dword [0x787008]
mov dword [0x787004], eax
jae 0x780d4a
mov eax, 0x7731b8
mov esi, 0x7731c0
cmp eax, esi
mov edi, eax
jae 0x780d86
mov eax, dword [edi]
test eax, eax
je 0x780d7f
call eax
add edi, 4
cmp edi, esi
jb 0x780d77
mov eax, 0x7731c4
mov esi, 0x7731cc
cmp eax, esi
mov edi, eax
jae 0x780da5
mov eax, dword [edi]
test eax, eax
je 0x780d9e
call eax
add edi, 4
cmp edi, esi
jb 0x780d96
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x780dbf
push dword [ebp + 8]
mov dword [0x785a94], 1
call fcn.00780c66
pop ebp
ret
Function at 0x7816c4
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x77353c]
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 + 0x773720]
je 0x7816f9
inc eax
cmp eax, 0x13
jb 0x7816ea
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x773720]
jne 0x78181f
mov eax, dword [0x785948]
cmp eax, 1
je 0x7817f7
cmp eax, edx
jne 0x781729
cmp dword [0x78594c], 1
je 0x7817f7
cmp ecx, 0xfc
je 0x78181f
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 0x78175f
lea eax, [ebp - 0x80]
push 0x7777f0
push eax
call fcn.00781970
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00781ba0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x781793
mov eax, edi
push eax
call fcn.00781ba0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x7777ec
push edi
call fcn.00781a70
add esp, 0x10
push edi
call fcn.00781ba0
push dword [esi + 0x773724]
mov ebx, eax
call fcn.00781ba0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0077f930
mov ebx, esp
push 0x777e40
push ebx
call fcn.00781970
push edi
push ebx
call fcn.00781980
push 0x7777e8
push ebx
call fcn.00781980
push dword [esi + 0x773724]
push ebx
call fcn.00781980
push 0x12010
push 0x7777b4
push ebx
call fcn.00781874
add esp, 0x2c
jmp 0x78181f
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x773724]
push dword [esi]
call fcn.00781ba0
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.0077ef06
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x781874
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x785bac], ebx
push esi
push edi
jne 0x7818f4
push 0x777f38
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x78192f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x777f2c
push edi
call esi
test eax, eax
mov dword [0x785bac], eax
je 0x78192f
push 0x777f1c
push edi
call esi
push 0x777f08
push edi
mov dword [0x785bb0], eax
call esi
cmp dword [0x785a54], 2
mov dword [0x785bb4], eax
jne 0x7818f4
push 0x777eec
push edi
call esi
test eax, eax
mov dword [0x785bbc], eax
je 0x7818f4
push 0x777ed4
push edi
call esi
mov dword [0x785bb8], eax
mov eax, dword [0x785bb8]
test eax, eax
je 0x781939
call eax
test eax, eax
je 0x781920
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x785bbc]
test eax, eax
je 0x781920
test byte [ebp - 8], 1
jne 0x781939
cmp dword [0x785a60], 4
jb 0x781933
or byte [ebp + 0x12], 0x20
jmp 0x781958
xor eax, eax
jmp 0x781968
or byte [ebp + 0x12], 4
jmp 0x781958
mov eax, dword [0x785bb0]
test eax, eax
je 0x781958
call eax
mov ebx, eax
test ebx, ebx
je 0x781958
mov eax, dword [0x785bb4]
test eax, eax
je 0x781958
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x785bac]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x781c2b
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 0x781c59
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 0x781c60
cmp ebx, dword [eax + 4]
jae 0x781c60
xor eax, eax
jmp 0x781e50
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x781c71
xor eax, eax
inc eax
jmp 0x781e4f
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x781c87
cmp ecx, edx
jae 0x781dcc
cmp dword [eax + 4], 0
je 0x781c90
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x781c78
cmp dword [ebp + 8], 0
je 0x781cb2
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x781dcc
cmp eax, esi
jae 0x781dcc
mov eax, dword [0x785bc0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x781cd7
cmp dword [esi*4 + 0x785bc8], edi
je 0x781dd0
inc esi
cmp esi, eax
jl 0x781cc5
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x781e4c
cmp dword [ebp - 8], 0x1000000
jne 0x781e4c
test byte [ebp - 0xc], 0xcc
je 0x781d55
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x781e4c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x781e4c
cmp word [eax + 0x18], 0x10b
jne 0x781e4c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x781e4c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x781d55
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x781d55
test byte [ecx + 0x27], 0x80
jne 0x781dcc
push 1
push 0x785c08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x781c69
mov ecx, dword [0x785bc0]
test ecx, ecx
mov edx, ecx
jle 0x781d89
lea eax, [ecx*4 + 0x785bc4]
cmp dword [eax], edi
je 0x781d89
dec edx
sub eax, 4
test edx, edx
jg 0x781d7d
test edx, edx
jne 0x781dba
push 0xf
pop ebx
cmp ecx, ebx
jg 0x781d96
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x781dae
lea eax, [edx*4 + 0x785bc8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x781d9c
cmp ecx, 0x10
jge 0x781dba
inc ecx
mov dword [0x785bc0], ecx
push 0
push 0x785c08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x781c69
xor eax, eax
jmp 0x781e4f
test esi, esi
jle 0x781c69
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x785c08
call ebx
test eax, eax
jne 0x781c69
cmp dword [esi*4 + 0x785bc8], edi
je 0x781e26
mov eax, dword [0x785bc0]
lea esi, [eax - 1]
test esi, esi
jl 0x781e14
cmp dword [esi*4 + 0x785bc8], edi
je 0x781e10
dec esi
jns 0x781e04
test esi, esi
jge 0x781e24
cmp eax, 0x10
jge 0x781e1f
inc eax
mov dword [0x785bc0], eax
lea esi, [eax - 1]
jmp 0x781e26
je 0x781e3e
xor ecx, ecx
test esi, esi
jl 0x781e3e
lea eax, [ecx*4 + 0x785bc8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x781e2c
push 0
push 0x785c08
call ebx
jmp 0x781c69
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x784d48
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x784d61
or eax, 0xffffffff
jmp 0x784dc2
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x784dbe
push 0x3d
push esi
call fcn.00785347
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x784dbe
cmp esi, eax
je 0x784dbe
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x785a74]
sete cl
cmp eax, dword [0x785a78]
mov dword [ebp - 8], ecx
jne 0x784da4
mov edi, eax
call fcn.00784ce7
mov dword [0x785a74], eax
cmp eax, ebx
jne 0x784dfd
cmp dword [ebp + 0xc], ebx
je 0x784dc6
cmp dword [0x785a7c], ebx
je 0x784dc6
call fcn.00783d3e
test eax, eax
je 0x784dfd
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x784dcf
xor eax, eax
jmp 0x784dc1
push 4
call fcn.00782ef2
cmp eax, ebx
pop ecx
mov dword [0x785a74], eax
je 0x784dbe
mov dword [eax], ebx
cmp dword [0x785a7c], ebx
jne 0x784dfd
push 4
call fcn.00782ef2
cmp eax, ebx
pop ecx
mov dword [0x785a7c], eax
je 0x784dbe
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x785a74]
call fcn.00784c9a
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x784e5e
cmp dword [esi], ebx
je 0x784e5e
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0078058c
cmp dword [ebp - 8], ebx
pop ecx
jne 0x784e41
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x784e9f
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x784e38
mov eax, edi
shl eax, 2
push eax
push dword [0x785a74]
call fcn.00783dce
cmp eax, ebx
pop ecx
pop ecx
je 0x784e9f
jmp 0x784e9a
cmp dword [ebp - 8], ebx
jne 0x784f0a
cmp edi, ebx
jge 0x784e6d
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x785a74]
call fcn.00783dce
cmp eax, ebx
pop ecx
pop ecx
je 0x784dbe
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x785a74], eax
cmp dword [ebp + 0xc], ebx
je 0x784ef4
push dword [ebp - 4]
call fcn.00781ba0
inc eax
inc eax
push eax
call fcn.00782ef2
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x784ef4
push dword [ebp - 4]
push esi
call fcn.00781970
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x784eed
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0078058c
pop ecx
cmp dword [ebp - 8], ebx
je 0x784f02
push dword [ebp - 4]
call fcn.0078058c
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x784dc1
push dword [ebp - 4]
call fcn.0078058c
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x784dcb
Function at 0x78518c
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.0077f930
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x785227
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 [0x785a54]
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 0x785227
cmp eax, 1
je 0x785248
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 0x785227
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x7851f4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x785223
xor eax, eax
inc eax
jmp 0x785267
cmp edi, eax
jae 0x78522b
xor eax, eax
jmp 0x785267
cmp eax, esi
jae 0x785232
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 [0x785a54]
jmp 0x78524b
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 0x46040d
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004605bd
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x46050b
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4604ae
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4604f1
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4604c5
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4604e0
test al, 0x40
je 0x4604d7
mov ecx, dword [edi + 0x20]
jmp 0x4604de
test al, 0x80
je 0x4604f1
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4604f1
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x46047d
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4013cf
Capabilities:
Create process on windows

Disassembly:
jmp 0x40d510
push 0xffffffffffffffff
push 0x451590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, dword [esp + 0x74]
mov esi, ecx
xor ebx, ebx
lea ecx, [edi + edi*8 + 0x75]
mov eax, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [esi + ecx*4]
mov dword [esp + 0x2c], ebx
cmp edx, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x50], bx
mov word [esp + 0x52], bx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x20], 0x44
jne 0x40d661
push ebp
push str.Empty
lea ecx, [esp + 0x14]
call fcn.0043a4bf
mov edx, dword [0x46496c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], edx
lea eax, [edi + edi*8]
lea edx, [esp + 0x78]
mov byte [esp + 0x70], 1
xor ebp, ebp
mov ecx, dword [esi + eax*4 + 0x1c0]
lea eax, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040135c
mov ecx, dword [esp + 0x78]
cmp dword [ecx - 8], ebx
je 0x40d5ec
push 0x40
lea ecx, [esp + 0x7c]
call fcn.0043a881
mov ebp, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp ebp, ebx
mov edi, eax
pop ebp
je 0x40d61c
push 0xffffffffffffffff
lea ecx, [esp + 0x78]
call fcn.0043a8d0
cmp edi, ebx
je 0x40d630
mov edx, dword [esp + 0x10]
push 0x3e8
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.0040141a
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], bl
call fcn.0043a451
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0043a451
mov eax, edi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x4015c8
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x410fb0
push 0xffffffffffffffff
push 0x451c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x46496c]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x10]
push ecx
push edx
push 0x400d
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.004015eb
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov esi, 0x46481c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41102f
test cl, cl
je 0x41102b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41102f
add eax, 2
add esi, 2
test cl, cl
jne 0x41100b
xor eax, eax
jmp 0x411034
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
lea edx, [esp + 0x10]
test eax, eax
sete cl
push 0
lea eax, [esp + 0x10]
push edx
mov dword [edi + 0x154], ecx
push eax
push 0x400e
mov ecx, edi
call fcn.004015eb
mov ecx, dword [esp + 0xc]
mov ebp, eax
mov esi, 0x46481c
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x411088
test dl, dl
je 0x411084
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x411088
add ecx, 2
add esi, 2
test dl, dl
jne 0x411064
xor ecx, ecx
jmp 0x41108d
sbb ecx, ecx
sbb ecx, 0xffffffff
mov eax, dword [esp + 0x14]
xor edx, edx
test ecx, ecx
sete dl
test eax, eax
mov dword [edi + 0x158], edx
je 0x4110ad
test ebp, ebp
je 0x4110ad
mov esi, 1
jmp 0x4110af
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0043a451
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40176c
Capabilities:
Get number of processors

Disassembly:
jmp 0x410510
push 0xffffffffffffffff
push 0x451b57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call fcn.00435b50
mov ecx, dword [0x46496c]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x138], ecx
mov edx, dword [0x46496c]
mov dword [esi + 0x13c], edx
mov eax, dword [0x46496c]
mov dword [esi + 0x144], eax
push 0x4017ad
push 0x401339
push 0x64
lea ecx, [esi + 0x1c0]
push 0x24
push ecx
mov byte [esp + 0x30], 3
call fcn.00416bf0
push 0x4011f9
push 0x40182a
push 0xc8
lea edx, [esi + 0xfd8]
push 0x2c
push edx
mov byte [esp + 0x30], 4
call fcn.00416bf0
mov eax, dword [0x46496c]
mov dword [esi + 0x3238], eax
mov ecx, dword [0x46496c]
mov dword [esi + 0x3248], ecx
mov edx, dword [0x46496c]
mov dword [esi + 0x3258], edx
mov eax, dword [0x46496c]
mov dword [esi + 0x3268], eax
lea ecx, [esi + 0x3278]
mov byte [esp + 0x1c], 9
call fcn.0040114f
push 0
lea ecx, [esi + 0x3330]
mov byte [esp + 0x20], 0xa
call fcn.00401055
lea ecx, [esi + 0x3458]
mov byte [esp + 0x1c], 0xb
call fcn.00431436
mov byte [esp + 0x1c], 0xc
mov dword [esi], method.CDialog.virtual_0
call fcn.0044c1e3
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [eax + 8]
push 0
push 0x32
call edi
push eax
push 0x31
call edi
mov ebp, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 0x82
push ebx
call ebp
push 0
push 0x32
mov dword [esi + 0x3450], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0x9f
push ebx
call ebp
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x3454], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x418130
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.004181f0
mov eax, dword [0x46b744]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x418154
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x46b740], 1
mov byte [0x46b73c], bl
jne 0x4181ae
mov ecx, dword [0x46d098]
test ecx, ecx
je 0x41819c
mov esi, dword [0x46d088]
sub esi, 4
cmp esi, ecx
jb 0x41819c
mov eax, dword [esi]
test eax, eax
je 0x418195
call eax
mov ecx, dword [0x46d098]
sub esi, 4
cmp esi, ecx
jae 0x418187
push 0x463bbc
push 0x4639b4
call fcn.00418210
add esp, 8
push 0x463ec8
push 0x463cc0
call fcn.00418210
add esp, 8
test ebx, ebx
je 0x4181cd
call fcn.00418200
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x46b744], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]