joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e350
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e4d0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403ba0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4f7724], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4f7728], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4f772c], eax
mov eax, dword [0x4fc6a0]
cmp dword [eax], 2
sete byte [0x4f7304]
push 0x48e4dc
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0048e7ac
cmp byte [0x4f7304], 0
jne 0x48e3dc
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0048e7dc
test al, al
je 0x48e3dc
mov eax, dword [ebp - 0x4c]
mov dword [0x52081c], eax
jmp 0x48e3e3
xor eax, eax
mov dword [0x52081c], eax
call fcn.0048e1e8
and eax, 0x7f
cmp eax, 0xc
ja case.0x48e3f4.0
jmp dword [eax*4 + 0x48e3fb]
mov byte [0x4f72f0], 1
jmp case.0x48e3f4.0
mov byte [0x4f72f4], 1
jmp case.0x48e3f4.0
mov byte [0x4f72f8], 1
jmp case.0x48e3f4.0
mov byte [0x4f72fc], 1
jmp case.0x48e3f4.0
mov byte [0x4f7300], 1
jmp case.0x48e3f4.0
mov byte [0x4f7308], 1
mov byte [0x4f730c], 1
jmp case.0x48e3f4.0
mov byte [0x4f7308], 1
mov byte [0x4f7310], 1
jmp case.0x48e3f4.0
mov byte [0x4f7308], 1
mov byte [0x4f7310], 1
mov byte [0x4f7314], 1
jmp case.0x48e3f4.0
mov byte [0x4f7318], 1
jmp case.0x48e3f4.0
mov byte [0x4f731c], 1
jmp case.0x48e3f4.0
mov byte [0x4f7320], 1
jmp case.0x48e3f4.0
mov byte [0x4f7324], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e4d7
lea eax, [ebp - 4]
call fcn.00405488
ret

Function at 0x48e7dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48e883
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x48e86d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00405ae4
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48e86d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x48e894
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48e86d
cmp dword [ebp - 8], 0x34
jne 0x48e86d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e88a
lea eax, [ebp - 0x10]
call fcn.00405488
ret
Function at 0x499408
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x520c68
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x49942a
shr eax, 1
xor eax, 0xedb88320
jmp 0x49942c
shr eax, 1
dec edx
jne 0x499418
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x499411
mov byte [0x521068], 1
pop esi
pop ebx
ret

