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

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x58b0bc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44b185
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x44b1cc
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x44b1d0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44b22c
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x44b1f3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44b268
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x550e92
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x550e93
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x44b237
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44b400
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44b436
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.004131e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x20
jne 0x44b493
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x44b4a3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44b4b4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x450648
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45069f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x450690
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x45068c
cmp esi, ecx
jae 0x450690
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x45067c
cmp esi, ecx
jb 0x450694
xor eax, eax
jmp 0x45069e
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x45510a
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x52b672
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58b700]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x45514b
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x455151
mov eax, edx
mov dword [esp + 0x20], edx
mov ecx, dword [edx + 0x10]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov dword [esp + 0x38], ebx
mov edi, ebx
mov dword [esp + 0x28], 1
test ecx, ecx
je 0x4552ba
push 3
pop esi
jmp 0x455180
mov ecx, dword [esp + 0x24]
mov al, byte [eax]
dec ecx
mov byte [esp + edi + 0x18], al
inc edi
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x19]
inc eax
mov dword [esp + 0x24], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x455216
mov al, cl
mov edi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x5619e0]
push eax
push 1
call fcn.00458536
inc edi
cmp edi, 4
jl 0x4551e8
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov eax, dword [esp + 0x20]
mov ch, byte [esp + 0x17]
cmp dword [esp + 0x24], 0
ja 0x45517c
test edi, edi
je 0x4552ba
mov eax, edi
cmp edi, esi
jge 0x45524c
cmp eax, esi
jae 0x4552d0
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x455231
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x4552a6
lea esi, [edi + 1]
movzx eax, byte [esp + ebx + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x5619e0]
push eax
push 1
call fcn.00458536
inc ebx
cmp ebx, esi
jl 0x455288
push 3
pop esi
cmp edi, esi
jge 0x4552ba
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.00458536
dec esi
jne 0x4552ac
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00502b83
int3
Function at 0x457c5f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52bc8e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58b700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x58b700]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x457cad
xor eax, eax
jmp 0x457e29
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x457cd7
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x457cd7
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x457e29
cmp dword [esi + 0x50], 0
je 0x457e27
mov ecx, esi
call fcn.00458ff2
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x457d04
push dword [esi + 0x50]
push edi
call fcn.00453807
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x457e27
mov eax, dword [ebp + 8]
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
push 8
mov byte [esp + 0x18], al
mov dword [esp + 0x44], 0xf
call fcn.0045cb08
and dword [esp + 0x50], 0
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp edi, 0x10
lea edx, [esp + 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x3c]
call dword [edi + 0x1c]
test eax, eax
js 0x457e1a
cmp eax, 1
jg 0x457dfd
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp edi, 0x10
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x457dca
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00502f2e
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x457e1a
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x457df8
test edx, edx
jne 0x457d37
cmp dword [esp + 0x38], 0x20
jae 0x457e1a
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.00458536
jmp 0x457d33
mov ebx, dword [ebp + 8]
jmp 0x457e1a
cmp eax, 3
jne 0x457e1a
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.00453807
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044e987
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005008c3
mov esp, ebp
pop ebp
ret 4
Function at 0x458e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52be23
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58b700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x58b700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x458faa
cmp byte [ebx + 0x45], 0
je 0x458faa
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x458ed0
xor al, al
jmp 0x458fac
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.0045cb08
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x458f35
dec eax
je 0x458f39
dec eax
dec eax
je 0x458f97
xor bl, bl
jmp 0x458f99
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x458f78
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00502f2e
add esp, 0x10
cmp esi, eax
jne 0x458f31
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x458f97
test esi, esi
jne 0x458efb
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00458536
jmp 0x458ef3
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044e987
mov al, bl
jmp 0x458fac
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005008c3
mov esp, ebp
pop ebp
ret
Function at 0x45c45f
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52c28b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58b700]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x28]
push ebp
call fcn.0044e4f5
and dword [esp + 0x20], 0
lea esi, [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add ebx, 0x18
mov dword [esp + 0x28], ebx
mov dword [ebx], eax
lea edi, [ebx + 8]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044e4f5
lea eax, [ebp + 0x48]
mov byte [esp + 0x20], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00453634
push ecx
lea eax, [ebp + 0x58]
mov byte [esp + 0x24], 2
push eax
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x3c], vtable.sensors_analytics::utils::ObjectNode.0
call fcn.0045c4ff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x45ed2c
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x52c920
call fcn.00505ab4
lea eax, [ebp - 0x80]
push eax
call fcn.0045effa
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x38], 9
push 6
pop eax
je 0x45ed64
cmp word [ebp - 0x38], ax
jne 0x45ed66
mov bl, 1
push 0x20
pop esi
push 0x40
pop eax
test bl, bl
cmovne esi, eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffc4
pop ecx
cdq
idiv ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.0047eeec
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.0045ef13
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.0045423c
mov dword [ebp - method.DuiLib::CControlUI.virtual_372], vtable.sensors_analytics::PropertiesNode.0
push str.ostype
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044e95a
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00453d39
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044e987
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044e95a
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00453c8e
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044e987
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044e95a
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00453a76
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044e987
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044e95a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00453c8e
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044e987
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044e95a
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00453a76
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044e987
mov ecx, dword [0x592290]
test ecx, ecx
je 0x45eed5
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.004541f9
lea ecx, [ebp - 0x13c]
call fcn.00456e6d
push dword [ebp - 0x13c]
call fcn.005008be
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044e987
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044e987
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00450f58
call fcn.00505a63
ret
Function at 0x45effa
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x52c96a
call fcn.00505ab4
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0xb8], ebx
push 0x7e
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push ebx
push eax
mov dword [ebp - 0xc4], esi
call fcn.00505440
add esp, 0xc
mov dword [ebp - 0xc0], 0x40
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xbc], ebx
push eax
lea eax, [ebp - 0xb0]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.Control_PanelDesktopMuiCached
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45f0b6
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb4], 7
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push str.MachinePreferredUILanguages
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00450c22
mov edi, 0x561d48
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450bfe
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.0045f4b0
cmp eax, 0xffffffff
je 0x45f112
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.0045f393
push eax
mov ecx, esi
call fcn.0045f370
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00450f58
mov eax, esi
call fcn.00505a63
ret 4

