joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f6a00
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4f6a20
push 0x53d4cc
push str.....UTILwinCryptowinCrypto.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi], 0
je 0x4f6a3f
push 0x53ae34
push str.....UTILwinCryptowinCrypto.cpp
call fcn.0041afb0
add esp, 8
pop esi
pop edi
pop ebp
ret
cmp dword [edi + 0x410], 0
jne 0x4f6a5e
push 0x542374
push str.....UTILwinCryptowinCrypto.cpp
call fcn.0041afb0
add esp, 8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f6a64
sub ecx, edx
push ebx
mov dword [ebp + 8], ecx
lea ebx, [ecx + 0x81]
push ebx
call fcn.0051a195
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x4f6a9d
push 0x542edc
push str.....UTILwinCryptowinCrypto.cpp
call fcn.0041afb0
add esp, 8
pop ebx
pop esi
pop edi
pop ebp
ret
push ebx
push 0
push eax
call fcn.00503c50
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [esi]
call fcn.00504960
add esp, 0x18
lea eax, [ebp + 8]
push ebx
push eax
push dword [esi]
push 0
push 1
push 0
push dword [edi + 0x410]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x4f6b29
push dword [esi]
call fcn.0050c350
add esp, 4
mov dword [esi], 0
cmp dword [edi + 0x404], 0
je 0x4f6b12
cmp dword [edi], 0
je 0x4f6b12
push dword [edi + 0x414]
lea esi, [edi + 4]
push str.CryptEncrypt_failed:__x_n
push esi
call fcn.00401870
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx]
push esi
push 1
call dword [eax + 0x14]
push 0x53ad6c
push str.....UTILwinCryptowinCrypto.cpp
call fcn.0041afb0
add esp, 8
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
pop ebx
pop esi
mov dword [ecx], eax
xor eax, eax
pop edi
pop ebp
ret
Function at 0x51983d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051959b

Function at 0x519848
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00519680

Function at 0x523c69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052392c

Function at 0x523c74
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00523aad

Function at 0x5276ae
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052736e

Function at 0x530091
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x530155
push edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], edi
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x530144
cmp dword [ebp - 0x110], 2
lea eax, [ebp - 0x108]
mov byte [ebp - 5], bl
jne 0x530135
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x530144
push eax
push edi
push esi
call fcn.00530169
xor ebx, ebx
test eax, eax
setns bl
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x530157
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff105
mov esp, ebp
pop ebp
ret 4
Function at 0x418c47
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.00412d56
and dword [ebp - 4], 0
cmp dword [0x44fcd4], 0
mov ebx, eax
jne 0x418cf8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x418da9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x418da9
push eax
call fcn.00412ce4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44fcd4], eax
call esi
push eax
call fcn.00412ce4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44fcd8], eax
call esi
push eax
call fcn.00412ce4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44fcdc], eax
call esi
push eax
call fcn.00412ce4
pop ecx
mov dword [0x44fce4], eax
test eax, eax
je 0x418cf8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412ce4
pop ecx
mov dword [0x44fce0], eax
mov eax, dword [0x44fce0]
cmp eax, ebx
je 0x418d50
cmp dword [0x44fce4], ebx
je 0x418d50
push eax
call fcn.00412d5f
push dword [0x44fce4]
mov esi, eax
call fcn.00412d5f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x418d50
test edi, edi
je 0x418d50
call esi
test eax, eax
je 0x418d47
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418d47
test byte [ebp - 0xc], 1
jne 0x418d50
or dword [ebp + 0x10], 0x200000
jmp 0x418d89
mov eax, dword [0x44fcd8]
cmp eax, ebx
je 0x418d89
push eax
call fcn.00412d5f
pop ecx
test eax, eax
je 0x418d89
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418d89
mov eax, dword [0x44fcdc]
cmp eax, ebx
je 0x418d89
push eax
call fcn.00412d5f
pop ecx
test eax, eax
je 0x418d89
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44fcd4]
call fcn.00412d5f
pop ecx
test eax, eax
je 0x418da9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x418dab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
nop
nop
nop
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42dfe0
clc
jle 0x42e068
add byte [eax - 0x6f267670], dl
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x53ae25c8
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
clc
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xca91675
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x6a76c7]
shl eax, 2
mov dword [0x6a76cb], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00560834
pop edx
call fcn.00560798
call fcn.00560874
push 0
call fcn.00565574
pop ecx
push 0x6a7670
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x6a76cf], eax
push 0
jmp fcn.005720d8
Function at 0x4875a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004f717c
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x48f760
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
push edi
push esi
add esp, 4
xor edi, 0x8eb8
pop edi
push ebx
push esi
add esp, 4
sub ebx, 0x10a86
or ebx, 0xacc2
add byte [eax], al
pop ebx
push edx
and edx, 0x10405
sub edx, 0xc34
add edx, 0x71fb
pop edx
mov dword [ebp - 0x2c], 1
push ecx
push edi
add esp, 4
call 0x48f760
add byte [eax + 0x3f], dl
dec ebx
inc esp
inc edi
inc edi
cmp dword [ebx - 0x3e7efb3c], eax
mov al, 0x3c
add byte [eax], al
jmp 0x48f770
call 0x48f77c
add byte [ebx + 0x4e], cl
cmp byte [esi + 0x4b], cl
dec ebx
add esp, 4
pop ecx
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x48f961

