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

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x5bfa70]
shl edi, 2
xor edx, dword [esi + 0x5be9e8]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x5bea70]
mov bl, dl
add ecx, dword [ebx*4 + 0x5bee70]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x5bf270]
mov bl, dl
add ecx, dword [ebx*4 + 0x5bf670]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x485f7d
xchg edx, eax
xor eax, dword [esi + 0x5be9e8]
xor edx, dword [esi + 0x5be9ec]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x485fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x5bfa70]
inc esi
shl esi, 2
xor edx, dword [esi + 0x5be9e8]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x5bea70]
mov bl, dl
add ecx, dword [ebx*4 + 0x5bee70]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x5bf270]
mov bl, dl
add ecx, dword [ebx*4 + 0x5bf670]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x485fec
xchg edx, eax
xor eax, dword [0x5be9ec]
xor edx, dword [0x5be9e8]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x4862cc
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x5bfa70], 0x10
mov esi, 0x5b6d34
mov edi, 0x5be9e8
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

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

Disassembly:
or edx, edx
je 0x4888ff
jecxz 0x4888ff
push ebx
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword cs:[ebx + 0x488900]
inc edx
loop 0x4888e7
pop ebx
ret
Function at 0x48ac70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48aca3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x48ac99
mov eax, dword [ebp - 4]
call fcn.0048932c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48acad
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x48ad63
call sub.kernel32.dll_GetTickCount
sub eax, 0xf
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x20]
jb 0x48ad63
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
xor edx, edx
push ebp
push 0x48ad59
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004092e4
cmp eax, 0xffffffff
jne 0x48ad03
pop dword fs:[0]
add esp, 8
jmp 0x48ad63
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jle 0x48ad4f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 0
je 0x48ad1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48ad63
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
xor eax, eax
push ebp
push 0x48ad45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048932c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48ad4f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48ad63
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x48b424
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402c18
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x5bc2e0]
cmp byte [edx + 8], 0
je 0x48b48b
mov edx, dword [0x5bc2d0]
cmp dword [edx], 2
jne 0x48b48b
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
pop ebp
ret
Function at 0x48b490
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48b548
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0048b424
test al, al
je 0x48b52a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403d80
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x48b52a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040dc
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004040dc
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403e50
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x48b4e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b54f
lea eax, [ebp - 0x2c]
call fcn.00403c9c
lea eax, [ebp - 0xc]
call fcn.00403c9c
ret

Function at 0x48b558
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 8
call fcn.00402c18
lea eax, [ebx + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.004040dc
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.0048afa4
mov byte [ebx], al
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x48b760
Capabilities:
Set registry value

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 - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48b7f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0048af74
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004040dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x48b7db
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x5bbde4]
call fcn.00405c9c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48ae24]
call fcn.0040bc34
call fcn.00403710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b7f8
lea eax, [ebp - 0x10]
call fcn.00403c9c
ret
Function at 0x48b804
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48b89f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004040dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48b879
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x5bc2f0]
call fcn.00405c9c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48ae24]
call fcn.0040bc34
call fcn.00403710
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048afa4
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b8a6
lea eax, [ebp - 0x10]
call fcn.00403c9c
ret

Function at 0x49576c
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
test byte [ebx + 0x20], 0x10
jne 0x495815
cmp byte [ebx + 0x25b], 0
jne 0x495815
cmp byte [ebx + 0x220], 0
jne 0x49579b
mov dl, 1
mov eax, ebx
call fcn.0049585c
cmp byte [ebx + 0x220], 0
je 0x495815
mov byte [ebx + 0x25b], 1
cmp byte [ebx + 0x25d], 0
je 0x4957e5
cmp word [ebx + 0x29e], 0
je 0x4957e5
cmp byte [0x5c0a38], 0
je 0x4957e5
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4957e5
lea edx, [ebx + 0x2bc]
mov eax, dword [ebx + 0x2a0]
call dword [ebx + 0x29c]
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
call fcn.0044e960
push 6
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
pop ebx
pop ebp
ret
Function at 0x495da4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x495f74
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25b], 0
je 0x495f74
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22c], 0
jne 0x495f74
xor eax, eax
push ebp
push 0x495f6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x22c], 1
mov byte [ebp - 5], 0
mov byte [ebp - 7], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x2b6], 0
je 0x495e21
lea ecx, [ebp - 7]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x2b8]
call dword [ebx + 0x2b4]
cmp byte [ebp - 7], 0
jne 0x495e31
call fcn.004037b0
jmp 0x495f74
mov al, byte [ebp - 7]
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25d], 0
je 0x495e91
mov eax, dword [ebp - 4]
cmp word [eax + 0x2a6], 0
je 0x495e91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bc]
call fcn.00403f18
test eax, eax
jle 0x495e91
mov byte [ebp - 6], 0
lea ecx, [ebp - 6]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2bc]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x2a8]
call dword [ebx + 0x2a4]
cmp byte [ebp - 6], 0
jne 0x495e91
call fcn.004037b0
jmp 0x495f74
mov eax, dword [ebp - 4]
cmp byte [eax + 0x258], 0
jne 0x495eb6
push 0
push 0
push 0x6d81
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_PostMessageA
xor eax, eax
push ebp
push 0x495f4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
call fcn.0044e9a8
push 9
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x444ff0]
call fcn.00403148
mov dl, 1
call fcn.00448c50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x444ff0]
call fcn.00403148
call fcn.0045abd4
mov dl, 1
call fcn.0046ad84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495f55
mov eax, dword [ebp - 4]
mov byte [eax + 0x25b], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x296], 0
je 0x495f4d
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x298]
call dword [ebx + 0x294]
ret
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a5498
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5570
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5c0b5c], 0
jne 0x4a5554
lea eax, [ebp - 4]
mov edx, 0x4a5588
call fcn.00403d34
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004040dc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4a5554
mov eax, ebx
call fcn.00402714
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a554d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a5537
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a5598
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a5537
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x5c0b5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5554
mov eax, dword [ebp - 0xc]
call fcn.0040272c
ret
mov ebx, dword [0x5c0b5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5577
lea eax, [ebp - 4]
call fcn.00403c9c
ret

Function at 0x4b9b5c
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5c0b80], 0
jne 0x4b9b82
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4b9ae0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5c0b80], eax
pop ebp
ret

