joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57ea40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00581890
mov edx, dword [esp + 0x2c]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x1c]
or ecx, 0xffffffff
cmp edx, 1
push esi
setne al
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x3c]
add eax, edi
mov dword [esp + 0x1c], esi
cmp eax, esi
jbe 0x57ea79
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
push ebp
cmp edx, 1
je 0x57eb4e
mov ebp, dword [esp + 0x30]
dec ebp
add ebp, esi
cmp dword [esp + 0x44], 0
mov cl, byte [ebp]
movzx edx, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x14], edx
je 0x57eab3
sub esi, edx
mov eax, 1
sub esi, edi
pop ebp
dec esi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
add esp, 0x14
ret
lea ecx, [edx + eax]
mov ebx, esi
sub ebx, ecx
mov eax, esi
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
cmovb eax, esi
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x57eb25
mov esi, edx
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov ecx, esi
lea ebp, [ebp - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [ebp + 1]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [esp + 0x13]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x18]
jb 0x57eae5
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
not ebx
movzx eax, bl
mov ebx, dword [esp + 0x28]
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
neg ecx
and eax, ecx
sub esi, eax
mov dword [ebx], esi
push dword [esp + 0x48]
push ecx
push edi
push edx
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x48]
push ebx
call fcn.0057e6f0
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x599ccf
Capabilities:
Read file on windows

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

Function at 0x5a0b24
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005a07e4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40288e
pop dword [ebp - 0x50]
mov eax, 0x522a480f
sub eax, 0x51ea1f81
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xa6f8ae45
sub dword [ebp - 0x60], 0x58a668fa
mov dword [ebp - 0x5c], 0x52548fc0
add dword [ebp - 0x5c], 0xdfdebc85
mov dword [ebp - 0x58], 0xef8a331f
add dword [ebp - 0x58], 0x5cc2110f
mov dword [ebp - 0x54], 0x56b6655a
add dword [ebp - 0x54], 0xa9499aa6
lea eax, [ebp - 0x60]
push eax
mov eax, 0x6bfd6caa
sub eax, 0x6bbcec1e
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xbc92e957
sub dword [ebp - 0x60], 0x48208001
mov dword [ebp - 0x5c], 0x7f2a4f44
sub dword [ebp - 0x5c], 0x3dbdedcf
mov dword [ebp - 0x58], 0x87677ffd
sub dword [ebp - 0x58], 0x23f81391
mov dword [ebp - 0x54], 0xc11fddc4
add dword [ebp - 0x54], 0x3ee0223c
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x356f2
push 0
call eax
mov ecx, 0x8ea81082
add ecx, 0x715832d8
xor edx, edx
add edx, eax
mov edi, 0x411000
add edi, dword [ebp - 0x50]
mov esi, 0x30418bbc
add esi, 0x20c3af7a
sub dword [ebp - 0x40], 0x3b840258
mov ebx, dword [edi]
add ebx, esi
sub dword [ebp - 0x20], edi
mov dword [edx], ebx
xor dword [ebp - 0x4c], ebx
add edx, 0x2e24143d
add edx, 0xd1dbebc7
add edi, 0x18699e0c
add edi, 0xe79661f8
loop 0x4029a7
add eax, 0xae8f2557
sub eax, 0xae8e251c
xor ebx, ebx
add ebx, eax
add eax, 0xfa5d4b59
add eax, 0x5a2b4ac
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x5f1b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19b000]
push edi
jmp 0x5f1b7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f1b81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f1b70
mov eax, 1
add ebx, ebx
jne 0x5f1b93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f1ba4
jne 0x5f1bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f1bc3
dec eax
add ebx, ebx
jne 0x5f1bb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f1b88
add ebx, ebx
jne 0x5f1bbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f1c15
xor ecx, ecx
sub eax, 3
jb 0x5f1bdb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f1c4a
sar eax, 1
mov ebp, eax
jmp 0x5f1be6
add ebx, ebx
jne 0x5f1be6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f1bb4
inc ecx
add ebx, ebx
jne 0x5f1bf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f1bb4
add ebx, ebx
jne 0x5f1c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f1bf6
jne 0x5f1c12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f1bf6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f1c34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f1c26
jmp 0x5f1b76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f1c34
add edi, ecx
jmp 0x5f1b76
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f1c52
cmp byte [edi], 0x11
jne 0x5f1c52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f1c57
lea edi, [esi + 0x1ea000]
mov eax, dword [edi]
or eax, eax
je 0x5f1ccf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30a08c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30a208]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f1c84
mov ecx, edi
jns 0x5f1cb3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30a20c]
or eax, eax
je 0x5f1cc9
mov dword [ebx], eax
add ebx, 4
jmp 0x5f1ca1
call dword [esi + 0x30a21c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f1d00
cmp al, 0xef
ja 0x5f1cf3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f1cd5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f1ce2
mov ebp, dword [esi + 0x30a210]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f1d34
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x4bd590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x99000]
push edi
jmp 0x4bd5aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bd5b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd5a0
mov eax, 1
add ebx, ebx
jne 0x4bd5c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bd5d4
jne 0x4bd5f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd5f3
dec eax
add ebx, ebx
jne 0x4bd5e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bd5b8
add ebx, ebx
jne 0x4bd5ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bd645
xor ecx, ecx
sub eax, 3
jb 0x4bd60b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bd67a
sar eax, 1
mov ebp, eax
jmp 0x4bd616
add ebx, ebx
jne 0x4bd616
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd5e4
inc ecx
add ebx, ebx
jne 0x4bd624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd5e4
add ebx, ebx
jne 0x4bd631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bd626
jne 0x4bd642
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bd626
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bd664
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bd656
jmp 0x4bd5a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bd664
add edi, ecx
jmp 0x4bd5a6
pop esi
mov edi, esi
mov ecx, 0x3f1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bd682
cmp byte [edi], 5
jne 0x4bd682
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bd687
lea edi, [esi + 0xbb000]
mov eax, dword [edi]
or eax, eax
je 0x4bd6ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbd938]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbd974]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bd6b4
mov ecx, edi
jns 0x4bd6e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbd97c]
or eax, eax
je 0x4bd6f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4bd6d1
call dword [esi + 0xbd978]
mov ebp, dword [esi + 0xbd980]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bd733
sub esp, 0xffffff80
jmp 0x402908
Function at 0x1000c926
Capabilities:
Parse pe header

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

