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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov al, byte [esp + 0x78]
mov dword [esp + 0x34], edx
mov esi, edx
mov ebp, ecx
lea ebx, [esp + 0x1c]
mov byte [esp + 0x38], al
mov eax, dword [edx + 0x1c]
test eax, eax
mov dword [esp], eax
jne 0x46aa3a
push 0x14
push 0x49281f
push ebx
call fcn.00428900
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [esp], 0x1f4
mov ecx, eax
neg ecx
jo 0x46aa34
cmp eax, 0x80000001
jne 0x46aa1f
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
lea edi, [esp + 0x58]
mov dword [esp + 0x4c], eax
movsd qword [esp + 0x44], xmm0
push eax
push dword [esp + 0x4c]
push edi
call fcn.004398a0
add esp, 0xc
cmp byte [edi], 0
mov dword [esp], 0x1f4
jne 0x46aa2b
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x46aa25
mov ecx, 0x2710
cmp eax, ecx
cmovb ecx, eax
mov dword [esp], ecx
jmp 0x46aa2b
lea ecx, [esp + 0x1c]
jmp 0x46aa2f
xor eax, eax
inc eax
mov dword [esp], eax
lea ecx, [esp + 0x44]
call fcn.0046a6c9
mov eax, dword [esp]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x20]
mov dword [esp + 0x14], ebp
xor ebp, ebp
xor edi, edi
inc edi
mov dword [esp + 0x10], eax
cmp ebp, dword [esi + 4]
jo 0x46ab52
mov eax, dword [esi + 0x14]
lea ecx, [eax + eax*4]
cmp dword [esi + 0x10], ecx
jbe 0x46ab65
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esp]
jae 0x46ab65
inc eax
inc ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
push dword [esp + 0x10]
call fcn.0042c630
pop eax
mov eax, edi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x3c]
lock xadd dword [0x49c228], eax
mov dword [esp + 0x4c], 0x80000000
mov dword [esp + 0x1c], 0x4928e0
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], fcn.0043a4d0
and dword [esp + 0x2c], 0
and dword [esp + 0x44], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], eax
push ebx
lea ebp, [esp + 0x5c]
push ebp
call fcn.004341a0
pop eax
pop ecx
push ebp
xor ebp, ebp
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.00426be0
add esp, 0xc
push dword [esp + 0x14]
push ebx
lea eax, [esp + 0xc]
push eax
call fcn.0046a3c3
add esp, 0xc
cmp dword [esp + 4], ebp
jne 0x46ab31
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x1c], xmm0
dec dword [esi + 0x14]
mov eax, dword [esi + 0x18]
lea ecx, [eax - 1]
cmp ecx, 1
mov dword [esi + 0x18], ecx
mov ecx, ebx
adc eax, 0xffffffff
mov dword [esi + 0x1c], eax
call fcn.0046a68a
cmp dword [esp + 4], 0
je 0x46aa4a
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
call fcn.004541b4
lea ecx, [esp + 8]
call fcn.0046a715
jmp 0x46aa4a
and dword [esi + 4], 0
mov dword [esi + 8], 4
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
lea ecx, [esp + 0x34]
call fcn.0046a6dc
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46cefa
Capabilities:
Check os version

Disassembly:
push edi
push esi
sub esp, 0x11c
mov eax, dword [esp + 0x128]
mov eax, dword [eax]
mov esi, dword [eax]
and dword [eax], 0
test esi, esi
je 0x46cf64
lea edi, [esp + 4]
push 0x118
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, esp
mov dword [edi - 4], 0x11c
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
js 0x46cf53
mov ecx, dword [esp + 4]
mov al, 1
cmp ecx, 6
ja 0x46cf59
jne 0x46cf57
cmp dword [esp + 8], 3
setae al
jmp 0x46cf59
mov al, 1
jmp 0x46cf59
xor eax, eax
mov byte [esi], al
add esp, 0x11c
pop esi
pop edi
ret
push 0x4933e0
call fcn.0047bf30