Function at 0x499448
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x521068], 0
jne 0x49945f
call fcn.00499408
mov eax, edi
dec eax
test eax, eax
jl 0x499488
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x520c68]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x499469
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x49bf8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x49bfbd
dec al
je 0x49bff9
dec al
je 0x49c03d
dec al
je 0x49c0a8
jmp 0x49c132
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49c132
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49bfcd
jmp 0x49c132
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49c132
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49c009
jmp 0x49c132
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49c132
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x49c06b
xor ebp, ebp
jmp 0x49c07c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x49c085
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49c04d
jmp 0x49c132
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49c132
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x49c100
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00499490
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49c0bc
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a1688
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x429788]
call fcn.0042fee8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a185b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4a183a
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00431314
mov eax, dword [ebp - 8]
call fcn.004304b8
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.0042af24
cmp byte [ebp + 8], 0
je 0x4a1722
xor edx, edx
mov eax, ebx
call fcn.004a0610
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004a0610
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004a0540
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4a175e
xor edx, edx
mov eax, ebx
call fcn.004a0610
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004a0540
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004a0610
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041da38
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.004304b8
pop edx
call fcn.0042b310
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004a0540
dec eax
test eax, eax
jl 0x4a1812
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004a04e4
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004a063c
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004a063c
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041da10
mov eax, dword [ebp - 8]
call fcn.004304b8
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4a17a8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004a04e4
cmp byte [ebp + 0xc], 0
je 0x4a183a
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.004326e4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0049fcd4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1862
mov eax, dword [ebp - 8]
call fcn.00404638
ret
Function at 0x4b170c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b188e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004b1b00
mov eax, ebx
call fcn.0042aa50
dec al
je 0x4b1750
dec al
je 0x4b1756
jmp 0x4b175c
mov byte [ebp - 0x77], 2
jmp 0x4b1760
mov byte [ebp - 0x77], 1
jmp 0x4b1760
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0042a9dc
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov edi, dword [ebx + 0x18]
cmp edi, 0xff000008
je 0x4b17ad
cmp edi, 0x20000000
jne 0x4b17b9
mov dword [ebp - 0x88], 0x40000000
jmp 0x4b17c3
mov eax, edi
call fcn.0042a298
mov dword [ebp - 0x7c], eax
mov eax, ebx
call fcn.0042aa18
test al, 1
je 0x4b17d5
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.0042aa18
test al, 2
je 0x4b17e7
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.0042aa18
test al, 4
je 0x4b17f9
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.0042aa18
test al, 8
je 0x4b180b
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0042a968
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.0040cfa8
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.0042aa80
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0042a76c
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x4b1868
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004b1b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1895
lea eax, [ebp - 0x94]
call fcn.00405488
ret
Function at 0x4b2834
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, 0x4fb15c
xor eax, eax
push ebp
push 0x4b29ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x521104], 1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b299d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b29c8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4b288f
cmp dword [ebx], 0x20
jae 0x4b288f
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x4b28bb
push 0x4b29d8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4b2986
cmp dword [ebx], 0x20
jae 0x4b2986
xor eax, eax
mov dword [ebx], eax
jmp 0x4b2986
mov byte [0x521104], 2
lea eax, [ebp - 8]
mov edx, 0x4b29f0
call fcn.00405520
lea eax, [ebp - 8]
call fcn.004059a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b2986
mov eax, ebx
call fcn.00402e98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b297f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b2969
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b2a00
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b2969
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
and eax, 0xffff
mov ecx, 0xa
xor edx, edx
div ecx
mov byte [0x521104], al
cmp byte [0x521104], 0
jne 0x4b2969
mov byte [0x521104], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2986
mov eax, dword [ebp - 0x10]
call fcn.00402ec8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b29a4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4be648
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4be650
push ebx
push esi
push edi
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4be832
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp - 1]
call fcn.00403440
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0x41
jb 0x4be802
cmp byte [ebp - 1], 0x5a
ja 0x4be802
lea eax, [ebp - 0x14]
mov dl, byte [ebp - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00403a00
mov edx, 0x4be840
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004039d0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.004056fc
mov eax, dword [ebp - 0xc]
call fcn.00405958
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4be802
lea eax, [ebp - 0x1c]
call fcn.004df170
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 8]
mov edx, 0x4be84c
call fcn.0040cc54
mov eax, dword [ebp - 8]
call fcn.0040ca84
test al, al
jne 0x4be6d2
push 0x4be85c
push 0x4be864
mov ecx, dword [0x4fd668]
mov dl, 1
mov eax, dword [0x41d11c]
call fcn.00421658
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4be744
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00421454
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be74b
mov eax, dword [ebp - 0x10]
call fcn.00404638
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be839
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004054ac
lea eax, [ebp - 0x1c]
call fcn.00405488
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004054ac
ret
Function at 0x4c06b8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x242], 0
jne 0x4c0705
mov eax, dword [ebp - 4]
cmp byte [eax + 0x232], 1
je 0x4c0705
mov eax, dword [ebp - 4]
cmp byte [eax + 0x232], 2
jne 0x4c0877
mov eax, dword [ebp - 4]
call fcn.004c0144
test al, al
je 0x4c0877
mov eax, dword [ebp - 4]
call fcn.0044f650
push eax
call sub.user32.dll_HideCaret
xor eax, eax
push ebp
push 0x4c0870
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044f650
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c085b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c0834
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00448878
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00448834
inc eax
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c0816
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov ebx, eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0044d654
mov eax, dword [ebp - 4]
cmp byte [eax + 0x241], 0
je 0x4c07ba
mov eax, dword [ebp - 4]
call fcn.004c04dc
push 0xcc0020
push 1
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00448878
push eax
mov eax, dword [ebp - 4]
call fcn.00448834
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x20c]
mov esi, dword [eax*4 + 0x4fb2e8]
push esi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c081d
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d55b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 0x222], 0
je 0x4d55db
mov ecx, edi
mov dl, 1
mov eax, dword [0x4d4390]
call fcn.004d43f4
mov dword [edi + 0x294], eax
jmp 0x4d56e4
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
cmp byte [edi + 0x22b], 0
je 0x4d561c
mov al, byte [edi + 0x22a]
xor edx, edx
mov dl, al
cmp dx, word [edi + 0x226]
jbe 0x4d5611
mov edx, eax
sub dl, byte [edi + 0x226]
mov eax, edi
call fcn.004d4b64
jmp 0x4d5652
xor edx, edx
mov eax, edi
call fcn.004d4b64
jmp 0x4d5652
movzx edx, word [edi + 0x226]
mov ecx, 0x64
sub ecx, edx
mov al, byte [edi + 0x22a]
xor edx, edx
mov dl, al
cmp ecx, edx
jle 0x4d5649
mov edx, eax
add dl, byte [edi + 0x226]
mov eax, edi
call fcn.004d4b64
jmp 0x4d5652
mov dl, 0x64
mov eax, edi
call fcn.004d4b64
cmp byte [edi + 0x22b], 0
je 0x4d5664
cmp byte [edi + 0x22a], 0
je 0x4d5676
cmp byte [edi + 0x22b], 0
jne 0x4d5681
cmp byte [edi + 0x22a], 0x64
jne 0x4d5681
mov bl, byte [edi + 0x224]
xor bl, 1
jmp 0x4d56b1
mov eax, dword [0x4fc404]
mov eax, dword [eax]
call fcn.00468cf8
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
movzx edx, word [edi + 0x228]
cmp eax, edx
ja 0x4d56b1
cmp byte [edi + 0x224], 0
jne 0x4d56b1
cmp byte [edi + 0x2a0], 0
je 0x4d5681
test bl, bl
jne 0x4d56cb
cmp byte [edi + 0x224], 0
jne 0x4d56cb
cmp byte [edi + 0x2a0], 0
je 0x4d55dd
cmp byte [edi + 0x2a0], 0
jne 0x4d56dd
cmp byte [edi + 0x224], 0
jne 0x4d56e4
mov eax, edi
call fcn.004d59d8
pop edi
pop esi
pop ebx
ret
Function at 0x4df170
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [esp + 0x105]
push eax
push 0
push 0x4df1b4
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [esp + 0x105]
call fcn.0040d0ec
add esp, 0x20c
pop ebx
ret

