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

Disassembly:
not edx
not edx
mov eax, 0
cld
clc
nop
cld
not ebp
not ebp
cld
dec esp
inc esp
cld
push eax
nop
sahf
wait
mov ch, ch
not dh
not dh
imul eax, eax, 0x10
stc
xchg dword [esp], eax
jmp 0x4295b6
add al, dl
lea edx, [edx + ebx]
sub cl, 0x31
push dword [edx + 0x20]
pop esi
lea esi, [ebx + esi]
jmp 0x42972c
cmp dh, 0x94
add esi, ebx
clc
ret 4
sahf
cmc
sub dword [esp], eax
cld
movzx eax, byte [edi]
sub edi, 0xffffffff
jmp 0x4297b3
mov edi, dword [edx + 0x1c]
cmp eax, 0xffffffa2
not eax
adc eax, 0xe68ae329
mov eax, 0x334a8761
cmp ah, 2
mov esi, dword [edx + 0x24]
dec dh
cld
add esi, ebx
xchg edx, edx
movzx eax, word [esi + ecx*2]
jmp 0x429671
mov dl, dh
add edi, ebx
mov esi, dword [edi + eax*4]
jmp 0x4295ad
lea ecx, [ecx]
not esi
not esi
not bl
not bl
jne 0x4250d3
xchg edx, edx
xchg edx, edx
lea ecx, [ecx]
xor eax, 0x69521502
jmp 0x4298e8
ret
push dword [ebx + 0x3c]
mov edx, ecx
cmp cl, 0xb8
xchg ecx, edi
xchg ecx, esi
nop
lahf
cld
sbb al, bl
pop eax
mov edi, ecx
mov edx, dword [eax + ebx + 0x78]
jmp 0x4294cc
add ecx, 1
cmp edi, 0xffffffa9
lodsd eax, dword [esi]
jmp 0x42979e
push 0xffffffffffffffff
xchg ah, al
cmp ah, dl
xchg edi, edi
not al
mov edi, esi
and al, dh
pop ecx
jmp 0x429720
lea edi, [eax + ebx]
xchg edx, ebp
xchg edx, ebp
cmp ecx, dword [edx + 0x18]
je 0x429700
jmp 0x4250be
sub dword [esp], eax
pop eax
test byte [edi], 0xff
jmp 0x429697
nop
sub eax, dword [esp + 4]
jne 0x429720
jmp 0x429617

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x408967
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov ecx, dword [esp]
add esp, 4
call fcn.00408991
add edi, 0x8eb4b05a
xor dword [esi], ecx
inc edi
sub edi, edx
add esi, 1
and edx, edi
mov edi, edi
cmp esi, eax
jne fcn.00408967
ret
Function at 0x4019b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x983a08]
sub esp, 0x110
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x401b5d
cmp dword [0x983a0c], 0
jne 0x401b49
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x401a00
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x4190d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x401a10
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x4190d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x401a45
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004042c0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401aa4
sub edx, esi
sar edx, 1
je 0x401b5d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x401ac0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x104
ja 0x401b5d
xor eax, eax
push ebx
test edx, edx
je 0x401af8
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x401af8
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x401ae1
xor eax, eax
test edx, edx
je 0x401b12
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x401b12
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b00
xor eax, eax
test edx, edx
je 0x401b2f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x401b2f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b20
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x983a08]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x110
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x110
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
Function at 0x402c50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x983b4c]
sub esp, 0x11c
test eax, eax
jne 0x402d4c
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x402ca0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x419100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x402cb0
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x419104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x402ce5
lea edx, [esp + 0xc]
call fcn.004012e0
pop edi
pop esi
pop ebx
test eax, eax
je 0x402d47
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402d47
mov dword [0x983b4c], eax
add esp, 0x11c
ret
mov eax, dword [0x983b4c]
add esp, 0x11c
ret
Function at 0x403c70
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x983b48
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x403d99
cmp dword fs:[0xc0], eax
je 0x403c9b
mov dword [0x983b44], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x983a2c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x983a30], eax
movzx edx, word [esi + 0xac]
mov dword [0x983a34], edx
mov eax, dword [esi + 0xb0]
mov dword [0x983a38], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x403cfb
push 0x7f
push eax
push 0x983a3c
call fcn.004042f0
mov edx, dword [0x983a34]
add esp, 0xc
jmp 0x403d03
xor eax, eax
mov word [0x983a3c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x983b3c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x983b3e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x983b40], ax
mov ecx, eax
mov byte [0x983b42], 0
cmp byte [0x7ffe0268], 0
je 0x403d4a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x983b42], bl
cmp ebx, 1
pop ebx
jne 0x403d64
and ecx, 0xffef
mov word [0x983b40], cx
test edx, edx
jne 0x403d99
call fcn.00403c70
cmp dword [0x983a2c], 6
ja 0x403d99
jb 0x403d81
cmp dword [0x983a30], 4
jae 0x403d99
call fcn.00403c70
cmp dword [0x983a2c], 0xa
jae 0x403d99
mov dword [0x983a34], 1
ret
Function at 0x418c62
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x12010db0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa4
call fcn.120320b0
mov eax, dword [0x1204fd40]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x18], esi
sub esi, edi
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
cmp ebx, edi
jae 0x12010e1a
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
cmp edi, 0x40
jbe 0x12010e36
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
lea ecx, [esp + 0x30]
neg ecx
and ecx, 0x3f
lea edx, [edi + 0x100]
lea ecx, [esp + ecx + 0x30]
mov dword [esp + 0x1c], ecx
cmp ebx, edx
jbe 0x12010e60
mov eax, ebx
sub eax, edi
sub eax, 0x100
mov dword [esp + 0x10], eax
mov ebp, eax
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
xor edx, edx
div edi
push edi
push 0
push ecx
mov ebx, edx
mov dword [esp + 0x30], ebx
call fcn.12032460
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
cmp edx, dword [esp + 0xc4]
jae 0x12010f3f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub edx, ecx
mov ebx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xc]
shr eax, 0x1f
shr ebx, 0x1f
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x12010ed8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ecx, ebx
shr ecx, 0x1f
xor cl, al
mov edx, ebp
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, ebx
mov bl, byte [esp + 0x2c]
shr eax, 0x1f
xor al, bl
xor bl, dl
or al, bl
xor al, dl
dec al
xor cl, dl
mov edx, dword [esp + 0x14]
mov dl, byte [edx + ebp]
not al
inc dword [esp + 0x10]
and al, dl
dec cl
and al, cl
mov ecx, dword [esp + 0x1c]
or byte [esi + ecx], al
inc esi
mov eax, esi
sub eax, edi
xor eax, edi
mov ecx, esi
xor ecx, edi
or eax, ecx
xor eax, esi
shr eax, 0x1f
neg eax
inc ebp
and esi, eax
cmp ebp, dword [esp + 0xc4]
jb 0x12010ed0
mov ebx, dword [esp + 0x24]
xor eax, eax
test edi, edi
jbe 0x12010f76
mov esi, dword [esp + 0x1c]
mov edx, ebx
xor edx, 0x20
mov cl, byte [edx + esi]
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], dl
inc ebx
mov edx, ebx
sub edx, edi
xor edx, edi
mov ecx, ebx
xor ecx, edi
or edx, ecx
xor edx, ebx
shr edx, 0x1f
neg edx
inc eax
and ebx, edx
cmp eax, edi
jb 0x12010f45
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.12032445
add esp, 0xa4
ret

