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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488488
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x107
call fcn.00414394
test eax, eax
je 0x4504b9
cmp dword [esi], 0
jne 0x4504de
jmp 0x4504d1
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4504d1
mov eax, dword [ebp - 0x2c]
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
mov ecx, dword [esi + 8]
xor edx, edx
mov eax, dword [esi + 4]
mov word [eax + ecx*2 - 2], dx
lea eax, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 0x34], str.BvLsaEx.dll
mov dword [ebp - 0x30], 0xb
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov ecx, eax
push 0xb
push str.BvLsaEx.dll
call fcn.00410191
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00451c30
mov byte [ebp - 4], 3
mov ecx, 0x4ca5a8
cmp dword [ebp - 0x1c], 0
cmovne ecx, dword [ebp - 0x20]
cmp dword [eax + 8], 0
je 0x450552
mov eax, dword [eax + 4]
jmp 0x450557
mov eax, 0x4ca5a8
push dword [esi + 4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x45058e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45058e
add eax, eax
je 0x45058e
lea esp, [esp]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x450580
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0043af60
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4505ce
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4505ce
add ecx, ecx
je 0x4505ce
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4505c0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043af60
add esp, 4
test edi, edi
jne 0x45060f
sub esp, 8
mov ecx, esp
push str.GetTempFileName__
call fcn.00411ba7
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.004024a8
push 0x4c31b0
lea eax, [ebp - 0xa8]
push eax
call fcn.0046b639
cmp dword [esi + 8], 0
je 0x45061a
mov edx, dword [esi + 4]
jmp 0x45061f
mov edx, 0x4ca5a8
xor ecx, ecx
mov eax, edx
test edx, edx
je 0x45063a
cmp word [edx], cx
je 0x45063a
lea esp, [esp]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x450630
push ecx
push edx
mov ecx, esi
call fcn.00410191
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x451c30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4887d8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
push 0x20c
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], esi
push 0
push eax
mov dword [ebp - 0x220], 0
call fcn.0046a5d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x451cd1
mov dword [ebp - 4], 1
mov ecx, esi
push eax
push 0x498200
call fcn.00416670
jmp 0x451ce7
mov dword [ebp - 4], 2
mov ecx, esi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00416670
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468946
mov esp, ebp
pop ebp
ret