Function at 0x48f77c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
push edi
push esi
add esp, 4
xor edi, 0x8eb8
pop edi
push ebx
push esi
add esp, 4
sub ebx, 0x10a86
or ebx, 0xacc2
add byte [eax], al
pop ebx
push edx
and edx, 0x10405
sub edx, 0xc34
add edx, 0x71fb
pop edx
mov dword [ebp - 0x2c], 1
push ecx
push edi
add esp, 4
call 0x48f760
add byte [eax + 0x3f], dl
dec ebx
inc esp
inc edi
inc edi
cmp dword [ebx - 0x3e7efb3c], eax
mov al, 0x3c
add byte [eax], al
jmp 0x48f770
call 0x48f77c
add byte [ebx + 0x4e], cl
cmp byte [esi + 0x4b], cl
dec ebx
add esp, 4
pop ecx
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x48f961

Function at 0x492b5b
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
or eax, dword [eax]
add byte [eax], al
add byte [eax + eax*2 + 0x3b], al
xor bh, byte [esi]
dec esi
inc ebp
dec esp
xor dh, byte [ebx]
add esp, 4
pop ebx
mov ecx, dword [ebp - 0x212c]
mov dword [ebp - 0x160c], ecx
push edi
and edi, 0x121fc
or edi, 0x9194
or edi, 0x789c
xor edi, 0x14f13
pop edi
push ebx
push esi
add esp, 4
and ebx, 0x1428d
sub ebx, 0xc0d0
sub ebx, 0x96a
pop ebx
mov edx, dword [ebp - 0x14]
add edx, 0x138
imul eax, dword [ebp - 0x10], 0x138
add eax, 0x44f3644b
imul ecx, dword [ebp - 0x10], 0x138
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x160c], edx
jmp 0x95d52bc8
adc ah, bh
invalid
dec dword [ecx - 0x20676b]
dec dword [ebx - 0x20677b]
inc dword [ebx]
test esp, esi
jmp 0x85d32be0
adc ah, bh
invalid
call dword [edx - 0x18]
or al, byte [eax]
add byte [eax], al
add byte [0x423b3e42], bh
xor edi, dword [ecx]
cmp dword [ebx + eax*4 - 0x3c], ecx
add al, 0x81
ljmp 0xea81
Function at 0x492bf5
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
or eax, dword [eax]
add byte [eax], al
add byte [eax + eax*2 + 0x3b], al
xor bh, byte [esi]
dec esi
inc ebp
dec esp
xor dh, byte [ebx]
add esp, 4
pop ebx
mov ecx, dword [ebp - 0x212c]
mov dword [ebp - 0x160c], ecx
push edi
and edi, 0x121fc
or edi, 0x9194
or edi, 0x789c
xor edi, 0x14f13
pop edi
push ebx
push esi
add esp, 4
and ebx, 0x1428d
sub ebx, 0xc0d0
sub ebx, 0x96a
pop ebx
mov edx, dword [ebp - 0x14]
add edx, 0x138
imul eax, dword [ebp - 0x10], 0x138
add eax, 0x44f3644b
imul ecx, dword [ebp - 0x10], 0x138
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x160c], edx
jmp 0x95d52bc8
adc ah, bh
invalid
dec dword [ecx - 0x20676b]
dec dword [ebx - 0x20677b]
inc dword [ebx]
test esp, esi
jmp 0x85d32be0
adc ah, bh
invalid
call dword [edx - 0x18]
or al, byte [eax]
add byte [eax], al
add byte [0x423b3e42], bh
xor edi, dword [ecx]
cmp dword [ebx + eax*4 - 0x3c], ecx
add al, 0x81
ljmp 0xea81
Function at 0x4944b1
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push esi
add esp, 4
xor esi, 0x16bce
sub esi, 0x51ea
and esi, 0x7245
pop esi
push eax
push ebx
add esp, 4
jmp 0x4943e3
xor eax, 0xadba
xor eax, 0x1e22
pop eax
lea edx, [ebp - 0x1790]
mov dword [ebp - 0xd04], edx
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd00], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push esi
or esi, 0x9cae
pop esi
push ebx
push ecx
add esp, 4
xor ebx, 0xd15c
jmp 0x494433
or ebx, 0x129de
call fcn.00494448
add byte [edi], bh
inc edx
inc eax
xor edx, dword [eax + 0x48]
dec edi
dec edx
add esp, 4
add esp, 4
add esp, 4
pop ebx
mov ecx, dword [ebp - 0xd00]
mov dx, word [ecx]
mov word [ebp - 0x108a], dx
mov eax, dword [ebp - 0xd00]
add eax, 2
mov dword [ebp - 0xd00], eax
mov cx, word [ebp - 0x108a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xd04]
mov ax, word [edx]
mov word [ebp - 0x108c], ax
mov ecx, dword [ebp - 0xd04]
add ecx, 2
mov dword [ebp - 0xd04], ecx
mov dx, word [ebp - 0x108c]
mov word [ebp - 0x34], dx
push eax
call 0x4944b1
add byte [edx + 0x33], cl
inc esi
cmp edi, dword [edi]
inc esi
xor eax, 0xeb04c483
add al, 0x4e
cmp dword [esi + 0x45], ecx
or eax, 0xc111
sub eax, 0x145d0
pop eax
push edi
sub edi, 0x16869
xor edi, 0xe315
pop edi
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4944f2
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1650], ecx
jmp 0x49454c
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x49441a
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x49441a
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x494536
mov dword [ebp - 0x164c], 0xffffffff
jmp 0x494540
mov dword [ebp - 0x164c], 1
mov eax, dword [ebp - 0x164c]
mov dword [ebp - 0x1650], eax
cmp dword [ebp - 0x1650], 0
jne 0x494595
push ecx
push edx
add esp, 4
and ecx, 0x12d0c
or ecx, 0x11650
jmp 0x49456f
pop ecx
push ecx
push esi
add esp, 4
call 0x494583
add byte [ebx + 0x35], cl
xor al, 0x49
cmp edi, dword [edi]
cmp byte [ebx + eax*4 - 0x3c], cl
add al, 0x59
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x2fc], ecx
jmp 0x4945fd
push esi
or esi, 0x269f
pop esi
push eax
add eax, 0x18fe
sub eax, 0x16b37
pop eax
push eax
and eax, 0x96fc
and eax, 0x1539a
sub eax, 0x1049e
pop eax
push edi
xor edi, 0x8e32
pop edi
mov edx, dword [ebp - 0x510]
mov eax, dword [edx]
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [ebp - 0xd08]
je 0x4945f3
mov edx, dword [ebp - 0x510]
cmp dword [edx + 0x30], 0
jne 0x4943be
mov dword [ebp - 0x2fc], 0
Function at 0x494583
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push esi
add esp, 4
xor esi, 0x16bce
sub esi, 0x51ea
and esi, 0x7245
pop esi
push eax
push ebx
add esp, 4
jmp 0x4943e3
xor eax, 0xadba
xor eax, 0x1e22
pop eax
lea edx, [ebp - 0x1790]
mov dword [ebp - 0xd04], edx
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd00], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push esi
or esi, 0x9cae
pop esi
push ebx
push ecx
add esp, 4
xor ebx, 0xd15c
jmp 0x494433
or ebx, 0x129de
call fcn.00494448
add byte [edi], bh
inc edx
inc eax
xor edx, dword [eax + 0x48]
dec edi
dec edx
add esp, 4
add esp, 4
add esp, 4
pop ebx
mov ecx, dword [ebp - 0xd00]
mov dx, word [ecx]
mov word [ebp - 0x108a], dx
mov eax, dword [ebp - 0xd00]
add eax, 2
mov dword [ebp - 0xd00], eax
mov cx, word [ebp - 0x108a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xd04]
mov ax, word [edx]
mov word [ebp - 0x108c], ax
mov ecx, dword [ebp - 0xd04]
add ecx, 2
mov dword [ebp - 0xd04], ecx
mov dx, word [ebp - 0x108c]
mov word [ebp - 0x34], dx
push eax
call 0x4944b1
add byte [edx + 0x33], cl
inc esi
cmp edi, dword [edi]
inc esi
xor eax, 0xeb04c483
add al, 0x4e
cmp dword [esi + 0x45], ecx
or eax, 0xc111
sub eax, 0x145d0
pop eax
push edi
sub edi, 0x16869
xor edi, 0xe315
pop edi
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4944f2
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1650], ecx
jmp 0x49454c
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x49441a
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x49441a
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x494536
mov dword [ebp - 0x164c], 0xffffffff
jmp 0x494540
mov dword [ebp - 0x164c], 1
mov eax, dword [ebp - 0x164c]
mov dword [ebp - 0x1650], eax
cmp dword [ebp - 0x1650], 0
jne 0x494595
push ecx
push edx
add esp, 4
and ecx, 0x12d0c
or ecx, 0x11650
jmp 0x49456f
pop ecx
push ecx
push esi
add esp, 4
call 0x494583
add byte [ebx + 0x35], cl
xor al, 0x49
cmp edi, dword [edi]
cmp byte [ebx + eax*4 - 0x3c], cl
add al, 0x59
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x2fc], ecx
jmp 0x4945fd
push esi
or esi, 0x269f
pop esi
push eax
add eax, 0x18fe
sub eax, 0x16b37
pop eax
push eax
and eax, 0x96fc
and eax, 0x1539a
sub eax, 0x1049e
pop eax
push edi
xor edi, 0x8e32
pop edi
mov edx, dword [ebp - 0x510]
mov eax, dword [edx]
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [ebp - 0xd08]
je 0x4945f3
mov edx, dword [ebp - 0x510]
cmp dword [edx + 0x30], 0
jne 0x4943be
mov dword [ebp - 0x2fc], 0
Function at 0x494bd8
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
invalid
dec dword [ecx - 0x165f7b]
call dword [ebx - 0x7f]
jecxz 0x494bb5
jne 0x494bc9
add al, ch
or dword [eax], eax
add byte [eax], al
add byte [ecx + 0x38], al
inc esp
dec ebp
dec edx
inc ebx
cmp edi, dword [esi]
add esp, 4
add ebx, 0xb1a1
pop ebx
push eax
push ebx
add esp, 4
jmp 0x494bef
jmp fcn.00494bf4
Function at 0x494c80
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
add edx, 0x162c7
or edx, 0x176e1
xor edx, 0x6d39
pop edx
push edx
push ebx
add esp, 4
xor edx, 0x1f51
jmp 0x494ca6
pop edx
lea edx, [ebp - 0x1790]
mov dword [ebp - 0xd14], edx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd10], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edi
push esi
add esp, 4
or edi, 0xd288
pop edi
push esi
push edx
add esp, 4
add esi, 0x108a1
pop esi
push edi
push ecx
add esp, 4
jmp 0x494cf6
and edi, 0x46b4
or edi, 0x7bd3
pop edi
mov ecx, dword [ebp - 0xd10]
mov dx, word [ecx]
mov word [ebp - 0x108e], dx
mov eax, dword [ebp - 0xd10]
add eax, 2
mov dword [ebp - 0xd10], eax
mov cx, word [ebp - 0x108e]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xd14]
mov ax, word [edx]
mov word [ebp - 0x1090], ax
mov ecx, dword [ebp - 0xd14]
add ecx, 2
mov dword [ebp - 0xd14], ecx
mov dx, word [ebp - 0x1090]
mov word [ebp - 0x38], dx
push esi
push esi
add esp, 4
xor esi, 0xe504
call 0x494d74
add byte [ecx], bh
aas
inc esp
cmp byte [ebx], bh
inc ecx
cmp al, 0x36
xor eax, 0x5e04c483
push ebx
push eax
add esp, 4
jmp 0x494d83
pop ebx
push edx
add edx, 0x18a
pop edx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x494da9
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1668], ecx
jmp 0x494e03
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x494cd1
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x494cd1
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x494ded
mov dword [ebp - 0x1664], 0xffffffff
jmp 0x494df7
mov dword [ebp - 0x1664], 1
mov eax, dword [ebp - 0x1664]
mov dword [ebp - 0x1668], eax
cmp dword [ebp - 0x1668], 0
jne 0x494e4c
push edx
xor edx, 0x9ac
and edx, 0x1341d
xor edx, 0x10cef
jmp 0x494e25
pop edx
push ebx
push esi
add esp, 4
or ebx, 0x1c01
and ebx, 0x34ac
add ebx, 0x118ba
pop ebx
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x2d0], ecx
jmp 0x494eb4
push ecx
push edx
add esp, 4
add ecx, 0x13cfe
call 0x494e66
add byte [edi + 0x3a], al
cmp dword [esi + 0x3f], eax
dec esi
dec edx
xor dh, byte [esi]
add esp, 4
and ecx, 0x174eb
sub ecx, 0x7e54
pop ecx
push ebx
and ebx, 0x4e0f
pop ebx
mov edx, dword [ebp - 0x518]
mov eax, dword [edx]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [ebp - 0xd18]
je 0x494eaa
mov edx, dword [ebp - 0x518]
cmp dword [edx + 0x30], 0
jne 0x494c75
mov dword [ebp - 0x2d0], 0
Function at 0x494d74
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
add edx, 0x162c7
or edx, 0x176e1
xor edx, 0x6d39
pop edx
push edx
push ebx
add esp, 4
xor edx, 0x1f51
jmp 0x494ca6
pop edx
lea edx, [ebp - 0x1790]
mov dword [ebp - 0xd14], edx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd10], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edi
push esi
add esp, 4
or edi, 0xd288
pop edi
push esi
push edx
add esp, 4
add esi, 0x108a1
pop esi
push edi
push ecx
add esp, 4
jmp 0x494cf6
and edi, 0x46b4
or edi, 0x7bd3
pop edi
mov ecx, dword [ebp - 0xd10]
mov dx, word [ecx]
mov word [ebp - 0x108e], dx
mov eax, dword [ebp - 0xd10]
add eax, 2
mov dword [ebp - 0xd10], eax
mov cx, word [ebp - 0x108e]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xd14]
mov ax, word [edx]
mov word [ebp - 0x1090], ax
mov ecx, dword [ebp - 0xd14]
add ecx, 2
mov dword [ebp - 0xd14], ecx
mov dx, word [ebp - 0x1090]
mov word [ebp - 0x38], dx
push esi
push esi
add esp, 4
xor esi, 0xe504
call 0x494d74
add byte [ecx], bh
aas
inc esp
cmp byte [ebx], bh
inc ecx
cmp al, 0x36
xor eax, 0x5e04c483
push ebx
push eax
add esp, 4
jmp 0x494d83
pop ebx
push edx
add edx, 0x18a
pop edx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x494da9
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1668], ecx
jmp 0x494e03
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x494cd1
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x494cd1
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x494ded
mov dword [ebp - 0x1664], 0xffffffff
jmp 0x494df7
mov dword [ebp - 0x1664], 1
mov eax, dword [ebp - 0x1664]
mov dword [ebp - 0x1668], eax
cmp dword [ebp - 0x1668], 0
jne 0x494e4c
push edx
xor edx, 0x9ac
and edx, 0x1341d
xor edx, 0x10cef
jmp 0x494e25
pop edx
push ebx
push esi
add esp, 4
or ebx, 0x1c01
and ebx, 0x34ac
add ebx, 0x118ba
pop ebx
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x2d0], ecx
jmp 0x494eb4
push ecx
push edx
add esp, 4
add ecx, 0x13cfe
call 0x494e66
add byte [edi + 0x3a], al
cmp dword [esi + 0x3f], eax
dec esi
dec edx
xor dh, byte [esi]
add esp, 4
and ecx, 0x174eb
sub ecx, 0x7e54
pop ecx
push ebx
and ebx, 0x4e0f
pop ebx
mov edx, dword [ebp - 0x518]
mov eax, dword [edx]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [ebp - 0xd18]
je 0x494eaa
mov edx, dword [ebp - 0x518]
cmp dword [edx + 0x30], 0
jne 0x494c75
mov dword [ebp - 0x2d0], 0