Function at 0x4bceec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0045affc
test al, al
je 0x4bcf49
cmp bl, 7
jne 0x4bcf25
push 2
lea eax, [ebp - 2]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [ebp - 2]
sub edi, 0x30
jmp 0x4bcf2a
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc0]
test eax, eax
je 0x4bcf49
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc0]
mov edx, edi
call fcn.004375e0
mov byte [esi + 0x204], bl
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4bfee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c00c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4bff2a
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004bf998
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0040c4a0
cmp al, 1
jne 0x4bff2a
dec ebx
mov edi, ebx
mov eax, esi
call fcn.004bfcb4
test al, al
je 0x4c0062
test edi, edi
jge 0x4bff41
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004bf998
mov eax, dword [ebp - 0x204]
call fcn.00403f18
cmp ebx, eax
jge 0x4bff88
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004bf998
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5bc2b0]
and eax, 0xff
bt dword [edx], eax
jae 0x4bff88
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x4bff96
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.004bfeb8
cmp ebx, edi
je 0x4c005a
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x4bffc0
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.00403194
and eax, 0x7f
movzx eax, word [eax*2 + 0x5b8440]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403194
and eax, 0x7f
movzx eax, word [eax*2 + 0x5b8440]
push eax
push pe_nt_image_headers32
mov eax, esi
call fcn.0045abd4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403194
and eax, 0x7f
movzx eax, word [eax*2 + 0x5b8440]
push eax
push 0x101
mov eax, esi
call fcn.0045abd4
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x4c00a9
test edi, edi
jge 0x4c0068
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004bf998
mov eax, dword [ebp - 0x204]
call fcn.00403f18
cmp edi, eax
jl 0x4c009e
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004bf998
mov eax, dword [ebp - 0x204]
call fcn.00403f18
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.004bfeb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c00c9
lea eax, [ebp - 0x204]
call fcn.00403c9c
ret
Function at 0x4c32f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ec]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4c3493
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebx + 0x10]
call fcn.0042f490
cmp byte [ebp + 8], 0
je 0x4c3349
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0042f360
jmp 0x4c3357
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0042f360
mov eax, dword [ebx + 0x10]
call fcn.0042f488
dec eax
jle 0x4c339d
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.0042f358
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.0042f488
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0042f420
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov bx, 0xffcf
call fcn.00403194
test al, al
je 0x4c33e6
test esi, esi
jne 0x4c33e6
inc dword [ebp - 0xc]
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4c341c
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1ec]
call fcn.0043003c
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cc634
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cc6eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004040dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4cc676
call fcn.004037b0
jmp 0x4cc6f2
mov eax, ebx
call fcn.00402714
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004040dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4cc69f
call fcn.004037b0
jmp 0x4cc6f2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4cc6fc
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4cc6c0
call fcn.004037b0
jmp 0x4cc6f2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc6f2
mov eax, dword [ebp - 8]
call fcn.0040272c
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cc9b8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x4cc9fd
push dword fs:[ecx]
mov dword fs:[ecx], esp
or edx, 0x4008
push edx
push 0x160
lea edx, [ebp - 0x160]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x15c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cca09
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cca14
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cca64
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0x4010
push esi
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, ebx
call fcn.004040dc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x15c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cca70
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cdf24
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cdf77
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0x4000
push esi
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0x90
mov eax, ebx
call fcn.004040dc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x15c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cdf83
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cdf8c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cdfdc
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0x4010
push esi
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, ebx
call fcn.004040dc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x15c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cdfe8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d0dfc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00402c18
pop ebp
ret
Function at 0x4db41c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4db4d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x224]
call fcn.00403d34
movsx esi, word [ebx + 0x1e4]
call sub.kernel32.dll_GetTickCount
mov edi, eax
cmp byte [ebx + 0x268], 0
je 0x4db4b8
push 0
push 1
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004d82f0
movsx eax, word [ebx + 0x1e4]
cmp esi, eax
jne 0x4db497
mov eax, dword [ebx + 0x224]
mov edx, dword [ebp - 0xc]
call fcn.00404028
je 0x4db49d
mov byte [ebp - 5], 1
jmp 0x4db4b8
mov dl, 1
mov eax, ebx
call fcn.005accec
call sub.kernel32.dll_GetTickCount
sub eax, edi
imul edx, dword [ebp - 4], 0x3e8
cmp eax, edx
jbe 0x4db460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db4da
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403cc0
ret