joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031960
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 4]
push edi
xor edi, edi
cmp eax, edi
mov dword [esi], 0x100f54ec
jge 0x10031997
push 4
lea eax, [esp + 0x10]
push eax
push 0xffffff7f
push 0xffff
push ebx
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
push ebx
call sub.WSOCK32.dll_closesocket
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x10], eax
call fcn.1008d22c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x14], eax
call fcn.1008d22c
add esp, 8
mov ecx, esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.100366e0
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10031f20
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x100f15c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x100f5500
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x20], 0
je 0x10031fa1
push ebx
lea edi, [eax + 8]
push ebp
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.100360e0
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov ebp, eax
call fcn.100360b0
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x14], ebx
je 0x10031f91
lea ecx, [esp + 0x14]
call fcn.10036110
cmp dword [esp + 0x14], ebp
jne 0x10031f82
push ebp
push ebx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.100344b0
pop ebp
pop ebx
mov eax, dword [esi + 0xc]
test eax, eax
mov edi, dword [esi + 4]
jge 0x10031fca
push 4
lea eax, [esp + 0x10]
push eax
push 0xffffff7f
push 0xffff
push edi
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
push edi
call sub.WSOCK32.dll_closesocket
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.100366e0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x10032220
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x100f15eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x14]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x10032264
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
je 0x1003225f
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x14], ebp
jne 0x1003224d
mov eax, dword [esi]
cmp eax, ebp
push edi
mov edi, dword [esi + 4]
jge 0x1003228d
push 4
lea ecx, [esp + 0x10]
push ecx
push 0xffffff7f
push 0xffff
push edi
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
push edi
call sub.WSOCK32.dll_closesocket
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov eax, dword [edi]
add esi, 8
cmp ecx, ebp
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0xc], eax
je 0x100322db
mov ecx, eax
cmp eax, ecx
jne 0x100322db
mov edx, dword [edi + 4]
push edx
mov ecx, esi
call fcn.100353c0
mov eax, dword [esi + 4]
mov ecx, dword [0x1011f660]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebp
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
jmp 0x10032301
cmp eax, edi
je 0x10032301
push ebx
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.10036110
push ebx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.10034f60
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x100322e0
pop ebx
mov eax, dword [esi + 4]
push eax
call fcn.1008d22c
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
add esp, 4
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.1008d17b
dec dword [0x1011f65c]
pop edi
jne 0x10032333
mov esi, dword [0x1011f660]
mov dword [0x1011f660], ebp
lea ecx, [esp + 0xc]
call fcn.1008d217
cmp esi, ebp
je 0x10032349
push esi
call fcn.1008d22c
add esp, 4
mov ecx, dword [esp + 0x14]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1003b4a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f1acc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x24]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 4], ecx
push edi
mov edi, dword [esp + 0x2c]
mov dword [esi], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dl, byte [edi]
lea ecx, [esi + 0x2c]
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x100f5420]
push eax
push ebx
push edi
mov dword [esp + 0x18], esi
call fcn.10001e55
mov cl, byte [esp + 0x30]
mov byte [esi + 0x3c], 1
mov dword [esp + 0x20], ebx
mov byte [esi + 0x40], cl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dl, byte [esp + 0x30]
mov byte [esi + 0x50], dl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov al, byte [esp + 0x30]
lea edi, [esi + 0x64]
mov byte [esi + 0x60], bl
mov byte [edi], al
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
push ebx
mov byte [esp + 0x24], 3
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, esi
call fcn.1003e290
cmp byte [esi + 0x60], bl
je 0x1003b55c
push 5
jmp 0x1003b55d
push ebx
push edi
push 0x1003dde0
call sub.DDRAW.dll_DirectDrawEnumerateExA
push 8
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x1003c8e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x1011f6d8]
test eax, eax
push esi
mov esi, ecx
je 0x1003c9d2
push ebp
push edi
push 0
push 0
mov edi, eax
mov eax, dword [esi]
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [0x1011f77d]
test al, al
jne 0x1003c9c2
mov eax, dword [0x1011f6ec]
mov ebp, 3
cmp eax, ebp
jne 0x1003c94f
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call esi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x18]
pop edi
pop ebp
pop esi
ret 4
mov byte [0x1011f77e], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1003c962
call fcn.1004f3f0
cmp dword [0x1011f6ec], ebp
jne 0x1003c972
mov ecx, dword [esi + 0x10]
call fcn.10047ee0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1003c995
cmp dword [0x1011f6ec], ebp
jne 0x1003c98d
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1003c98d
call fcn.100523d0
mov ecx, dword [esi + 0xc]
call fcn.100522c0
cmp dword [0x1011f6ec], ebp
mov byte [0x1011f77d], 1
mov byte [0x1011f77e], 0
jne 0x1003c9b3
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov ecx, dword [0x1011f6d8]
test ecx, ecx
je 0x1003c9c2
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x18]
pop edi
pop ebp
pop esi
ret 4
Function at 0x100462ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100f1dd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x120]
push edi
mov edi, dword [esi + 0x128]
add edi, ecx
cmp edi, eax
jge 0x100464a2
mov ecx, dword [esi + 0x110]
call fcn.10052b80
mov ecx, dword [esi + 0x118]
add eax, edi
cmp eax, ecx
jle 0x100464a2
mov ecx, dword [esi + 0x124]
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x11c]
add ecx, edx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x100464a2
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
xor ebx, ebx
test eax, eax
jbe 0x10046397
mov eax, dword [ebp + 4]
test eax, eax
jne 0x1004635c
mov eax, 0x100f5424
jmp 0x1004635e
add eax, ebx
movsx eax, byte [eax]
mov ecx, dword [esi + 0x110]
push eax
call fcn.100529f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x114]
add ecx, eax
cmp ecx, edx
jg 0x10046393
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
jb 0x1004634e
mov ecx, dword [esp + 0x10]
cmp ebx, dword [ebp + 8]
mov edi, ebx
jae 0x100464a2
jmp 0x100463a8
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x11c]
jge 0x100463e1
mov eax, dword [ebp + 4]
test eax, eax
jne 0x100463be
mov eax, 0x100f5424
jmp 0x100463c0
add eax, edi
movsx edx, byte [eax]
mov ecx, dword [esi + 0x110]
push edx
call fcn.100529f0
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edx
jb 0x100463a4
cmp edi, ebx
jle 0x100464a2
sub edi, ebx
push edi
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.10001b29
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x138]
mov edi, dword [esi + 0x74]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov cl, byte [esi + 0x87]
push eax
mov eax, dword [esi + 0x78]
and eax, edx
shr eax, cl
mov cl, byte [esi + 0x86]
and edi, edx
mov ebx, dword [esi + 0x7c]
shl eax, cl
mov cl, byte [esi + 0x85]
shr edi, cl
mov cl, byte [esi + 0x84]
mov dword [esp + 0x38], 0
shl edi, cl
mov cl, byte [esi + 0x83]
or eax, edi
mov edi, dword [esi + 0x70]
and edi, edx
shr edi, cl
mov cl, byte [esi + 0x82]
shl edi, cl
mov cl, byte [esi + 0x81]
or eax, edi
mov edi, dword [esi + 0x6c]
and edi, edx
shr edi, cl
mov cl, byte [esi + 0x80]
shl edi, cl
mov ecx, dword [esi + 0x110]
or eax, edi
or eax, ebx
push eax
push esi
call fcn.10052a10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100464a2
lea ecx, [eax - 1]
mov al, byte [ecx]
test al, al
je 0x10046499
cmp al, 0xff
je 0x10046499
dec al
mov byte [ecx], al
jmp 0x100464a2
push ecx
call fcn.1008d22c
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x10049e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f1fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x30]
push esi
push 0
lea edx, [esp + 0xc]
push edx
mov esi, ecx
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x24], 0x10000
mov dword [esp + 0x28], 0x252
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jge 0x10049e7a
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
push ebx
push edi
mov edi, dword [esp + 0x40]
lea eax, [edi + edi*2]
shl eax, 1
push eax
call fcn.1009a535
push 0x1c
mov ebx, eax
call fcn.1009a535
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x34], 0
je 0x10049eb9
mov ecx, dword [esp + 0x10]
push edi
push ebp
push ebx
push ecx
push esi
mov ecx, eax
call fcn.100545b0
jmp 0x10049ebb
xor eax, eax
mov edx, dword [esi + 0x270]
mov ebp, dword [0x1011f87c]
lea ebx, [esi + 0x26c]
mov dword [esp + 0x3c], eax
mov esi, dword [edx + 4]
cmp esi, ebp
mov dword [esp + 0x34], 0xffffffff
mov edi, edx
mov cl, 1
je 0x10049efb
cmp eax, dword [esi + 0xc]
setb cl
test cl, cl
mov edi, esi
je 0x10049ef4
mov esi, dword [esi]
jmp 0x10049ef7
mov esi, dword [esi + 8]
cmp esi, ebp
jne 0x10049ee4
mov al, byte [ebx + 8]
test al, al
je 0x10049f0f
lea edx, [esp + 0x3c]
push edx
push edi
push esi
lea eax, [esp + 0x20]
jmp 0x10049f4a
test cl, cl
mov dword [esp + 0x40], edi
je 0x10049f32
cmp edi, dword [edx]
jne 0x10049f29
lea ecx, [esp + 0x3c]
push ecx
push edi
push esi
lea edx, [esp + 0x20]
push edx
jmp 0x10049f4b
lea ecx, [esp + 0x40]
call fcn.1004df20
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp dword [ecx + 0xc], eax
jae 0x10049f52
lea edx, [esp + 0x3c]
push edx
push edi
push esi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.1004c440
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x10069ce0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100f2b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov al, 1
push edi
xor edi, edi
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x1c]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push edi
mov dword [esp + 0x18], esi
mov byte [ecx], al
call fcn.10001fd1
mov dword [esi + 0x2c], edi
mov ebp, 0x3f800000
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
push edi
lea ebx, [esi + 0x58]
push ebp
mov ecx, ebx
mov dword [esp + 0x2c], edi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
call fcn.1000d830
push edi
push ebp
push edi
lea ecx, [ebx + 0xc]
call fcn.1000d830
push ebp
push edi
push edi
lea ecx, [ebx + 0x18]
call fcn.1000d830
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
push edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
push ebp
push edi
lea ecx, [esi + 0xbc]
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
call fcn.1000d830
push ebp
push edi
push edi
lea ecx, [esi + 0xc8]
call fcn.1000d830
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi], 0x100f56d0
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10069e2c
mov ecx, dword [eax + 0x14]
cmp ecx, edi
mov dword [esi + 8], ecx
je 0x10069e21
mov dword [ecx + 4], esi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x10069e50
mov dword [eax + 0x10], esi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x10069e50
mov edx, dword [0x10123c98]
mov dword [esi + 8], edx
cmp dword [0x10123c98], edi
je 0x10069e44
mov eax, edx
mov dword [eax + 4], esi
jmp 0x10069e4a
mov dword [0x10123c9c], esi
mov dword [0x10123c98], esi
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1007d3b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f3579
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esi + 0x20]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], edi
je 0x1007d426
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
mov byte [esp + 0x1c], 3
je 0x1007d3f9
push 1
call fcn.1007d480
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x1007d407
push 1
call fcn.1007d480
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + 0x14], eax
call fcn.1008d22c
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.1008d22c
add esp, 8
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x14], eax
call fcn.1008d22c
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x14]
push eax
mov dword [esp + 0x18], eax
call fcn.1008d22c
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], eax
call fcn.1008d22c
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100a0237
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10109858
cmp edx, dword [eax]
je 0x100a0259
add eax, 8
inc ecx
cmp eax, 0x101098e8
jl 0x100a024a
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10109858]
jne 0x100a0387
mov eax, dword [0x10126fe0]
cmp eax, 1
je 0x100a0361
test eax, eax
jne 0x100a028a
cmp dword [0x10126fe4], 1
je 0x100a0361
cmp edx, 0xfc
je 0x100a0387
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100a02c1
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100a35a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10099a40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100a0304
lea eax, [ebp - 0x1a4]
push eax
call fcn.10099a40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100f69ec
push edi
call fcn.100a68c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100a35a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100a35b0
lea eax, [ebp - 0xa0]
push 0x100f69cc
push eax
call fcn.100a35b0
push dword [esi + 0x1010985c]
lea eax, [ebp - 0xa0]
push eax
call fcn.100a35b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100a8220
add esp, 0x2c
pop edi
jmp 0x100a0387
lea eax, [ebp + 8]
lea esi, [esi + 0x1010985c]
push 0
push eax
push dword [esi]
call fcn.10099a40
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]
pop esi
leave
ret