Function at 0x45f11c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x45f14b
push edi
xor edi, edi
push edi
push edi
push esi
push 0x45f32d
push edi
push edi
call fcn.005035c6
add esp, 0x18
mov dword [esi + 4], eax
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
pop edi
cmp dword [esi + 8], 0
je 0x45f15a
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret
Function at 0x46172b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52ce5c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58b700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58b700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
mov ebx, dword [edi + 0x10]
cmp ebx, 0x100
jg 0x461964
cmp dword [0x592314], 0x64
jae 0x461964
push 0x56241c
lea ecx, [esp + 0x20]
call fcn.00450c22
and dword [esp + 0x74], 0
mov esi, 0x562420
push esi
call fcn.00450bfe
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.0045f4b0
mov ebp, str.___time_:_
movzx esi, ax
push ebp
call fcn.00450bfe
pop ecx
push eax
push 0
push ebp
mov ecx, edi
call fcn.0045f4b0
push str.___data_:_
movzx ebp, ax
call fcn.00450bfe
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.0045f4b0
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x461957
mov esi, ebp
cmp esi, 0xffffffff
je 0x461957
mov ebp, eax
cmp ebp, 0xffffffff
je 0x461957
lea eax, [ecx - 7]
mov ecx, edi
push eax
push 7
lea eax, [esp + 0x3c]
push eax
call fcn.0045f393
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.00452a4f
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.00450f58
mov ecx, dword [esp + 0x18]
mov eax, esi
sub eax, ecx
sub eax, 8
push eax
lea eax, [ecx + 8]
mov ecx, edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0045f393
push 0x562464
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.00463d5b
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 3
call fcn.00452a4f
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.00450f58
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.00450f58
mov eax, ebp
mov ecx, edi
sub eax, esi
sub eax, 0xa
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0045f393
push 0x562468
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.00463d5b
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call fcn.00452a4f
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.00450f58
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.00450f58
sub ebx, esi
lea eax, [ebp + 0xa]
sub ebx, 5
mov ecx, edi
push ebx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0045f393
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 6
call fcn.00452a4f
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.00450f58
lea eax, [esp + 0x1c]
mov ecx, 0x592310
push eax
call fcn.00463a8f
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00450f58
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005008c3
add esp, 0x64
ret 4
Function at 0x4649e1
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x52d640
call fcn.00505ab4
mov esi, ecx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00505440
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x464a45
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x464a45
push 0x5627d8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450c22
mov edi, 0x5627dc
mov dword [ebp - 4], ebx
push edi
call fcn.00450bfe
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00452ae5
lea ecx, [ebp - 0x230]
call fcn.00482f3a
test al, al
jne 0x464aa2
lea eax, [ebp - 0x218]
push eax
call fcn.00450bfe
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450b91
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00452a4f
mov eax, dword [0x5930a4]
test al, 1
jne 0x464afe
or eax, 1
mov dword [0x5930a4], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.0047eeec
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0047e1f0
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044e987
push 0x536fef
call fcn.005018c9
pop ecx
mov byte [ebp - 4], bl
mov dword [0x5922bc], 0x5930a8
call fcn.0047e2f2
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00450f58
xor eax, eax
call fcn.00505a63
ret

Function at 0x464b23
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push ebx
push esi
push 0x1c
mov esi, ecx
mov ebx, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x464b44
xor eax, eax
jmp 0x464ba3
cmp dword [ebp - 0xc], 0x10000
je 0x464b40
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x464ba0
mov ecx, dword [edi + 0x3c]
sub esi, dword [ebp - 0x18]
add ecx, edi
xor edi, edi
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add edx, eax
xor eax, eax
cmp ax, bx
jae 0x464ba0
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x464b97
add eax, ecx
cmp esi, eax
jbe 0x464ba9
inc edi
add edx, 0x28
cmp di, bx
jb 0x464b80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
sub esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx + 8], 0
inc eax
jmp 0x464ba2