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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
lea eax, [edi + 0x1028]
push ebx
push eax
call fcn.005520f0
push 0x1028
push 0x58b2f0
push edi
mov dword [edi + 0x1060], 0
call fcn.005520f0
add esp, 0x18
cmp esi, 0x28
jle 0x4105c3
mov esi, 0x28
lea ecx, [esi + ebx]
mov eax, ebx
lea esi, [edi + 8]
mov dword [ebp + 8], 2
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4105dc
mov eax, ebx
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4105ec
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4105fc
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x41060c
mov eax, dword [ebp + 0xc]
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x41061a
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x41062a
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x41063a
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x41064a
mov eax, dword [ebp + 0xc]
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x410658
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x410668
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x410678
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x410688
mov eax, dword [ebp + 0xc]
xor dword [esi], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x410695
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4106a5
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4106b5
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4106c5
mov eax, dword [ebp + 0xc]
xor dword [esi + 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x4106d3
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4106e3
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x4106f3
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
jb 0x410705
mov eax, ebx
xor dword [esi + 8], edx
add esi, 0x14
dec dword [ebp + 8]
jne 0x4105d2
xor edx, edx
xor eax, eax
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [edi + 0x24]
xor ecx, eax
mov eax, dword [edi]
xor eax, edx
mov dword [edi + esi*4], ecx
mov dword [edi + esi*4 + 4], eax
add esi, 2
mov edx, ecx
cmp esi, 0xa
jl 0x410720
xor esi, esi
lea esp, [esp]
mov ecx, dword [edi + 0x24]
xor ecx, eax
mov eax, dword [edi]
xor eax, edx
mov dword [edi + esi*4 + 0x28], ecx
mov dword [edi + esi*4 + 0x2c], eax
add esi, 2
mov edx, ecx
cmp esi, 0x400
jl 0x410740
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x410770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 3
test eax, eax
jle 0x4107a7
push esi
push edi
mov esi, eax
lea ebx, [ebx]
mov eax, dword [edx + 4]
mov edi, dword [ecx + 0x24]
xor edi, dword [edx]
xor eax, dword [ecx]
mov dword [edx + 4], edi
mov dword [edx], eax
add edx, 8
dec esi
jne 0x410790
pop edi
pop esi
pop ebp
ret 8
Function at 0x4113a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570c1b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push 0x9c
lea edx, [ebp - 0xac]
push 0
mov dword [esi + 0x1680], ecx
push edx
mov dword [ebp - 0xb4], eax
mov dword [0x5e4e7c], esi
call fcn.00552060
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x20]
push 0
push 0x3e8
push 0x64
push ecx
mov dword [esi + 0x1690], 0x64
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0045b519
mov eax, dword [eax + 4]
mov edx, dword [eax]
push 1
push str.Use_DDraw
mov ecx, eax
mov eax, dword [edx + 0x7c]
push str.Options
call eax
cmp dword [ebp - 0x9c], 2
mov edi, eax
jne 0x411485
cmp dword [ebp - 0xa8], 5
jbe 0x411485
call fcn.0045b519
mov eax, dword [eax + 4]
mov edx, dword [eax]
push 0
push str.Use_DDraw
mov ecx, eax
mov eax, dword [edx + 0x7c]
push str.Options
call eax
mov edi, eax
push 0x9008d8
call fcn.004575a4
add esp, 4
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4114ae
push edi
push ebx
mov ecx, eax
call fcn.00443880
jmp 0x4114b0
xor eax, eax
mov dword [esi + 0x11c], eax
mov dword [eax + 0x50c], 0
mov eax, dword [0x5e4e80]
lea ecx, [eax + 0x14]
lea edx, [eax + 0x10]
mov eax, dword [esi + 0x11c]
mov dword [eax + 0x514], edx
mov dword [eax + 0x518], ecx
lea edi, [esi + 0x177c]
mov dword [eax + 0x510], edi
mov ecx, dword [0x5e4e80]
mov edx, dword [ecx + 0xc]
mov edi, dword [esi + 0x120]
lea eax, [esi + 0x1764]
or ebx, 0xffffffff
mov dword [esi + 0x148], edx
mov dword [esi + 0x12c], eax
cmp dword [edi + 0x2748], 0
mov dword [ebp - 4], ebx
jne 0x411524
mov ecx, dword [0x5e4e80]
mov ecx, dword [ecx + 0x34]
jmp 0x411529
mov ecx, 1
lea eax, [esi + 0x1760]
mov dword [eax], ecx
mov dword [esi + 0x13c], eax
lea edx, [edi + 0x2740]
lea eax, [edi + 0x32b74]
push 0x214
mov dword [esi + 0x140], edx
mov dword [esi + 0x144], eax
call fcn.004575a4
add esp, 4
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x411580
lea ecx, [esi + 0x124]
push ecx
push 0
push esi
mov ecx, eax
call fcn.00409de0
jmp 0x411582
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc8], eax
mov dword [esi + 0x114], 0
mov edx, dword [0x5e4e80]
mov dword [0x8252a8], edx
mov edx, dword [ebp - 0xb4]
mov eax, dword [esi + 0x11c]
push ecx
add edi, 0x329bc
push edx
mov dword [eax + 0x900878], edi
mov ecx, dword [esi + 0x11c]
push 0x50000000
mov dword [ebp - 4], ebx
call fcn.00443fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 0x10
Function at 0x412a40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e1da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00465f1f
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00465fc3
mov esi, eax
test esi, esi
je 0x412ad4
mov ecx, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x412abf
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x412ac1
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x412ad4
lea ecx, [ebp - 0x28]
call fcn.00465c24
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00465f4e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416ae0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57115b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push 0x9c
lea edx, [ebp - 0xac]
push 0
mov dword [esi + 0x1690], edi
push edx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xbc], ecx
mov dword [edi*4 + 0x5e4ea0], esi
call fcn.00552060
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x20]
push 0
push 0x3e8
push 0x64
push ecx
mov dword [esi + 0x16a0], 0x64
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0045b519
mov eax, dword [eax + 4]
mov edx, dword [eax]
push 1
push str.Use_DDraw
mov ecx, eax
mov eax, dword [edx + 0x7c]
push str.Options
call eax
cmp dword [ebp - 0x9c], 2
mov ebx, eax
jne 0x416bcc
cmp dword [ebp - 0xa8], 5
jbe 0x416bcc
call fcn.0045b519
mov eax, dword [eax + 4]
mov edx, dword [eax]
push 0
push str.Use_DDraw
mov ecx, eax
mov eax, dword [edx + 0x7c]
push str.Options
call eax
mov ebx, eax
push 0x9008d8
call fcn.004575a4
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x416bfb
mov ecx, dword [ebp - 0xbc]
push ebx
push ecx
mov ecx, eax
call fcn.00443880
jmp 0x416bfd
xor eax, eax
mov dword [esi + 0x128], eax
mov dword [eax + 0x50c], 0
mov eax, dword [0x5e4f08]
lea ecx, [eax + 0x14]
lea edx, [eax + 0x10]
mov eax, dword [esi + 0x128]
mov dword [eax + 0x518], ecx
mov dword [eax + 0x514], edx
lea ebx, [esi + 0x1778]
mov dword [eax + 0x510], ebx
mov edx, dword [0x5e4f08]
mov ebx, dword [esi + 0x12c]
mov ecx, 1
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb0], 0
mov eax, dword [edx + 0xc]
lea edx, [esi + 0x1760]
mov dword [esi + 0x154], eax
mov dword [esi + 0x138], edx
cmp dword [ebx + 0x2748], 0
mov dword [ebp - 4], 0xffffffff
jne 0x416c84
mov eax, dword [0x5e4f08]
mov ecx, dword [eax + 0x34]
lea eax, [esi + 0x175c]
mov dword [eax], ecx
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0xb0]
push 0x214
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], ecx
mov dword [esi + 0x150], edx
call fcn.004575a4
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x416cdb
lea ecx, [esi + 0x130]
push ecx
push 0
push esi
mov ecx, eax
call fcn.00409de0
jmp 0x416cdd
xor eax, eax
mov ecx, dword [ebp - 0xb4]
mov dword [esi + 0xc8], eax
mov dword [esi + 0x120], 0
mov edx, dword [0x5e4f08]
mov dword [0x8252a8], edx
mov eax, dword [esi + 0x128]
push edi
add ebx, 0x329bc
push ecx
mov dword [eax + 0x900878], ebx
mov ecx, dword [esi + 0x128]
push 0x50000000
mov dword [ebp - 4], 0xffffffff
call fcn.00443fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41edf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00552060
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41ee59
cmp dword [ebp - 0x90], 2
jne 0x41ee59
cmp dword [ebp - 0x9c], 5
jb 0x41ee59
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.005520da
mov esp, ebp
pop ebp
ret

