joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x5ebdf4
Capabilities:
Encode data using xor

Disassembly:
inc ebp
adc al, bh
rcl esi, 1
xchg esp, eax
fisttp qword [edx]
xor bh, byte [ebp + 0x5c]
sbb eax, edx
mov ebp, 0x6433fc60
mov dword [edx], 0xadc98f8
mov ah, 0xd7
stosd dword es:[edi], eax
invalid

Function at 0x5f5edb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f5ef6
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124bb11b]
pop edx
test eax, eax
je 0x5f5fc8
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f5fb7
test dword [ebp - 0x2a8], 1
jne 0x5f5fb7
and dword [ebp - 0x2a8], 0x100
jne 0x5f5fb7
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3a6d]
pop edx
pop esi
test eax, eax
je 0x5f5f5a
jmp 0x5f5fb7
cmp word [esi], 0x5a4d
jne 0x5f5fb7
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f5fb7
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3b51]
pop edx
test eax, eax
je 0x5f5fb7
lea eax, [ebp - 0x28c]
push eax
call fcn.005f5e37
test eax, eax
jne 0x5f5fb0
jmp 0x5f5fb7
mov eax, esi
jmp 0x5f5fc8
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f5ef6
pop esi
leave
ret 4
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x498008], 0x8088405
inc edx
mov dword [ebx + 0x498008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb9c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cbcd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cbb5
add dl, dl
jne 0x41cbd8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc29
xor eax, eax
add dl, dl
jne 0x41cbe5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccc6
add dl, dl
jne 0x41cbf4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc0a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc15
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cc1f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cbc4
mov eax, 1
add dl, dl
jne 0x41cc37
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc42
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc2e
sub eax, ebx
mov ebx, 1
jne 0x41cc75
mov ecx, 1
add dl, dl
jne 0x41cc5b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc66
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc52
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbc4
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc8c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc97
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc83
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbc4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cce7
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cbc4
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48156f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e161
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e14a
test esi, esi
jbe 0x41e161
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ac
test eax, eax
jne 0x41e13c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e161
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e119
jmp 0x41e161
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e161
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481576
ret
Function at 0x41e9a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x481f53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e9df
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e9f8
lea eax, [ebp - 0x10]
mov edx, dword [0x49a248]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ea0b
lea eax, [ebp - 0x10]
mov edx, dword [0x49a248]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ea17
adc edx, 0
mov edx, dword [edx*4 + 0x4990d8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41eb25
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41eb18
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41eb18
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d9c
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41eb18
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41eb18
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41eb18
cmp dx, 0x150
ja 0x41eb18
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41eb18
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41eb18
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41eb3d
inc ebx
cmp ebx, 0x19
jne 0x41e9d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481f5a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401059
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401094
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401090
lea ebx, [ebx]
cmp esi, eax
jae 0x401094
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401080
cmp esi, eax
jb 0x40109a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40cd3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40cd7f
call fcn.0040e0e3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40cd7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40cd9a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040c8f3
test ebx, ebx
mov esi, eax
je 0x40cd98
test edi, edi
je 0x40cd98
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x411e8a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x411eb8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x411ed6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00411df4
jmp 0x411ed6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x411ed6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00411df4
test edi, edi
mov eax, edi
jne 0x411ec0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x43e0e8]
test ecx, ecx
je 0x411f99
jmp 0x411e89
ret 8

Function at 0x415221
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43afb0]
jne 0x41522b
repz ret
jmp fcn.0041a21c
Function at 0x4247f2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00419c61
xor ebx, ebx
cmp dword [0x43ee7c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4248c7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x424832
xor eax, eax
jmp 0x42498b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x432ee4
push edi
call esi
cmp eax, ebx
je 0x42482b
push eax
call fcn.00419bfe
mov dword [esp], 0x432ed4
push edi
mov dword [0x43ee7c], eax
call esi
push eax
call fcn.00419bfe
mov dword [esp], 0x432ec0
push edi
mov dword [0x43ee80], eax
call esi
push eax
call fcn.00419bfe
mov dword [0x43ee84], eax
lea eax, [ebp - 8]
push eax
call fcn.004185e8
test eax, eax
pop ecx
pop ecx
je 0x424895
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415537
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4248c7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00419bfe
cmp eax, ebx
pop ecx
mov dword [0x43ee8c], eax
je 0x4248c7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419bfe
pop ecx
mov dword [0x43ee88], eax
mov eax, dword [0x43ee88]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x424940
cmp dword [0x43ee8c], esi
je 0x424940
push eax
call fcn.00419c6a
pop ecx
call eax
cmp eax, ebx
je 0x42490d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43ee8c]
call fcn.00419c6a
pop ecx
call eax
test eax, eax
je 0x42490d
test byte [ebp - 0x18], 1
jne 0x424940
lea eax, [ebp - 0xc]
push eax
call fcn.0041861f
test eax, eax
pop ecx
je 0x424928
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415537
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x424937
or dword [ebp + 0x10], 0x200000
jmp 0x424971
or dword [ebp + 0x10], 0x40000
jmp 0x424971
mov eax, dword [0x43ee80]
cmp eax, esi
je 0x424971
push eax
call fcn.00419c6a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x424971
mov eax, dword [0x43ee84]
cmp eax, esi
je 0x424971
push dword [ebp - 4]
push eax
call fcn.00419c6a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43ee7c]
call fcn.00419c6a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a245
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43afb0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042a1da
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004156c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42a294
cmp dword [ebp - 0x1c], 5
jb 0x42a2ac
jmp 0x42a2a8
cmp dword [ebp - 0x10], 1
jne 0x42a2ac
cmp dword [ebp - 0x1c], 4
ja 0x42a2a8
jne 0x42a2ac
cmp dword [ebp - 0x18], 0
jbe 0x42a2ac
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x432ff4
call fcn.0042a0cb
test eax, eax
jge 0x42a2cd
mov byte [0x43c5bc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00415221
add ebp, 0x78
leave
ret
Function at 0x100025e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10016a88
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1001f090]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x1001f090]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], 0x100005
mov dword [esp + 0x10], eax
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push esi
push dword [esp + 0x6c]
cmovae eax, dword [esp + 0x60]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x54], 1
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
call fcn.1000c660
push esi
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 2
push eax
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.10005570
cmp dword [esp + 0x6c], 0x10
mov esi, eax
jb 0x1000269d
push dword [esp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10015b7c
add esp, 0x40
ret 0x24

Function at 0x10002730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10016af0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x1001f090]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x48]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x20], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], 0x100005
mov dword [esp + 0x24], eax
push dword [esp + 0x54]
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0
push dword [esp + 0x54]
call fcn.100041b0
push dword [esp + 0x58]
lea eax, [esp + 0xc]
mov byte [esp + 0x44], 1
push eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10005570
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret 0x14
Function at 0x10003f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10016be3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1001f090]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x18], 0
mov byte [esp + 0x14], 1
jne 0x10003fe9
push 0x14
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10003fe1
mov dword [eax], 0
mov dword [eax + 4], 0x10000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x10003fe3
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x10006f10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x224
mov eax, dword [0x1001f090]
xor eax, esp
mov dword [esp + 0x220], eax
push esi
mov esi, dword [esp + 0x22c]
xor eax, eax
push 0x208
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
mov dword [esp + 0x14], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x23c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10006fc4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [esp + 0x18], ax
jne 0x10006f88
xor ecx, ecx
jmp 0x10006f9f
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006f90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1000e5a0
mov ecx, dword [esp + 0x224]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10015b7c
add esp, 0x224
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x10018a00
push eax
lea ecx, [esp + 0x10]
call sub.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__
push 0x1001d728
lea eax, [esp + 0x10]
mov dword [esp + 0x10], vtable.std::runtime_error.0
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x10011320
Capabilities:
Get file version info

Disassembly:
sub esp, 0x214
mov eax, dword [0x1001f090]
xor eax, esp
mov dword [esp + 0x210], eax
mov ecx, 0x10019e10
mov eax, str.Unknown
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10011360
test dl, dl
je 0x1001135c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10011360
add eax, 2
add ecx, 2
test dl, dl
jne 0x10011340
xor eax, eax
jmp 0x10011365
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10011477
push 0x206
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10011477
cmp word [esp + 8], 0
je 0x10011477
push edi
push 0
lea eax, [esp + 0x10]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x1001145c
push esi
push edi
call fcn.10015945
mov esi, eax
add esp, 4
test esi, esi
je 0x10011440
push esi
push edi
push 0
lea eax, [esp + 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10011437
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
push eax
push 0x10019e18
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10011437
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._lu._lu._lu._lu
push str.Unknown
call fcn.1000fae0
add esp, 0x18
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
mov eax, str.Unknown
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10015b7c
add esp, 0x214
ret
mov eax, str.Unknown
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10015b7c
add esp, 0x214
ret
mov ecx, dword [esp + 0x210]
mov eax, str.Unknown
xor ecx, esp
call fcn.10015b7c
add esp, 0x214
ret