Function at 0x1000e9f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000ea1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000ea1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000ed10
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019508
push 0x10019500
push str.FlsAlloc
push 0x1f
call fcn.1000eff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000ed44
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x1000ed4a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000ed8e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019518
push 0x10019510
push str.FlsGetValue
push 0x21
call fcn.1000eff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000edc5
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000edcd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019520
push 0x10019518
push str.FlsSetValue
push 0x22
call fcn.1000eff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000ee07
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001191f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100119bc
push ebx
push esi
call fcn.100119bf
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011823
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011969
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100119bb
push edi
push eax
call fcn.10011a96
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011989
call fcn.100102c0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100119ba
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011823
add esp, 0x20
test eax, eax
jne 0x100119a8
push edi
call fcn.100102c0
jmp 0x100119b0
push ebx
call fcn.100102c0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x401c66
pop dword [ebp - 4]
mov eax, 0xa065f709
add eax, 0x5fda255d
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x40f67eca
sub dword [ebp - 0x14], 0xf2a4397f
mov dword [ebp - 0x10], 0x98d2dc3
sub dword [ebp - 0x10], 0xd759e17e
mov dword [ebp - 0xc], 0x30b4f4d4
sub dword [ebp - 0xc], 0xe468b0a6
mov dword [ebp - 8], 0x4d732b9e
sub dword [ebp - 8], 0x4d732b9e
lea eax, [ebp - 0x14]
push eax
mov eax, 0xb9ffdc4c
add eax, 0x46405408
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x622d0279
add dword [ebp - 0x14], 0x124566dd
mov dword [ebp - 0x10], 0x7ddedfb1
sub dword [ebp - 0x10], 0x3c727e3c
mov dword [ebp - 0xc], 0x3c8ac07e
sub dword [ebp - 0xc], 0xd91b5412
mov dword [ebp - 8], 0xcd4a2e16
add dword [ebp - 8], 0x32b5d1ea
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xed0c39c7
add eax, 0x1333f665
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x35ee6
push 0
call eax
mov ecx, 0x1db1cdd
add ecx, 0xfe2528f0
xor edx, edx
add edx, eax
mov ebx, 0x4a1c3f17
add ebx, 0xb62430e9
add ebx, dword [ebp - 4]
mov esi, 0xa58856cf
sub esi, 0xea116ac7
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 0x3d292044
add edx, 0xc2d6dfc0
add ebx, 0x9ca94c0
sub ebx, 0x9ca94bc
loop 0x401d8a
add eax, 0x1b70f725
add eax, 0xe49012e2
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbecbef32
add ecx, 0x417410ce
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x10011091
Capabilities:
Terminate process