Function at 0x100ac635
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100ac650
cmp byte [esi + 0x20], 0
je 0x100ac650
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0x1c], 0
pop esi
ret

Function at 0x100ac6fa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.100ac656
mov esi, eax
pop ecx
sub esi, 0x64
cmp esi, 1
jae 0x100ac717
xor eax, eax
jmp 0x100ac738
push edi
call fcn.100ac635
pop ecx
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push edi
push 0x100ac871
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x100b288a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push edi
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x100b28c8
test eax, eax
je 0x100b28c4
cmp eax, 1
je 0x100b28c0
cmp eax, 2
jne 0x100b28d1
push 0xf
jmp 0x100b28ca
push 2
jmp 0x100b28ca
push 0
jmp 0x100b28ca
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop ebp
ret
Function at 0x100b28d6
Capabilities:
Terminate thread

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret
Function at 0x100b5f26
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
push ebx
lea eax, [ebp - 8]
push edi
push eax
xor edi, edi
push 1
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionMultimediaMIDIMap
push reloc.WSOCK32.dll_accept
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100b6035
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x340]
push eax
push edi
push edi
push str.CurrentInstrument
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
push 0x134
lea eax, [ebp - 0x140]
push edi
push eax
call fcn.1009a5d0
mov eax, dword [0x10133e0c]
add esp, 0xc
lea edx, [ebp - 0x140]
mov dword [ebp - 0x140], 0x134
mov ecx, dword [eax]
push edx
push dword [ebp - 4]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, edi
jne 0x100b5ffb
cmp dword [ebp - 0x128], 1
jne 0x100b5ffb
push edi
push edi
lea eax, [ebp - 0x240]
push 0x100
push eax
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.100a0390
pop ecx
test eax, eax
pop ecx
je 0x100b6008
inc dword [ebp - 4]
cmp ebx, 1
je 0x100b6027
jmp 0x100b5f80
lea eax, [ebp - 0x138]
push 0x10
push eax
push dword [ebp + 8]
call fcn.1009a200
mov eax, dword [0x1010c97c]
add esp, 0xc
test byte [eax + 8], 1
je 0x100b6035
mov eax, dword [0x10133e0c]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
pop edi
pop ebx
leave
ret
Function at 0x100c29c5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov esi, ecx
push eax
xor edi, edi
push str.software_asio
push reloc.WSOCK32.dll_bind
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [esi + 4], edi
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100c2a2d
lea ecx, [ebp - 0x84]
mov eax, ebx
push 0x80
push ecx
push eax
inc ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, edi
jne 0x100c2a2d
push dword [esi]
lea eax, [ebp - 0x84]
push edi
push eax
push dword [ebp - 4]
call fcn.100c2a5f
add esp, 0x10
mov dword [esi], eax
jmp 0x100c29f7
cmp dword [ebp - 4], edi
je 0x100c2a3b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
cmp eax, edi
je 0x100c2a4c
inc dword [esi + 4]
mov eax, dword [eax + 0x298]
jmp 0x100c2a3d
cmp dword [esi + 4], edi
je 0x100c2a58
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c2a5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
push edi
jne 0x100c2ba9
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100c2bca
lea eax, [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 1
push eax
push esi
push str.clsid
mov dword [ebp + 8], 0x100
push dword [ebp - 4]
call edi
test eax, eax
jne 0x100c2b9d
lea eax, [ebp - 0x3dc]
push 0x200
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.100c2bd0
add esp, 0xc
test eax, eax
jne 0x100c2b9d
mov ebx, 0x29c
push ebx
call fcn.1009a535
mov esi, eax
pop ecx
test esi, esi
je 0x100c2b9d
push ebx
push 0
push esi
call fcn.1009a5d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], eax
lea eax, [ebp - 0x1dc]
push 0x64
push eax
lea eax, [ebp - 0x114]
push 0xffffffffffffffff
xor ebx, ebx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x100c2b57
lea eax, [ebp - 0x14]
push 0x10
push eax
lea eax, [esi + 4]
push eax
call fcn.1009a200
add esp, 0xc
lea eax, [ebp + 8]
mov dword [ebp + 0x14], 1
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push str.description
mov dword [ebp + 8], 0x100
push dword [ebp - 4]
call edi
test eax, eax
jne 0x100c2b8c
lea eax, [ebp - 0x114]
push eax
jmp 0x100c2b8f
push dword [ebp + 0xc]
lea eax, [esi + 0x214]
push eax
call fcn.100a35a0
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
jmp 0x100c2bca
mov eax, dword [ebp + 0x10]
push dword [esi + 0x298]
lea edi, [esi + 0x298]
inc eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100c2a5f
add esp, 0x10
mov dword [edi], eax
mov eax, esi
pop edi
pop esi
leave
ret