Function at 0x12032445
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1204fd40]
jne 0x1203244f
repz ret
jmp fcn.12033781
Function at 0x1203a5d3
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.120360ff
and dword [ebp - 4], 0
cmp dword [0x12051960], 0
mov ebx, eax
jne 0x1203a684
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1203a735
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1203a735
push eax
call fcn.1203608d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x12051960], eax
call esi
push eax
call fcn.1203608d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x12051964], eax
call esi
push eax
call fcn.1203608d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x12051968], eax
call esi
push eax
call fcn.1203608d
pop ecx
mov dword [0x12051970], eax
test eax, eax
je 0x1203a684
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1203608d
pop ecx
mov dword [0x1205196c], eax
mov eax, dword [0x1205196c]
cmp eax, ebx
je 0x1203a6dc
cmp dword [0x12051970], ebx
je 0x1203a6dc
push eax
call fcn.12036108
push dword [0x12051970]
mov esi, eax
call fcn.12036108
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1203a6dc
test edi, edi
je 0x1203a6dc
call esi
test eax, eax
je 0x1203a6d3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1203a6d3
test byte [ebp - 0xc], 1
jne 0x1203a6dc
or dword [ebp + 0x10], 0x200000
jmp 0x1203a715
mov eax, dword [0x12051964]
cmp eax, ebx
je 0x1203a715
push eax
call fcn.12036108
pop ecx
test eax, eax
je 0x1203a715
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1203a715
mov eax, dword [0x12051968]
cmp eax, ebx
je 0x1203a715
push eax
call fcn.12036108
pop ecx
test eax, eax
je 0x1203a715
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x12051960]
call fcn.12036108
pop ecx
test eax, eax
je 0x1203a735
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1203a737
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7901b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00790140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00790140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00790140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00790140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x790bfa
Capabilities:
Query or enumerate registry value