Function at 0x4df540
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov ecx, dword [0x4fc404]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4de63c]
call fcn.004614ac
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4df70f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fc67c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00466e34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x1f4]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.004622a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004622d0
mov eax, dword [0x4fc67c]
mov eax, dword [eax]
call fcn.00466878
mov edx, eax
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x4df5db
adc edx, 0
mov eax, dword [ebp - 4]
call fcn.004485a0
mov eax, dword [0x4fc67c]
mov eax, dword [eax]
call fcn.0046686c
mov edx, eax
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x4c]
sar edx, 1
jns 0x4df5fe
adc edx, 0
mov eax, dword [ebp - 4]
call fcn.004485c4
test bl, bl
je 0x4df684
mov eax, dword [edi + 0xc]
mov edx, dword [0x46aeb4]
call fcn.004047d0
test al, al
jne 0x4df684
mov eax, dword [edi + 0xc]
mov edx, dword [0x4298cc]
call fcn.004047d0
test al, al
jne 0x4df684
mov eax, edi
call fcn.004e05f4
test al, al
je 0x4df661
cmp dword [0x4fb9a0], 0
je 0x4df661
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00448d50
mov eax, dword [edi + 0xc]
mov cl, 0xff
mov edx, dword [ebp - 4]
call fcn.004e082c
jmp 0x4df684
push 0
mov eax, dword [edi + 0xc]
call fcn.004def90
push eax
mov eax, dword [ebp - 4]
call fcn.0044f650
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
mov byte [eax + 0x2fc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2fe], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 8]
mov byte [eax + 0x2fd], dl
mov eax, dword [ebp - 4]
call fcn.0046581c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [0x4fc404]
mov eax, dword [eax]
call fcn.0046897c
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4df6ce
mov eax, dword [0x4fc404]
mov eax, dword [eax]
call fcn.00468cf8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2fe], 0
jne 0x4df6eb
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
imul edx, esi, 0x3e8
cmp eax, edx
jl 0x4df6c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df716
mov eax, dword [0x4fc67c]
mov eax, dword [eax]
xor edx, edx
call fcn.00466e34
mov eax, dword [ebp - 4]
call fcn.00404638
ret