Function at 0x451d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48882d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x238], esi
push eax
push 0x109
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, eax
cmp eax, 0x21c
jae 0x451e08
xor ecx, ecx
mov word [ebp + eax - 0x22c], cx
lea eax, [ebp - 0x22c]
cmp word [ebp - 0x22c], cx
je 0x451daa
lea esp, [esp]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x451da0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x22c]
push ecx
push eax
mov ecx, esi
call fcn.00416670
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468946
mov esp, ebp
pop ebp
call fcn.00468a7a
int3
Function at 0x453a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x20], eax
push ecx
call fcn.0042eed0
push ecx
mov ecx, edi
call fcn.0042eed0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.00453510
add esp, 8
test al, al
jne 0x453b4a
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x453b39
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x453b39
add eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], eax
mov ecx, edx
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x453b39
mov byte [ecx], 0
inc ecx
mov dword [ebp - 0x18], ecx
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x453b28
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
jmp 0x453c9b
mov dword [ebp - 4], 1
mov eax, 0x4ca5a8
mov esi, dword [ebp - 0x3c]
test esi, esi
mov ebx, dword [ebp - 0x40]
cmovne eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x453c47
test al, 0x10
je 0x453c47
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.0040ff88
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
test dword [ebp - 0x14], 0x400
jne 0x453c47
mov dword [ebp - 0x64], str.totermh32.dll
mov dword [ebp - 0x60], 0xd
mov dword [ebp - 0x5c], str.totermh64.dll
mov dword [ebp - 0x58], 0xd
lea edi, [ebp - 0x64]
mov dword [ebp - 0x14], 2
test esi, esi
je 0x453bcb
lea ecx, [esi - 1]
mov eax, ebx
jmp 0x453bd2
xor ecx, ecx
mov eax, 0x4ca5a8
push dword [edi + 4]
push dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00431650
add esp, 0x10
mov byte [ebp - 4], 6
mov eax, 0x4ca5a8
cmp dword [ebp - 0x4c], 0
cmovne eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453c0d
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0040ff88
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x453c31
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x453c31
add ecx, ecx
je 0x453c31
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x453c23
mov eax, dword [ebp - 0x50]
push eax
call fcn.0043af60
add esp, 4
add edi, 8
sub dword [ebp - 0x14], 1
jne 0x453bc0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x453c6b
test esi, esi
je 0x453c6b
lea ecx, [esi + esi]
mov eax, ebx
test ecx, ecx
je 0x453c6b
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x453c60
push ebx
jmp 0x453c9c
push edx
call fcn.0043af60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45aa00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4caa58]
push edi
mov edi, ecx
test esi, esi
jne 0x45aadd
cmp byte [0x4cb09f], 0
jne 0x45aa46
push esi
push esi
push 6
call fcn.0041e080
add esp, 0xc
mov byte [0x4cb09e], al
xchg dword [ebp - 8], eax
mov byte [0x4cb09f], 1
cmp byte [0x4cb09e], 0
je 0x45aabb
push 0x4a4554
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push str.AcquireSRWLockShared
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AcquireSRWLockExclusive
push esi
mov dword [0x4caa60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ReleaseSRWLockShared
push esi
mov dword [0x4caa5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ReleaseSRWLockExclusive
push esi
mov dword [0x4caa54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeSRWLock
push esi
mov dword [0x4caa50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xchg dword [ebp - 8], eax
mov dword [0x4caa58], esi
test esi, esi
jne 0x45aadd
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468946
mov esp, ebp
pop ebp
lea eax, [edi + 4]
mov ecx, esi
push eax
call dword [0x48d4b4]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [edi], 1
xor ecx, ebp
pop edi
pop esi
call fcn.00468946
mov esp, ebp
pop ebp
ret

Function at 0x45abf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4caa74]
test esi, esi
jne 0x45acce
cmp byte [0x4cb09f], 0
jne 0x45ac33
push esi
push esi
push 6
call fcn.0041e080
add esp, 0xc
mov byte [0x4cb09e], al
xchg dword [ebp - 8], eax
mov byte [0x4cb09f], 1
cmp byte [0x4cb09e], 0
je 0x45aca8
push 0x4a4554
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push str.AcquireSRWLockShared
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AcquireSRWLockExclusive
push esi
mov dword [0x4caa68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ReleaseSRWLockShared
push esi
mov dword [0x4caa64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ReleaseSRWLockExclusive
push esi
mov dword [0x4caa70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeSRWLock
push esi
mov dword [0x4caa6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xchg dword [ebp - 8], eax
mov dword [0x4caa74], esi
test esi, esi
jne 0x45acce
push 0x4cad30
mov byte [0x4cad2c], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, 0x4cad2c
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468946
mov esp, ebp
pop ebp
ret
push 0x4cad30
mov ecx, esi
mov byte [0x4cad2c], 1
call dword [0x48d4b4]
call esi
mov ecx, dword [ebp - 4]
mov eax, 0x4cad2c
xor ecx, ebp
pop esi
call fcn.00468946
mov esp, ebp
pop ebp
ret
Function at 0x45ad90
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486b40
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
push 0x4caa78
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x45adf9
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], str.NoCrtRandom::GenRandom:_not_initialized
mov dword [eax + 4], 0x27
call fcn.0045a880
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
push dword [0x4caa80]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x45aecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea ecx, [ebp - 0x34]
call fcn.004390b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push eax
call fcn.00452950
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x45ae43
lea edx, [ecx - 1]
jmp 0x45ae45
xor edx, edx
test ecx, ecx
je 0x45ae4e
mov eax, dword [eax + 4]
jmp 0x45ae53
mov eax, 0x4ca5a8
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.0045a880
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45ae81
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x45ae81
add ecx, ecx
je 0x45ae81
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x45ae73
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043af60
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45aeb1
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x45aeb1
add ecx, ecx
je 0x45aeb1
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x45aea3
mov eax, dword [ebp - 0x30]
push eax
call fcn.0043af60
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45c7c0
Capabilities:
Authenticate hmac
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0x54], ecx
push 0x36
push eax
mov esi, edx
call fcn.0046a5d0
lea eax, [ebp - 0x44]
mov ebx, esi
sub ebx, eax
lea ecx, [ebp - 0x44]
mov eax, 1
add esp, 0xc
sub eax, ecx
xor edx, edx
mov dword [ebp - 0x48], eax
mov eax, 2
mov edi, dword [ebp - 0x48]
sub eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, 3
sub eax, ecx
mov dword [ebp - 0x50], eax
cmp edx, 0x40
jae 0x45c85d
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
lea eax, [edi + ecx]
cmp eax, 0x40
jae 0x45c85d
mov al, byte [edx + esi + 1]
xor byte [ecx + 1], al
mov eax, dword [ebp - 0x4c]
add eax, ecx
cmp eax, 0x40
jae 0x45c85d
mov al, byte [edx + esi + 2]
xor byte [ecx + 2], al
mov eax, dword [ebp - 0x50]
add eax, ecx
cmp eax, 0x40
jae 0x45c85d
mov al, byte [edx + esi + 3]
add edx, 4
xor byte [ecx + 3], al
cmp edx, 0x10
jb 0x45c815
mov edi, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
push 0x40
mov ecx, edi
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
call fcn.0045c570
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0046a5d0
mov edi, dword [ebp - 0x48]
add esp, 0x10
xor edx, edx
cmp edx, 0x40
jae 0x45c900
lea eax, [ebp - 0x44]
add eax, edx
mov cl, byte [ebx + eax]
xor byte [eax], cl
lea ecx, [edi + eax]
cmp ecx, 0x40
jae 0x45c900
mov cl, byte [edx + esi + 1]
xor byte [eax + 1], cl
mov ecx, dword [ebp - 0x4c]
add ecx, eax
cmp ecx, 0x40
jae 0x45c900
mov cl, byte [edx + esi + 2]
xor byte [eax + 2], cl
mov ecx, dword [ebp - 0x50]
add ecx, eax
cmp ecx, 0x40
jae 0x45c900
mov cl, byte [edx + esi + 3]
add edx, 4
xor byte [eax + 3], cl
cmp edx, 0x10
jb 0x45c8b8
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
add ecx, 0x60
push 0x40
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x58], 0
call fcn.0045c570
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00468946
mov esp, ebp
pop ebp
ret
Function at 0x45d260
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
test bl, 7
jne 0x45d351
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1048]
mov edx, dword [edi + 0x104c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x45d33e
dec ebx
add esi, 2
shr ebx, 3
inc ebx
jmp 0x45d2a0
movzx edx, byte [esi + 2]
lea eax, [ebp - 0x14]
movzx ecx, byte [esi - 2]
shl edx, 8
push edi
push eax
movzx eax, byte [esi + 3]
or edx, eax
shl ecx, 8
movzx eax, byte [esi + 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 5]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 1]
xor edx, dword [ebp - 0xc]
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
xor ecx, dword [ebp - 8]
call fcn.0045c9e0
mov ecx, dword [ebp - 0x14]
lea esi, [esi + 8]
mov edx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x18
add esp, 8
mov byte [esi - 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, ecx
shr eax, 8
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
mov byte [esi - 7], cl
mov byte [esi - 4], al
mov byte [esi - 3], dl
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
sub ebx, 1
jne 0x45d2a0
mov dword [edi + 0x1048], ecx
mov dword [edi + 0x104c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x12f
mov edx, str.blowfish_msb_encrypt_cbc
mov ecx, str._len__7___0
call fcn.00417c20
int3
Function at 0x45d370
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
test dl, 7
jne 0x45d469
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x1048]
mov edi, dword [ecx + 0x104c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
test edx, edx
je 0x45d456
lea eax, [edx - 1]
add esi, 2
shr eax, 3
inc eax
mov dword [ebp - 0x10], eax
mov edi, edi
movzx ebx, byte [esi - 2]
movzx eax, byte [esi - 1]
movzx edi, byte [esi + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 3]
or edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 5]
shl edi, 8
or edi, eax
lea eax, [ebp - 0x18]
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.0045ce20
mov ecx, dword [ebp - 8]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0xc]
mov eax, ecx
xor edx, dword [ebp - 0x14]
shr eax, 0x18
mov byte [esi - 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, ecx
shr eax, 8
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
sub dword [ebp - 0x10], 1
mov byte [esi - 7], cl
mov ecx, dword [ebp + 8]
mov byte [esi - 4], al
mov byte [esi - 3], dl
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
jne 0x45d3b0
mov dword [ecx + 0x104c], edi
pop edi
pop esi
mov dword [ecx + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14b
mov edx, str.blowfish_msb_decrypt_cbc
mov ecx, str._len__7___0
call fcn.00417c20
int3
Function at 0x45e430
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a9d7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 8]
mov dword [ecx], 0x49d894
mov dword [ecx + 4], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 2
lea eax, [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [eax], 0x49d894
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 5
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], eax
mov dword [eax], 0x49d894
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45fe70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ac11
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 0x10], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x45fefb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x45fefb
sub esp, 8
mov ecx, esp
push str.GetLocaleInfo_size_
call fcn.00411bbc
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea ecx, [ebp - 0x80]
call fcn.004024a8
push 0x4c31b0
lea eax, [ebp - 0x80]
push eax
call fcn.0046b639
add edi, edi
jns 0x45ff13
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
add esp, 4
mov eax, 0x14
mov dword [esi], 0
cmp edi, eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmovb edi, eax
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, esi
push 0x20
push edi
call fcn.004164c0
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], 1
test eax, eax
je 0x45ff61
dec eax
jmp 0x45ff63
xor eax, eax
push eax
push dword [esi + 4]
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x45ff86
sub esp, 8
mov ecx, esp
push str.GetLocaleInfo_data_
jmp 0x45fed6
jns 0x45ff9c
push 0x46
mov edx, str.NumCast
mov ecx, str.value___0
call fcn.00417c20
add esp, 4
cmp edi, 0xffffffff
jne 0x45ffa6
call fcn.00401dbf
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 1]
push eax
call fcn.00414394
test eax, eax
je 0x45ffc4
cmp dword [esi], 0
jne 0x45ffe9
jmp 0x45ffdc
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45ffdc
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
push 0
push ecx
call fcn.0046a5d0
add esp, 0xc
mov ecx, dword [esi + 8]
xor edx, edx
mov eax, dword [esi + 4]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 8]
test eax, eax
je 0x460037
add eax, 0xffffffff
je 0x460037
cmp dword [esi], 0
lea edi, [eax - 1]
jne 0x460001
cmp edi, eax
jb 0x460018
push 0xca
mov edx, str.basic_ncstring_wchar_t_::operator___
mov ecx, str._af___i_length__
call fcn.00417c20
add esp, 4
mov eax, dword [esi + 4]
cmp word [eax + edi*2], 0
jne 0x460037
mov eax, dword [esi + 8]
test eax, eax
je 0x46002c
dec eax
jmp 0x46002e
xor eax, eax
dec eax
mov ecx, esi
push eax
call fcn.004142f2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret