joyce8/EMBER2024-capa huggingface dataset:
Function at 0x631c2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x631c43
add esp, 0xfffffff0
call fcn.00408aac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00486290
mov eax, dword [0x78f378]
cmp byte [eax], 0
jne 0x631c70
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x78f9f4]
cmp word [eax + 2], 0
jne 0x631c8a
mov eax, dword [0x78f9f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00634018
mov eax, dword [0x78fc14]
cmp word [eax + 2], 0
jne 0x631ca4
mov eax, dword [0x78fc14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0063421c
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x543074]
call fcn.00549b64
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x6347a4
mov dl, 1
mov eax, dword [0x447630]
call fcn.00408454
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x447630]
call fcn.00408454
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x5481e0]
call fcn.005540e0
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x631e94
mov eax, dword [0x78f770]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005545fc
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x634a90
mov dl, 1
mov eax, dword [0x447630]
call fcn.00408454
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x78f770]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427e4c
test eax, eax
je 0x631dbe
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00427c64
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00427e30
test eax, eax
je 0x631dd6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b26c
push ebx
push 0x6339f4
call fcn.00626868
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x78f378]
cmp byte [eax], 0
jne 0x631e27
mov eax, ebx
call fcn.0063205c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00634ccc
mov eax, ebx
call fcn.00635980
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x631e8b
call fcn.00408b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x63238c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x63242e
cmp dword [ebx + 0xac], 0
jne 0x632428
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x6322cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x632428
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x6323ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x632428
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00470848
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x6323fd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x6326d4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x797c04]
cmp dword [eax + 0x188], 0
je 0x63283d
test bl, bl
jne 0x632790
cmp dword [esi + 0xb4], 0
jne 0x632785
mov eax, esi
call fcn.006357d0
push eax
push 0x6325d4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x632756
mov eax, dword [0x797c04]
cmp byte [eax + 0xeb], 0
je 0x632756
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x632737
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x632756
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x63273f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x632785
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00470848
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x632765
inc dword [esi + 0xb4]
jmp 0x63283d
cmp dword [esi + 0xb4], 0
jle 0x63283d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x63283d
cmp dword [esi + 0x58], 0
je 0x6327f2
mov eax, dword [0x797c04]
cmp byte [eax + 0xeb], 0
je 0x6327f2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x6327d3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x6327f2
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x6327db
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x632821
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00470848
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x632801
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x622e30]
call fcn.0040d7c8
pop edi
pop esi
pop ebx
ret
Function at 0x633600
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x63365d
cmp byte [ebx + 0xeb], 0
jne 0x63365d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a4f8
mov eax, dword [esi]
test eax, eax
je 0x63364a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x63366a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a750
jmp 0x63366a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a750
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x634ee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x634f51
mov eax, esi
call fcn.0057e290
test al, al
je 0x634f51
mov eax, dword [ebx + 0x98]
call fcn.0057deb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x634f51
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x634f42
push 0
mov eax, dword [ebx + 0x98]
call fcn.0057deb8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0057422c
jmp 0x634f51
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00634cec
pop esi
pop ebx
ret
Function at 0x64a480
Capabilities:
Encode data using xor

Disassembly:
push ebx
test ecx, ecx
jle 0x64a49e
mov ebx, eax
xor bl, byte [edx]
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x797c98]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
dec ecx
jne 0x64a485
pop ebx
ret

Function at 0x64a718
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x64a72b
add esp, 0xfffffff0
call fcn.00408aac
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
mov esi, eax
mov dword [ebx + 4], esi
cmp esi, 0xffffffff
je 0x64a821
cmp dword [ebp + 0xc], 0
jne 0x64a766
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov dword [ebp + 0xc], eax
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jne 0x64a7a7
mov eax, ebx
call fcn.0064a870
cmp byte [ebp + 8], 0
je 0x64a821
push 0x1010
push 0x64a844
push edi
push 0
call sub.user32.dll_MessageBoxW
jmp 0x64a821
push 0
push 0
push 0
push 4
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0xc], eax
or esi, 0xffffffff
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub edx, 5
sub edx, eax
jl 0x64a7e3
inc edx
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + eax]
inc ecx
cmp ecx, 0x4034b51
jne 0x64a7df
mov esi, eax
jmp 0x64a7e3
inc eax
dec edx
jne 0x64a7cc
test esi, esi
jge 0x64a809
mov eax, ebx
call fcn.0064a870
cmp byte [ebp + 8], 0
je 0x64a821
push 0x1010
push 0
push 0x64a854
push 0
call sub.user32.dll_MessageBoxW
jmp 0x64a821
mov dword [ebx + 0x10], esi
mov eax, dword [ebp + 0xc]
sub eax, esi
push eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + esi]
xor edx, edx
mov eax, ebx
call fcn.0064a4d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x64a838
call fcn.00408b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x6fb1ec
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x6fb352
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x6fb22e
or ebx, 0xffff
mov eax, esi
call fcn.0040b1b4
mov esi, eax
jmp 0x6fb230
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x6fb260
mov eax, edi
call fcn.0040a370
jmp 0x6fb335
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x6fb2b0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x799318]
call fcn.0042ba28
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x78f7b4]
mov dl, 1
mov eax, dword [0x6ff548]
call fcn.0042d19c
call fcn.00409a28
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040b344
mov eax, dword [edi]
test eax, eax
je 0x6fb2c8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6fb335
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040b1b4
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6fb335
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x799318]
call fcn.0042ba28
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x78f7b4]
mov dl, 1
mov eax, dword [0x6ff548]
call fcn.0042d19c
call fcn.00409a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6fb359
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040a3d0
pop eax
jmp eax

Function at 0x6fb552
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x6fb513
add esp, 0xfffffff0
call fcn.00408aac
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.00705d34
mov dl, 1
mov eax, dword [0x6f993c]
call fcn.006fe12c
mov dword [edi + 0xb8], eax
mov dl, 1
mov eax, dword [0x6de0ac]
call fcn.006e97d0
mov dword [edi + 0xb4], eax
mov eax, dword [0x6f8a3c]
call fcn.006fdcd4
push 0
push 0
push 0
push 1
push 0x6fb5b4
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0xb0], esi
test esi, esi
jne 0x6fb581
mov ecx, dword [0x78f9ec]
mov dl, 1
mov eax, dword [0x6ff600]
call fcn.0042d0c8
call fcn.00409a28
push 0
push 0x10010
push 0x6fb374
mov eax, dword [edi + 0xb0]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x6fb5ae
call fcn.00408b04
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x6fc5fc
Capabilities:
Prepare http request

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 - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6fc7d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xb8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x6fc63f
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x6fc641
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040b1b4
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xb0]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0xa0], edi
test edi, edi
jne 0x6fc695
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x78f364]
mov dl, 1
mov eax, dword [0x6ff6c8]
call fcn.0042d19c
call fcn.00409a28
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x6fc7ec
call fcn.0040b554
jne 0x6fc6ae
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.006fb1ac
mov eax, dword [ebp - 0x10]
call fcn.0040b1b4
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.006e4db0
mov eax, dword [ebp - 0x14]
call fcn.0040b1b4
push eax
mov eax, dword [ebx + 0xa0]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0xa4], edi
test edi, edi
jne 0x6fc73a
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x799318]
call fcn.0042ba28
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x78f948]
mov dl, 1
mov eax, dword [0x6ff6c8]
call fcn.0042d19c
call fcn.00409a28
mov eax, dword [ebx + 0x14]
push eax
mov eax, ebx
call fcn.006e4f04
push eax
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0xa4]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6fc7a7
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x2c]
mov edx, dword [0x799318]
call fcn.0042ba28
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x78fb38]
mov dl, 1
mov eax, dword [0x6ff6c8]
call fcn.0042d19c
call fcn.00409a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6fc7d8
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040a3d0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a3d0
pop eax
jmp eax
Function at 0x76b73c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffdf0
mov ebx, eax
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x76b76b
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040a4f8
jmp 0x76b772
mov eax, ebx
call fcn.0040a370
add esp, 0x210
pop ebx
ret
Function at 0x76c20c
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 0x76c488
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.0076ccd8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x78f214], eax
mov eax, dword [ebp - 0xc]
mov dword [0x78f218], eax
mov eax, dword [ebp - 0x24]
mov dword [0x78f21c], eax
call fcn.0042e124
cmp eax, 2
sete byte [0x78e9ed]
push 0x76c494
call sub.kernel32.dll_GetModuleHandleW
lea edx, [ebp - 4]
call fcn.0076cbe0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x78e9ed], 0
jne 0x76c29b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0076cc10
test al, al
je 0x76c29b
mov eax, dword [ebp - 0x4c]
mov dword [0x799454], eax
jmp 0x76c2a2
xor eax, eax
mov dword [0x799454], eax
call fcn.0076b77c
and eax, 0x7f
cmp eax, 0x1c
ja case.0x76c2b3.0
jmp dword [eax*4 + 0x76c2ba]
mov byte [0x78e9e8], 1
jmp case.0x76c2b3.0
mov byte [0x78e9e9], 1
jmp case.0x76c2b3.0
mov byte [0x78e9ea], 1
jmp case.0x76c2b3.0
mov byte [0x78e9eb], 1
jmp case.0x76c2b3.0
mov byte [0x78e9ec], 1
jmp case.0x76c2b3.0
mov byte [0x78e9ee], 1
mov byte [0x78e9ef], 1
jmp case.0x76c2b3.0
mov byte [0x78e9ee], 1
mov byte [0x78e9f0], 1
jmp case.0x76c2b3.0
mov byte [0x78e9ee], 1
mov byte [0x78e9f0], 1
mov byte [0x78e9f1], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f2], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f3], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f4], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f5], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f6], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f7], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f8], 1
jmp case.0x76c2b3.0
mov byte [0x78e9f9], 1
jmp case.0x76c2b3.0
mov byte [0x78e9fa], 1
jmp case.0x76c2b3.0
mov byte [0x78e9fb], 1
jmp case.0x76c2b3.0
mov byte [0x78e9fc], 1
jmp case.0x76c2b3.0
mov byte [0x78e9fd], 1
jmp case.0x76c2b3.0
mov byte [0x78e9fe], 1
jmp case.0x76c2b3.0
mov byte [0x78e9ff], 1
jmp case.0x76c2b3.0
mov byte [0x78ea00], 1
jmp case.0x76c2b3.0
mov byte [0x78ea01], 1
jmp case.0x76c2b3.0
mov byte [0x78ea02], 1
jmp case.0x76c2b3.0
mov byte [0x78ea03], 1
jmp case.0x76c2b3.0
mov byte [0x78ea04], 1
jmp case.0x76c2b3.0
mov byte [0x78ea05], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76c48f
lea eax, [ebp - 4]
call fcn.0040a370
pop eax
jmp eax
Function at 0x76cc10
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 - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x76ccc4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040b1b4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x76ccac
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040b344
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040b1b4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x76ccac
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76ccd4
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76ccac
cmp dword [ebp - 0xc], 0x34
jne 0x76ccac
mov bl, 1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
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 0x76cccb
lea eax, [ebp - 4]
call fcn.0040a370
pop eax
jmp eax

Function at 0x76d8a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x76d90e
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040b26c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00426e7c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76d915
lea eax, [ebp - 0x14]
call fcn.0040a370
pop eax
jmp eax

Function at 0x76e5a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x76e63c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0042e124
cmp eax, 2
jne 0x76e5e4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x76e61c
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040adfc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040aaac
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040ac44
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76e643
lea eax, [ebp - 8]
call fcn.0040a3b8
lea eax, [ebp - 4]
call fcn.0040a394
pop eax
jmp eax
Function at 0x76e9e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040b1b4
mov edx, eax
mov eax, ebx
call fcn.0076e408
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.0076e4e8
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x76ea56
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040b1b4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x76f35c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf0
mov ebx, eax
mov eax, ebx
call fcn.0040a370
push esp
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [esp], 0
je 0x76f39f
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x76f39f
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040b26c
add esp, 0x210
pop ebx
ret

Function at 0x775fe4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x776099
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.0040b344
mov eax, dword [ebp - 4]
call fcn.0040b1b4
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
test eax, eax
jne 0x776068
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x18]
xor edx, edx
call fcn.0042ba28
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, 0x7760b4
mov dl, 1
mov eax, dword [0x41ed08]
call fcn.0042cfc8
call fcn.00409a28
mov eax, dword [ebp - 4]
call fcn.0040b1b4
mov edx, eax
mov eax, ebx
call fcn.0040b218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7760a0
lea eax, [ebp - 0x18]
call fcn.0040a370
lea eax, [ebp - 4]
call fcn.0040a370
pop eax
jmp eax