Disassembly:
jmp 0x10014280
jmp fcn.100142c0
cmp ecx, dword [0x100210b8]
jne 0x1001428a
repz ret
jmp 0x100111ef
Function at 0x402838
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
add esp, 4
add esi, 0xba8a
sub esi, 0x166f2
xor esi, 0x12069
call 0x4027f6
add byte [eax + 0x4c], cl
aaa
dec ebx
inc ebx
dec edi
inc edx
xor al, byte [ebx + 0x535e04c4]
add ebx, 0x1207e
pop ebx
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x348], edx
push edx
push eax
add esp, 4
call 0x402823
add byte [esi + 0x4c], al
inc ebx
inc eax
dec esi
xor dh, byte [edx]
add esp, 4
xor edx, 0xa460
call 0x402838
add byte [ebx], bh
inc ecx
xor al, byte [ebp + 0x37]
dec edi
add esp, 4
jmp 0x402842
pop edx
mov dword [ebp - 0x7c8], 0
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x170c], eax
cmp dword [ebp - 0x170c], 0
jne 0x402873
mov ecx, dword [ebp - 0x7c8]
mov dword [ebp - 0x544], ecx
jmp 0x402b64
mov edx, dword [ebp - 0x170c]
mov eax, dword [ebp - 0x348]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1710], eax
jne 0x40289b
mov ecx, dword [ebp - 0x7c8]
mov dword [ebp - 0x544], ecx
jmp 0x402b64
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1710]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1714], edx
cmp dword [ebp - 0x1714], 0
jne 0x4028cd
mov eax, dword [ebp - 0x7c8]
mov dword [ebp - 0x544], eax
jmp 0x402b64
mov ecx, dword [ebp - 0x348]
add ecx, dword [ebp - 0x1714]
mov dword [ebp - 0x7bc], ecx
jne 0x4028f2
mov edx, dword [ebp - 0x7c8]
mov dword [ebp - 0x544], edx
jmp 0x402b64
mov eax, dword [ebp - 0x7bc]
mov ecx, dword [ebp - 0x348]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1ffc], ecx
mov edx, dword [ebp - 0x7bc]
mov eax, dword [ebp - 0x348]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x2000], eax
mov ecx, dword [ebp - 0x7bc]
mov edx, dword [ebp - 0x348]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x2004], edx
mov dword [ebp - 0x7c0], 0
jmp 0x40294c
Function at 0x408370
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
add esp, 4
add ecx, 0x117d5
add ecx, 0xa5e7
xor ecx, 0x10e48
xor ecx, 0xc417
pop ecx
push esi
xor esi, 0x5ec6
and esi, 0x17f65
jmp 0x408331
pop esi
mov edx, dword [ebp - 0xdc0]
mov ax, word [edx]
mov word [ebp - 0x114e], ax
mov ecx, dword [ebp - 0xdc0]
add ecx, 2
mov dword [ebp - 0xdc0], ecx
mov dx, word [ebp - 0x114e]
mov word [ebp - 0x240], dx
mov eax, dword [ebp - 0xdc4]
mov cx, word [eax]
mov word [ebp - 0x1150], cx
mov edx, dword [ebp - 0xdc4]
xchg ebp, eax
cmp al, 0xf2
invalid
inc dword [ebx - 0x6a76fd3e]
cmp al, 0xf2
invalid
jmp dword [esi - 0x75]
test dword [eax + 0x66ffffee], esi
mov dword [ebp - 0x44], eax
push edi
xor edi, 0xe6
pop edi
push eax
push ecx
add esp, 4
xor eax, 0x7c14
sub eax, 0x1746f
pop eax
push edi
push ebx
add esp, 4
and edi, 0x36df
or edi, 0xb4cb
add edi, 0x6240
pop edi
movzx ecx, word [ebp - 0x44]
test ecx, ecx
jne 0x4083d8
movzx edx, word [ebp - 0x240]
movzx eax, word [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x17d8], edx
jmp 0x408432
movzx ecx, word [ebp - 0x240]
invalid

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