Function at 0x46f28c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov bl, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
je 0x46f2fe
lea eax, [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [eax], xmm0
movaps xmmword [eax + 0x30], xmm0
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x10], xmm0
mov dword [eax], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
test eax, eax
jne 0x46f2dd
call fcn.00472a20
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
xor edx, edx
inc edx
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
lea ecx, [esp + 4]
mov dword [ecx], edx
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x48], xmm1
call fcn.0046d2e5
test bl, bl
je 0x46f363
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movsd qword [eax + 0x30], xmm0
xorps xmm0, xmm0
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
push 0x38
push eax
call dword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x46f363
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
xor ecx, ecx
mov edx, 0
sub eax, edi
sbb edx, edx
cmovb eax, ecx
mul ebx
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], edx
mov edx, 0
sub eax, edi
sbb edx, edx
cmovb eax, ecx
mul ebx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46f938
Capabilities:
Get system information on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [esp + 0x34]
call 0x46f947
pop edi
mov ebx, esp
push ebx
call fcn.0047240f
pop eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebx]
cmp eax, 0xe
ja 0x46f9da
add edi, dword [eax*4 + 0x46f9e4]
jmp edi
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
ret
mov dword [esi], 0x80000000
jmp 0x46f9d1
Function at 0x470cc6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
lea eax, [esp + 8]
push eax
push edx
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
test eax, eax
je 0x470d4b
mov edi, dword [esp + 8]
lea ebx, [esp + 0xc]
mov dword [esp + 4], esi
mov esi, eax
lea ebp, [esp + 0x18]
mov dword [esp], eax
and dword [ebx], 0
mov dword [ebx + 4], 4
and dword [ebx + 8], 0
shl edi, 2
test edi, edi
je 0x470d2c
push esi
add esi, 4
call fcn.004725ed
pop ecx
push edx
push eax
push ebp
call fcn.0042adc0
add esp, 0xc
mov ecx, ebx
mov edx, ebp
call fcn.0046da37
add edi, 0xfffffffc
jmp 0x470d05
mov ecx, dword [esp]
call fcn.0046e37c
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 4]
movsd xmm0, qword [esp + 0xc]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
jmp 0x470d59
and dword [esi], 0
mov dword [esi + 4], 4
and dword [esi + 8], 0
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x471f6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebp, esp
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov esi, ecx
and dword [ebp], 0
push dword [edx]
call fcn.004723e4
pop ecx
lea ecx, [esp + 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push ecx
call fcn.004723dc
pop ecx
push edi
push ebx
push ebp
push 0
push dword [esp + 0x30]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x471fcf
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
call fcn.00472a37
pop ecx
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], edx
inc eax
jmp 0x471fd1
xor eax, eax
mov dword [esi], eax
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x479742
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov ebp, dword [esp]
test ebx, ebx
je 0x47978d
lea eax, [ebp + ebx]
mov edi, ebx
mov dword [esp], eax
push 2
push ebx
push ebp
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor ebx, ebx
cmp eax, 0xbfffffff
jbe 0x479752
mov esi, eax
push edi
push ebp
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x479752
and esi, 0x7fffffff
jmp 0x47978f
xor esi, esi
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x479fd1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47a010
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47a010
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47a010
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x47a010
cmp dword [ecx + 0x74], 0xe
jbe 0x47a010
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x47b590
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.00433ee0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg ecx
jno 0x47b608
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x47b632
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x47b652
jmp 0x47b65e
mov ecx, dword [0x4837f8]
mov edx, dword [0x4837fc]
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
jae 0x47b65e
push 1
push eax
push dword [ebp - 0x1c]
call fcn.00421250
add esp, 0x40
jmp 0x47b661
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x47b65e
push 1
push ebx
push edi
call fcn.00421250
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4055e4
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
jmp 0x4055d7
call fcn.004055e4
add byte [ecx + 0x40], cl
inc esp
aas
inc esp
dec esi
dec esi
add esp, 4
and ecx, 0xa4e9
pop ecx
push ebx
push edx
add esp, 4
and ebx, 0x1686a
pop ebx
push edi
add edi, 0x184cc
pop edi
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push ecx
add ecx, 0x12318
sub ecx, 0x10d9c
or ecx, 0x4312
pop ecx
push ebx
push edi
add esp, 4
and ebx, 0x10ea7
sub ebx, 0x1413f
and ebx, 0x8818
sub ebx, 0x65f6
pop ebx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x4056b1
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x405714
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x4055d0
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x4055d0
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x4056fe
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x405708
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x40575d
push esi
and esi, 0xa648
add esi, 0x15ad2
and esi, 0x1611d
and esi, 0x3e08
pop esi
push eax
push esi
add esp, 4
and eax, 0x1310c
xor eax, 0x12368
add eax, 0x4775
pop eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x4057c5
push esi
push ebx
add esp, 4
and esi, 0x149ed
add esi, 0x63bf
xor esi, 0xcea1
and esi, 0x122a
pop esi
push edi
sub edi, 0xc466
or edi, 0x3f4a
or edi, 0x182ac
pop edi
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x4057bb
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x405571
mov dword [ebp - 0x2e0], 0
Function at 0x405a7c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
or edx, 0x14533
sub edx, 0x106d
and edx, 0x14852
pop edx
push ebx
or ebx, 0x98e5
pop ebx
push ebx
push edi
add esp, 4
sub ebx, 0x10dcc
and ebx, 0x13abf
pop ebx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
dec dword [ebx - 0x4d77b]
dec dword [ebx - 0x7276cfb8]
fdivr st(3), st(0)
invalid
push ebx
push edx
add esp, 4
sub ebx, 0x82fc
call fcn.00405a7c
add byte [ebx + 0x4f], cl
dec edi
cmp bh, byte [ebx]
xor eax, 0x83354a4f
add esp, 4
invalid
jecxz 0x405a40
add esp, 4
and ebx, 0xecbe
in al, dx
add byte [eax], al
pop ebx
push esi
or esi, 0x14e97
add esi, 0x2831
pop esi
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push eax
add eax, 0x16c1
or eax, 0x11a19
or eax, 0x10630
pop eax
push eax
push edx
add esp, 4
and eax, 0xf389
add eax, 0xb4f4
pop eax
push edx
push ecx
add esp, 4
add edx, 0x3c59
pop edx
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x405b43
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x405ba6
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x405a62
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x405a62
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x405b90
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x405b9a
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x405bef
push esi
push esi
add esp, 4
add esi, 0xd6a4
sub esi, 0x10564
pop esi
push edx
push ecx
add esp, 4
xor edx, 0x11d41
or edx, 0x7884
sub edx, 0x1908
pop edx
push ebx
sub ebx, 0xaf72
pop ebx
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x6ec], ecx
jmp 0x405c57
push ecx
sub ecx, 0x705f
or ecx, 0x16ba7
pop ecx
push edi
push eax
add esp, 4
xor edi, 0x11905
call 0x405c15
add byte [ebx], bh
cmp dh, byte [edi]
cmp dword [ecx + 0x4c], eax
inc eax
add esp, 4
pop edi
push ebx
or ebx, 0xd882
pop ebx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x405c4d
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x405a03
mov dword [ebp - 0x6ec], 0
Function at 0x405c15
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
or edx, 0x14533
sub edx, 0x106d
and edx, 0x14852
pop edx
push ebx
or ebx, 0x98e5
pop ebx
push ebx
push edi
add esp, 4
sub ebx, 0x10dcc
and ebx, 0x13abf
pop ebx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
dec dword [ebx - 0x4d77b]
dec dword [ebx - 0x7276cfb8]
fdivr st(3), st(0)
invalid
push ebx
push edx
add esp, 4
sub ebx, 0x82fc
call fcn.00405a7c
add byte [ebx + 0x4f], cl
dec edi
cmp bh, byte [ebx]
xor eax, 0x83354a4f
add esp, 4
invalid
jecxz 0x405a40
add esp, 4
and ebx, 0xecbe
in al, dx
add byte [eax], al
pop ebx
push esi
or esi, 0x14e97
add esi, 0x2831
pop esi
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push eax
add eax, 0x16c1
or eax, 0x11a19
or eax, 0x10630
pop eax
push eax
push edx
add esp, 4
and eax, 0xf389
add eax, 0xb4f4
pop eax
push edx
push ecx
add esp, 4
add edx, 0x3c59
pop edx
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x405b43
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x405ba6
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x405a62
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x405a62
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x405b90
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x405b9a
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x405bef
push esi
push esi
add esp, 4
add esi, 0xd6a4
sub esi, 0x10564
pop esi
push edx
push ecx
add esp, 4
xor edx, 0x11d41
or edx, 0x7884
sub edx, 0x1908
pop edx
push ebx
sub ebx, 0xaf72
pop ebx
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x6ec], ecx
jmp 0x405c57
push ecx
sub ecx, 0x705f
or ecx, 0x16ba7
pop ecx
push edi
push eax
add esp, 4
xor edi, 0x11905
call 0x405c15
add byte [ebx], bh
cmp dh, byte [edi]
cmp dword [ecx + 0x4c], eax
inc eax
add esp, 4
pop edi
push ebx
or ebx, 0xd882
pop ebx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x405c4d
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x405a03
mov dword [ebp - 0x6ec], 0
Function at 0x406480
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
out 0xa0, eax
fadd dword [eax]
add byte [ecx + 0xdda2ef], al
add byte [edi - 0x75], bl
test dword [eax], esp
std
invalid

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