Function at 0x41faf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x1b4], esi
call fcn.0046e49a
mov dword [esi], vtable.CMultiBackupPlayerApp.0
mov eax, vtable.CBitmap.0
mov dword [ebp - 4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], eax
mov byte [ebp - 4], 3
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41fb7e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd4], eax
mov byte [ebp - 4], 4
lea eax, [esi + 0xdc]
mov ecx, 0x19
mov edx, 0x64
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
add eax, 0xc
dec ecx
jns 0x41fba4
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41fbcc
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x214], eax
mov dword [esi + method.Cst_mm_avi_file_ext.virtual_0], vtable.CArray_struct_tagMONITORINFOEXA__struct_tagMONITORINFOEXA_.0
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + 0x260], ebx
mov ecx, esi
mov byte [ebp - 4], 6
mov dword [esi + 0xb8], ebx
mov dword [esi + 0x26c], ebx
call fcn.0041edf0
push 0x9c
lea ecx, [ebp - 0x1b0]
push ebx
push ecx
mov dword [esi + 0x218], eax
call fcn.00552060
add esp, 0xc
lea edx, [ebp - 0x1b0]
push edx
mov dword [ebp - 0x1b0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41fc59
xor eax, eax
cmp dword [ebp - 0x1a0], 2
sete al
mov dword [esi + 0x21c], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fc80
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [esi + 0x214]
call fcn.004014c0
mov dword [esi + 0x220], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret
Function at 0x420640
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571c79
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x18]
xor ebx, ebx
push 0x58a320
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], ebx
call fcn.00401100
mov esi, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], esi
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4206c0
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], esi
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4206ec
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x64
or eax, ecx
mov byte [ebp - 4], 2
jge 0x42071e
push 0x64
lea ecx, [ebp - 0x2c]
call fcn.00401560
mov edi, dword [ebp - 0x2c]
push 0x64
push edi
push 0x1003
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00553862
add esp, 8
cmp eax, ebx
jl 0x420816
cmp eax, dword [edi - 8]
jg 0x420816
mov dword [edi - 0xc], eax
mov byte [eax + edi], bl
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x64
or eax, ecx
jge 0x420774
push 0x64
lea ecx, [ebp - 0x28]
call fcn.00401560
mov esi, dword [ebp - 0x28]
push 0x64
push esi
push edi
lea ecx, [ebp - 0x20]
push ecx
push ebx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00553862
add esp, 8
cmp eax, ebx
jl 0x420816
cmp eax, dword [esi - 8]
jg 0x420816
mov edx, dword [ebp - 0x24]
push esi
push 0x58a764
mov dword [esi - 0xc], eax
push edx
mov byte [eax + esi], bl
call fcn.004026d0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 0x14
push 0x80070057
call fcn.00401000
int3
Function at 0x429280
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
mov esi, ecx
call fcn.00552060
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x4292e0
cmp dword [ebp - 0x9c], 5
jbe 0x4292e0
call fcn.0045b519
push 0
jmp 0x4292e7
call fcn.0045b519
push 1
mov eax, dword [eax + 4]
mov edx, dword [eax]
push 0x58dde4
mov ecx, eax
mov eax, dword [edx + 0x7c]
push str.Options
call eax
mov dword [esi + 0x32c64], eax
call fcn.0045b519
mov ecx, dword [eax + 4]
mov dword [esi + 0x32bb0], ecx
call fcn.0045b519
mov eax, dword [eax + 4]
mov edx, dword [eax]
push 1
push 0x58d594
mov ecx, eax
mov eax, dword [edx + 0x7c]
push str.Options
call eax
mov dword [esi + 0x32c68], eax
lea eax, [esi + 0x32a00]
mov dword [0x5e4f08], eax
mov dword [0x5e4e80], eax
xor edi, edi
lea ebx, [esi + 0xb968]
lea esp, [esp]
call fcn.0045b519
mov ecx, dword [esi + 0x32c64]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xb8]
push ecx
push edx
push edi
push esi
mov ecx, ebx
call fcn.00416ae0
inc edi
add ebx, 0x17c0
cmp edi, 0x19
jl 0x429350
call fcn.0045b519
mov ecx, dword [esi + 0x32c64]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xb8]
push ecx
push edx
push 0x19
push esi
lea ecx, [esi + 0x30b28]
call fcn.004113a0
cmp dword [esi + 0x2740], 0
je 0x4293c1
mov eax, dword [esi + 0x329c0]
mov ecx, dword [esi + 0x329bc]
push eax
push 0
push ecx
mov ecx, esi
call fcn.00425100
jmp 0x4293c8
mov ecx, esi
call fcn.00424f00
mov ecx, dword [esi + 0xba90]
lea edi, [esi + 0xb968]
test ecx, ecx
je 0x4293e9
push 1
call fcn.00440160
mov dword [edi + 0x1610], 1
mov ecx, dword [esi + 0x30c44]
test ecx, ecx
je 0x429404
push 1
call fcn.00440160
mov dword [esi + 0x32128], 1
mov ecx, esi
call fcn.00426280
lea ecx, [esi + 0x32a00]
call fcn.0041e010
xor ebx, ebx
cmp ebx, dword [esi + 0x329b8]
jne 0x429455
mov edx, dword [esi + 0x1c48]
push 0
push 0
push 0x400
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x1388
jne 0x429440
or eax, 0xffffffff
cmp dword [edi + 0x1798], 0
je 0x429455
cmp dword [esi + 0x2748], 0
jne 0x429455
push eax
jmp 0x429457
push 0xffffffffffffffff
mov ecx, edi
call fcn.00417c80
inc ebx
add edi, 0x17c0
cmp ebx, 0x19
jl 0x429418
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005520da
mov esp, ebp
pop ebp
ret 8
Function at 0x42e5e0
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x32bbc]
mov edx, dword [eax - 8]
push esi
lea esi, [ebx + 0x32bbc]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x50
or ecx, edx
push edi
jge 0x42e60c
push 0x50
mov ecx, esi
call fcn.00401560
mov eax, dword [esi]
push 0x50
push eax
push 0x1f
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42e639
push ecx
push eax
call fcn.00553862
add esp, 8
test eax, eax
js 0x42e717
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42e717
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov eax, dword [ebx + 0x32bc0]
lea edi, [ebx + 0x32bc0]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x50
or edx, eax
jge 0x42e674
push 0x50
mov ecx, edi
call fcn.00401560
mov ecx, dword [edi]
push 0x50
push ecx
push 0x1003
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42e6a0
push ecx
push eax
call fcn.00553862
add esp, 8
test eax, eax
js 0x42e717
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x42e717
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
push 4
push str._ddd
mov ecx, esi
mov byte [eax + edx], 0
call fcn.004107b0
push str.yyyy
push 0x58e3a0
mov ecx, esi
call fcn.00427f80
push 0x58e39c
push 0x58e398
mov ecx, edi
call fcn.00427f80
mov ecx, dword [esi]
push 0x50
lea eax, [ebx + 0x32bc4]
push eax
push ecx
push 0
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push edi
lea ecx, [ebx + 0x32a50]
call fcn.00402660
push esi
lea ecx, [ebx + 0x32a54]
call fcn.00402660
pop edi
pop esi
pop ebx
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x43eda0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5740d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e1da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x10]
xor ebx, ebx
push ebx
mov ecx, edi
mov dword [esi], vtable.CVideoDraw.0
mov dword [ebp - 0x14], edi
call fcn.0045906c
mov dword [edi], vtable.CCriticalSection.0
push ebx
add edi, 8
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x43ee19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x43ee11
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x43ee19
push eax
call fcn.00401000
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.0043d3b0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x350], ebx
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

Function at 0x43ef70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574106
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5e1da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CVideoDraw.0
xor ebx, ebx
mov dword [ebp - 4], 1
cmp dword [esi + 8], ebx
je 0x43efb6
lea ecx, [esi + 0x30]
call fcn.0043d7c0
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43efc6
push eax
call sub.MSVFW32.dll_DrawDibClose
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [ebp - 4], bl
call fcn.0043d450
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x10], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x10]
call fcn.0045907b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret