joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.00498090
mov eax, dword [0x504e20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x456880
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x456880
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x4568f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x4568da
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x4568f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x45698a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x456978
lea eax, [esi + esi]
call fcn.00499c30
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x45698a
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456923
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x45698a
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.0049906d
mov esi, eax
add esp, 8
test esi, esi
jne 0x456a2e
call fcn.0049d2de
cmp dword [eax], 2
je 0x456970
call fcn.0049d2de
cmp dword [eax], 9
jne 0x456982
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.0049a351
mov esi, eax
add esp, 8
test esi, esi
jne 0x456a2e
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004432d0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x4d0dbc
push eax
push 0x4d0db8
push ecx
push str.fopen_
push 5
call fcn.00442eb0
add esp, 0x2c
call fcn.0049d2de
cmp dword [eax], 2
jne 0x456a00
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004432d0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d64
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004432d0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d64
mov esp, ebp
pop ebp
ret
push 0x503eb8
call fcn.00441910
mov edi, eax
add esp, 4
test edi, edi
jne 0x456a60
push esi
call fcn.004991fd
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d64
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.004413a0
push esi
push 1
push 0x6a
push edi
call fcn.00441700
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d64
mov esp, ebp
pop ebp
ret
Function at 0x4756e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4756f9
mov esi, edi
mov edi, eax
jmp 0x4756fb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x47570b
mov eax, ebx
jmp 0x475715
push eax
push ebx
call fcn.004469d0
add esp, 8
test eax, eax
jne 0x47571d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x475739
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x475724
cmp eax, dword [esi + 4]
jge 0x475750
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x475740
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x475771
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x47576e
dec eax
test eax, eax
jg 0x475760
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4aec88
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x504e20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0049f656
mov dword [ebp - 0x14], eax
cmp dword [0x509ba8], edi
jne 0x4aed79
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4aed06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4aee59
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4aee59
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4aee59
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x509ba8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x509bac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4f4a0c
push esi
mov dword [0x509bb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x509bb8], eax
test eax, eax
je 0x4aed76
push 0x4f4a28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x509bb4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4aed9e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4aed91
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4aedb3
push 4
pop eax
jmp 0x4aee5b
cmp dword [ebp - 0x14], edi
je 0x4aedb3
push dword [0x509ba8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4aed98
mov eax, dword [0x509bb4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4aee11
cmp dword [0x509bb8], esi
je 0x4aee11
push eax
call ebx
push dword [0x509bb8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4aee11
test eax, eax
je 0x4aee11
call ecx
test eax, eax
je 0x4aee06
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4aee06
test byte [ebp - 8], 1
jne 0x4aee11
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4aee41
mov eax, dword [0x509bac]
cmp eax, esi
je 0x4aee3e
push eax
call ebx
test eax, eax
je 0x4aee3e
call eax
mov edi, eax
test edi, edi
je 0x4aee3e
mov eax, dword [0x509bb0]
cmp eax, esi
je 0x4aee3e
push eax
call ebx
test eax, eax
je 0x4aee3e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x509ba8]
call ebx
test eax, eax
je 0x4aee59
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4aee5b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496d64
leave
ret
Function at 0x4b1262
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004a1ee9
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4b129a
xor eax, eax
jmp 0x4b12c6
cmp esi, dword [ebp - 4]
je 0x4b12c3
cmp dword [ebp + 0xc], 0
je 0x4b12c3
push dword [edi + 0x9c]
call fcn.004b0e70
push dword [edi + 0x9c]
mov esi, eax
call fcn.0049f96e
pop ecx
pop ecx
cmp esi, eax
je 0x4b1296
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x55f43b]
shl eax, 2
mov dword [0x55f43f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0053ac0c
pop edx
call fcn.0053ab70
call fcn.0053ac4c
push 0
call fcn.0053bfc0
pop ecx
push 0x55f3e4
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x55f443], eax
push 0
jmp fcn.00544dd4

Function at 0x4017a4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa6c
push ebx
push esi
mov bx, 2
lea eax, [ebp - 0x594]
push eax
push ebx
call sub.WSOCK32.DLL_WSAStartup
push 0x400
lea edx, [ebp - 0x404]
push edx
call sub.WSOCK32.DLL_gethostname
test eax, eax
jne 0x40182b
lea ecx, [ebp - 0x404]
push ecx
call sub.WSOCK32.DLL_gethostbyname
xor esi, esi
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov dword [ebp - 4], ecx
jmp 0x401815
call sub.WSOCK32.DLL_WSACleanup
xor eax, eax

Function at 0x404d78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, eax
cmp esi, ecx
mov edi, dword [ebp + 0x14]
jle 0x404da0
mov eax, ecx
inc ecx
cdq
idiv dword [ebp + 0x18]
mov al, byte [edi + edx]
xor byte [ebx], al
inc ebx
cmp esi, ecx
jg 0x404d8f
pop edi
pop esi
Function at 0x429f84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push 0x74
mov eax, dword [ebp + 8]
add eax, 0x224c
push eax
lea edx, [ebp - 0x78]
push edx
call fcn.0053aef0
add esp, 0xc
mov eax, dword [ebp - 0x24]
sub eax, 0x3e8
xor ebx, ebx
add eax, 0x3e8
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, 0x400ffe
mov ecx, dword [edx + 0x2290]
add ecx, eax
imul eax, ebx, 0x10524
add ecx, eax
mov eax, ecx
xor ecx, ecx
add eax, 2
xor edx, edx
xor ecx, dword [eax]
inc edx
add eax, 4
cmp edx, 0x4149
jl 0x429fd5
mov edx, dword [ebp - 4]
mov dword [edx], ecx
inc ebx
add dword [ebp - 4], 4
cmp ebx, 0xa
jl 0x429fb4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a03f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [ebp + 8]
or byte [ebx + 0x400ff7], bh
push dword [eax + 0xb0]
pop edx
mov eax, dword [ebp + 0xc]

Function at 0x42be8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp ecx, edx
jle 0x42bea4
xor byte [eax], 0x63
inc edx
inc eax
cmp ecx, edx
jg 0x42be9b
pop ebp
ret

Function at 0x4807bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
mov eax, 0x573a40
push ebx
push esi
push edi
call fcn.0053b394
mov word [ebp - 0x50], 8
xor edx, edx
mov dword [ebp - 4], edx

Function at 0x4824cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
mov eax, 0x573f6c
push ebx
push esi
push edi
mov ebx, 0x56d444
mov esi, dword [ebp + 8]
jne 0x4824ed

Function at 0x4824e3
Capabilities:
Get common file path

Disassembly:
jne 0x4824ed
call fcn.0053b394
mov word [ebp - 0x38], 8
xor edx, edx
lea eax, [ebx + 0x1539]
cmp dword [ecx], 0x15
add byte [eax], al
enter 8, 0x33
ror byte [ebp + 0x153983], cl
cmp dword [ecx], 0x15
add byte [eax], al
mov dword [ebp - 4], edx
invalid
xchg ebp, eax
pushfd
invalid

Function at 0x4824f3
Capabilities:
Get common file path

Disassembly:
cmp dword [ecx], 0x15
add byte [eax], al
mov dword [ebp - 4], edx
lea edx, [ebp - 0x164]
inc dword [ebp - 0x2c]
mov word [ebp - 0x38], 0x14
mov ecx, dword [esi + 0x718]
push ecx
push eax
push edx
call fcn.0053e6d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x150]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebx + 0x153c]
push eax
invalid
xchg ebp, eax
mov al, 0xfe
Function at 0x482663
Capabilities:
Set file attributes

Disassembly:
lea edx, [ebx + 0x155a]
lea eax, [ebp - 0x18]
call fcn.00548ff0
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005491a0
mov word [ebp - 0x38], 0x68
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
call fcn.00549064
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005491a0
push 0x80
cmp dword [ebp - 4], 0
je 0x4826cc
mov ecx, dword [ebp - 4]
jmp 0x4826d2
lea ecx, [ebx + 0x155c]
push ecx
call sub.KERNEL32.DLL_SetFileAttributesA
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov word [ebp - 0x38], 0x14
jmp 0x4826f6
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x48271e
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x38], 0x80
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x74
dec dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005491a0
mov ecx, dword [ebp - 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9644
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ecx, eax
inc eax
shl ecx, 2
push ecx
mov cl, 0x64
pop ebx
sub cl, bl
xor byte [edx], cl
inc edx
cmp eax, 0x28
jl 0x4a964d
pop ebx
pop ebp
ret
Function at 0x4ac4a8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x57421c
push ebx
call fcn.0053b394
mov dword [ebp - 8], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00549028
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
mov eax, dword [ebp + 0xc]
call fcn.00548fe8
mov ebx, eax
test bl, bl
jne 0x4ac507
push 0x80
cmp dword [ebp + 0xc], 0
je 0x4ac4f2
mov eax, dword [ebp + 0xc]
jmp 0x4ac4f7
mov eax, 0x56e9ae
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp + 0xc]
call fcn.00548fe8
mov ebx, eax
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.005491a0
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac548
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
mov eax, 0x571be8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.0053b394
mov word [ebp - 0x30], 8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x154]
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0x14
mov word [ebp - 0x30], 0x20
mov dword [ebp - 8], ecx
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0x14
push 0x104
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x56e5db
lea edx, [ebp - 0x154]
push edx
call fcn.0053b004
add esp, 8
push 0x56e5e8
lea ecx, [ebp - 0x154]
push ecx
call fcn.0053b004
add esp, 8
push 0x56e5eb
lea eax, [ebp - 0x154]
push eax
call fcn.0053b004
mov word [ebp - 0x30], 0x2c
add esp, 8
lea edx, [ebp - 0x154]
lea eax, [ebp - 0xc]
call fcn.00548ff0
mov edx, eax
inc dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.005491d0
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005491a0
mov word [ebp - 0x30], 0x38
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x10]
push eax
inc dword [ebp - 0x24]
call fcn.00481004
add esp, 8
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.005491d0
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005491a0
cmp dword [ebp - 8], 0
je 0x4ac64b
mov ecx, dword [ebp - 8]
mov eax, dword [ecx - 4]
jmp 0x4ac64d
xor eax, eax
cmp eax, 4
jge 0x4ac681
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005491a0
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005491a0
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
jmp 0x4ac768
push 4
cmp dword [ebp - 8], 0
je 0x4ac68e
mov eax, dword [ebp - 8]
jmp 0x4ac693
mov eax, 0x56e5f0
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.0053aef0
xor dword [ebp - 0x48], 0x87236151
mov eax, dword [ebp - 0x48]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dl, 1
mov eax, dword [0x523e00]
call fcn.00406fdc
mov dword [ebp - 0x44], eax
mov word [ebp - 0x30], 0x44
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x14]
call fcn.005490ec
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005491a0
mov word [ebp - 0x30], 0x50
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov word [ebp - 0x30], 0x14
jmp 0x4ac716
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4ac73e
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x30], 0x68
mov edx, 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x30], 0x5c
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005491a0
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005491a0
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aca9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
mov eax, 0x571e34
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.0053b394
mov word [ebp - 0x30], 8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x154]
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0x14
mov word [ebp - 0x30], 0x20
mov dword [ebp - 8], ecx
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0x14
push 0x104
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x56e607
lea edx, [ebp - 0x154]
push edx
call fcn.0053b004
add esp, 8
push 0x56e614
lea ecx, [ebp - 0x154]
push ecx
call fcn.0053b004
add esp, 8
push 0x56e617
lea eax, [ebp - 0x154]
push eax
call fcn.0053b004
mov word [ebp - 0x30], 0x2c
add esp, 8
lea edx, [ebp - 0x154]
lea eax, [ebp - 0xc]
call fcn.00548ff0
mov edx, eax
inc dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.005491d0
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005491a0
mov word [ebp - 0x30], 0x38
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x10]
push eax
inc dword [ebp - 0x24]
call fcn.00481004
add esp, 8
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.005491d0
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005491a0
cmp dword [ebp - 8], 0
je 0x4acb9f
mov ecx, dword [ebp - 8]
mov eax, dword [ecx - 4]
jmp 0x4acba1
xor eax, eax
cmp eax, 4
jge 0x4acbd5
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005491a0
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005491a0
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
jmp 0x4accbc
push 4
cmp dword [ebp - 8], 0
je 0x4acbe2
mov eax, dword [ebp - 8]
jmp 0x4acbe7
mov eax, 0x56e61c
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.0053aef0
xor dword [ebp - 0x48], 0x87236151
mov eax, dword [ebp - 0x48]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dl, 1
mov eax, dword [0x523e00]
call fcn.00406fdc
mov dword [ebp - 0x44], eax
mov word [ebp - 0x30], 0x44
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x14]
call fcn.005490ec
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005491a0
mov word [ebp - 0x30], 0x50
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
mov esp, 0x51ff088b
mov word fs:[ebp - 0x30], 0x14
Function at 0x4bc2dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
and eax, 0x80000001
jns 0x4bc2f9
dec eax
or eax, 0xfffffffe
inc eax
dec eax
jne 0x4bc303
xor eax, eax
jmp 0x4bc608
mov eax, dword [ebp + 0xc]
call fcn.004f870c
cmp al, 5
je 0x4bc316
xor eax, eax
jmp 0x4bc608
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
inc ecx
sar ecx, 1
jns 0x4bc337
adc ecx, 0
shl ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
dec edx
call fcn.004f8790
mov dword [ebp - 0x24], eax
cmp byte [0x56d3cb], 0
jne 0x4bc471
xor ecx, ecx
mov edi, 0x580fac
mov dword [ebp - 4], ecx
mov esi, 0x580bac
mov dword [ebp - 0x40], 0x5827ac
mov dword [ebp - 0x3c], 0x5823ac
mov dword [ebp - 0x38], 0x581fac
mov dword [ebp - 0x34], 0x581bac
mov dword [ebp - 0x30], 0x5817ac
mov dword [ebp - 0x2c], 0x5813ac
mov ebx, 0x5807ac
fild dword [ebp - 4]
fmul qword [0x4bc610]
call fcn.00542070
mov dword [ebx], eax
fild dword [ebp - 4]
fmul qword [0x4bc618]
call fcn.00542070
mov dword [esi], eax
fild dword [ebp - 4]
fmul qword [0x4bc620]
call fcn.00542070
mov dword [edi], eax
fild dword [ebp - 4]
fmul qword [0x4bc628]
call fcn.00542070
mov edx, dword [ebp - 0x2c]
mov dword [edx], eax
fild dword [ebp - 4]
fmul qword [0x4bc630]
call fcn.00542070
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
fild dword [ebp - 4]
fmul qword [0x4bc638]
call fcn.00542070
mov edx, dword [ebp - 0x34]
mov dword [edx], eax
fild dword [ebp - 4]
fmul qword [0x4bc638]
call fcn.00542070
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
fild dword [ebp - 4]
fmul qword [0x4bc640]
call fcn.00542070
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
fild dword [ebp - 4]
fmul qword [0x4bc648]
call fcn.00542070
mov edx, dword [ebp - 0x40]
add edi, 4
add esi, 4
add ebx, 4
mov dword [edx], eax
inc dword [ebp - 4]
add dword [ebp - 0x40], 4
add dword [ebp - 0x3c], 4
add dword [ebp - 0x38], 4
add dword [ebp - 0x34], 4
add dword [ebp - 0x30], 4
add dword [ebp - 0x2c], 4
cmp dword [ebp - 4], 0x100
jl 0x4bc397
mov byte [0x56d3cb], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x26c], 0
jne 0x4bc485
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x1c]
jge 0x4bc5e3

Function at 0x4bc6a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, eax
cmp esi, ecx
jle 0x4bc6d1
lea eax, [ecx + 0x32]
mov edi, 0x65
cdq
idiv edi
mov eax, edx
inc ecx
xor byte [ebx], al
inc ebx
cmp esi, ecx
jg 0x4bc6bc
pop edi
pop esi
pop ebx
pop ebp
ret