Disassembly:
push ecx
push ebx
add esp, 4
add ecx, 0x117d5
add ecx, 0xa5e7
xor ecx, 0x10e48
xor ecx, 0xc417
pop ecx
push esi
xor esi, 0x5ec6
and esi, 0x17f65
jmp 0x408331
pop esi
mov edx, dword [ebp - 0xdc0]
mov ax, word [edx]
mov word [ebp - 0x114e], ax
mov ecx, dword [ebp - 0xdc0]
add ecx, 2
mov dword [ebp - 0xdc0], ecx
mov dx, word [ebp - 0x114e]
mov word [ebp - 0x240], dx
mov eax, dword [ebp - 0xdc4]
mov cx, word [eax]
mov word [ebp - 0x1150], cx
mov edx, dword [ebp - 0xdc4]
xchg ebp, eax
cmp al, 0xf2
invalid
inc dword [ebx - 0x6a76fd3e]
cmp al, 0xf2
invalid
jmp dword [esi - 0x75]
test dword [eax + 0x66ffffee], esi
mov dword [ebp - 0x44], eax
push edi
xor edi, 0xe6
pop edi
push eax
push ecx
add esp, 4
xor eax, 0x7c14
sub eax, 0x1746f
pop eax
push edi
push ebx
add esp, 4
and edi, 0x36df
or edi, 0xb4cb
add edi, 0x6240
pop edi
movzx ecx, word [ebp - 0x44]
test ecx, ecx
jne 0x4083d8
movzx edx, word [ebp - 0x240]
movzx eax, word [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x17d8], edx
jmp 0x408432
movzx ecx, word [ebp - 0x240]
invalid
Function at 0x427580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46718c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042d3d0
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov ecx, esi
mov byte [edi + 0x54], 1
call fcn.00424b00
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0x137
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push 0x137
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret 4
Function at 0x42bd13
Capabilities:
Parse pe header

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

Function at 0x44069e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4576ac
push 0x4576a4
push str.FlsAlloc
push 0x1f
call fcn.00440545
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4406d2
push dword [ebp + 8]
mov ecx, esi
call dword [0x452384]
call esi
jmp 0x4406d8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44071c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4576bc
push 0x4576b4
push str.FlsGetValue
push 0x21
call fcn.00440545
mov esi, eax
add esp, 0x10
test esi, esi
je 0x440753
push dword [ebp + 8]
mov ecx, esi
call dword [0x452384]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44075b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4576c4
push 0x4576bc
push str.FlsSetValue
push 0x22
call fcn.00440545
mov esi, eax
add esp, 0x10
test esi, esi
je 0x440795
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x452384]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]