Disassembly:
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 str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x790c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7a287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x790c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x790c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x402060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4100a4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x4020a4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00402479
mov esp, ebp
pop ebp
ret 0x10
mov edi, 1
mov byte [esp + 0xf], bl
cmp dword [0x410f74], edi
jle 0x4021e8
lea esp, [esp]
mov eax, dword [0x410f7c]
mov ecx, dword [eax + edi*4]
cmp word [ecx], 0x2f
jne 0x4021d5
mov edx, ecx
movzx eax, word [edx + 2]
cmp eax, 0x69
je 0x402157
cmp eax, 0x75
jne 0x4021d5
lea esi, [esp + 0x64]
mov byte [esp + 0xf], 1
call fcn.00401930
push eax
lea ecx, [esp + 0x30]
call fcn.00401230
push eax
call fcn.00401950
add esp, 8
cmp dword [esp + 0x40], 8
jb 0x40211b
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040246e
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x78], 8
mov esi, 7
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
jb 0x402143
mov edx, dword [esp + 0x64]
push edx
call fcn.0040246e
add esp, 4
xor eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
jmp 0x4021d5
lea esi, [esp + 0x80]
mov byte [esp + 0xf], 1
call fcn.00401910
push eax
lea ecx, [esp + 0x4c]
call fcn.00401230
push eax
call fcn.00401950
add esp, 8
cmp dword [esp + 0x5c], 8
jb 0x40218f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0040246e
add esp, 4
xor edx, edx
cmp dword [esp + 0x94], 8
mov esi, 7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
jb 0x4021bd
mov eax, dword [esp + 0x80]
push eax
call fcn.0040246e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
inc edi
cmp edi, dword [0x410f74]
jl 0x4020c0
cmp byte [esp + 0xf], bl
jne 0x4021fd
push 1
push ebx
push ebx
push str.http:__www.default_search.net__sid0aid0typenver5.0.0.12302tm60srcieb
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push ebx
xor eax, eax
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x402261
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ecx]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
push 1
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
jne 0x402240
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402479
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402479
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4100a4]
jne 0x402483
repz ret
jmp fcn.00403366
Function at 0x101b4c54
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10218090]
jne 0x101b4c5e
repz ret
jmp fcn.101bc3bc

Function at 0x101c07cb
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.101b3413
and dword [ebp - 4], 0
cmp dword [0x10219a8c], 0
mov ebx, eax
jne 0x101c087c
push 0x101cd810
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101c092d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101cd804
push edi
call esi
test eax, eax
je 0x101c092d
push eax
call fcn.101b33a1
mov dword [esp], 0x101cd7f4
push edi
mov dword [0x10219a8c], eax
call esi
push eax
call fcn.101b33a1
mov dword [esp], 0x101cd7e0
push edi
mov dword [0x10219a90], eax
call esi
push eax
call fcn.101b33a1
mov dword [esp], 0x101cd7c4
push edi
mov dword [0x10219a94], eax
call esi
push eax
call fcn.101b33a1
pop ecx
mov dword [0x10219a9c], eax
test eax, eax
je 0x101c087c
push 0x101cd7ac
push edi
call esi
push eax
call fcn.101b33a1
pop ecx
mov dword [0x10219a98], eax
mov eax, dword [0x10219a98]
cmp eax, ebx
je 0x101c08d4
cmp dword [0x10219a9c], ebx
je 0x101c08d4
push eax
call fcn.101b341c
push dword [0x10219a9c]
mov esi, eax
call fcn.101b341c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101c08d4
test edi, edi
je 0x101c08d4
call esi
test eax, eax
je 0x101c08cb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101c08cb
test byte [ebp - 0xc], 1
jne 0x101c08d4
or dword [ebp + 0x10], 0x200000
jmp 0x101c090d
mov eax, dword [0x10219a90]
cmp eax, ebx
je 0x101c090d
push eax
call fcn.101b341c
pop ecx
test eax, eax
je 0x101c090d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101c090d
mov eax, dword [0x10219a94]
cmp eax, ebx
je 0x101c090d
push eax
call fcn.101b341c
pop ecx
test eax, eax
je 0x101c090d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10219a8c]
call fcn.101b341c
pop ecx
test eax, eax
je 0x101c092d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101c092f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101c4240
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
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 [0x10217620], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101c42cf
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x101c42cf
jmp 0x101c42e5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101c42b2
xor eax, eax
mov dword [0x10217624], 0x1864
mov dword [ebp - 0x20], eax
jmp 0x101c4358
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x101c4358
jmp 0x101c429e
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 - 0x18], edx
jne 0x101c4276
mov eax, dword [ebp - 0x18]
mov dword [0x10217624], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101c429e
mov dword [0x10217624], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101c429e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101c429e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101c429e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101c428f
jmp 0x101c429e
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x101c45f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x10217624]
add ecx, 0x77c
mov dword [0x10217624], ecx
mov dword [ebp - 0x10], eax
call fcn.101c4ea6
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x10217624], 0x10e8
mov edi, dword [0x10217620]
add edi, 0xfffffe9f
mov dword [0x10217624], edi
mov esi, dword [eax + esi + 0x78]
mov dword [0x10217620], 0x171d
mov ebx, edx
add ebx, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
jne 0x101c4686
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x29]
test al, 1
jne 0x101c4752
jmp 0x101c471f
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
xor esi, esi
add eax, 0x77c
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx*4]
mov dword [0x10217624], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x29], cl
je 0x101c4676
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x29]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x101c46c8
jmp 0x101c4676
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
jb 0x101c469e
jmp 0x101c466b
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10217620], 0xfffff748
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x28], edi
jmp 0x101c466b