Disassembly:
add byte [ecx + 0x9bf1c9], al
add al, ch
or al, byte [eax]
add byte [eax], al
add byte [esi], dh
dec ebx
inc ebx
Function at 0x426fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4bf3ec]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.Unknown_version]
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x94]
push 0x90
push 0
push eax
movups xmmword [esi + 0x23c], xmm0
mov dword [esi + 0xecc], 0
xor bl, bl
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x42706c
cmp dword [ebp - 0x94], 6
mov ecx, esi
jb 0x427057
call fcn.00427080
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ef85
mov esp, ebp
pop ebp
ret
call fcn.00427b20
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ef85
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ef85
mov esp, ebp
pop ebp
ret
Function at 0x429720
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4bf3ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4297ca
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4297ca
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0x90
movups xmmword [esi + 0x10], xmm0
push 0
movq qword [esi + 0x20], xmm0
mov dword [esi], 0x10028
movzx eax, byte [ecx + 0x108b4]
mov byte [esi + 0x18], al
movzx eax, byte [ecx + 0x108ac]
mov byte [esi + 9], al
movzx eax, byte [ecx + 0x108b0]
mov byte [esi + 0x17], al
lea eax, [ebp - 0x94]
push eax
mov dword [esi + 4], 0x25
call fcn.00440700
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x4297ca
cmp dword [ebp - 0x94], 6
jb 0x4297ca
or dword [esi + 4], 0x8000
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ef85
mov esp, ebp
pop ebp
ret

Function at 0x43f447
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f1c1

Function at 0x43fc36
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43fc75
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43fc75
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43fc75
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43fc75
cmp dword [ecx + 0x74], 0xe
jbe 0x43fc75
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x454964
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4968e8
push 0x4968e0
push str.FlsAlloc
push 0x1e
call fcn.0045482e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x454998
push dword [ebp + 8]
mov ecx, esi
call dword [0x46333c]
call esi
jmp 0x45499e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4549e2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4968f8
push 0x4968f0
push str.FlsGetValue
push 0x20
call fcn.0045482e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x454a19
push dword [ebp + 8]
mov ecx, esi
call dword [0x46333c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x455b00
Capabilities:
Read file on windows

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

Function at 0x455efa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0043f6b0
mov eax, dword [0x4bf3ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004530c6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x455f3c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x456098
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0043f6e0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4c5580]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00456ed7
mov ecx, dword [esi*4 + 0x4c5580]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x456091
cmp eax, dword [edi + ecx + 0x24]
jne 0x456091
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456091
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00456ed7
add esp, 0x14
test edx, edx
jl 0x456091
jg 0x456007
test eax, eax
jb 0x456091
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x456091
jl 0x456021
cmp dword [ebp - 0x1008], eax
ja 0x456091
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x45603f
test ebx, ebx
je 0x456078
cmp ecx, edi
jae 0x456078
mov al, byte [ecx]
cmp al, 0xd
jne 0x456059
lea eax, [edi - 1]
cmp ecx, eax
jae 0x456065
cmp byte [ecx + 1], 0xa
jne 0x456065
inc ecx
jmp 0x456065
movzx eax, al
movsx eax, byte [eax + 0x4bf670]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x45603f
cmp edx, ebx
jne 0x45603f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x456096
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043ef85
leave
ret