joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ed4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45edeb
cmp dword [ebx + 0x94], 0
jne 0x45ede5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ecd4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ede5
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_GetWindowLongA
test al, 8
je 0x45edab
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ede5
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b4b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45edba
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x47dc98]
cmp dword [eax + 0x30], 0
je 0x45f161
test bl, bl
jne 0x45f0b2
cmp dword [esi + 0x9c], 0
jne 0x45f0a7
mov eax, esi
call fcn.00461868
push eax
push 0x45ef30
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45f078
mov eax, dword [0x47dc98]
call fcn.00461f48
test al, al
je 0x45f078
mov eax, dword [0x47dcbc]
call fcn.00405c80
mov edi, eax
cmp edi, 0
jl 0x45f078
push 0
mov eax, dword [0x47dcbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45f062
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f0a7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b4b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45f087
inc dword [esi + 0x9c]
jmp 0x45f161
cmp dword [esi + 0x9c], 0
jle 0x45f161
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45f161
cmp dword [esi + 0x44], 0
je 0x45f10d
mov eax, dword [0x47dc98]
call fcn.00461f48
test al, al
je 0x45f10d
mov eax, dword [0x47dcbc]
call fcn.00405c80
mov edi, eax
cmp edi, 0
jl 0x45f10d
push 5
mov eax, dword [0x47dcbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45f0f7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f13c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b4b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45f11c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x47dcbc
mov ecx, 1
mov edx, dword [0x45ef10]
call fcn.00405e34
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45fbf4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45fc5e
mov eax, ebx
call fcn.00461f48
test al, al
jne 0x45fc5e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c00
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45fc4b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45fc6b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b64
jmp 0x45fc6b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b64
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46106c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4610da
mov eax, esi
call fcn.0044a800
test al, al
je 0x4610da
mov eax, dword [ebx + 0x84]
call fcn.0044a450
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4610da
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4610ce
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a450
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004423a0
jmp 0x4610da
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00460ea8
pop esi
pop ebx
ret
Function at 0x462548
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40798c]
call fcn.00405580
xor eax, eax
push ebp
push 0x4626e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477844], 0
jne 0x4625a3
mov ecx, dword [0x477c88]
mov dl, 1
mov eax, dword [0x407f98]
call fcn.0040ca58
call fcn.0040453c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004035fc
mov eax, ebx
call fcn.00405450
mov dword [ebp - 0x24], eax
mov esi, 0x4626f8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040662c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405460
test eax, eax
jle 0x46268c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x462678
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d80
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46261e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404d98
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x462634
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404d98
mov eax, dword [ebp - 0x54]
call fcn.00404fa0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d80
mov eax, dword [ebp - 0x58]
call fcn.00404fa0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46267a
xor eax, eax
test al, al
je 0x462685
mov ebx, 0x15
jmp 0x462691
mov ebx, 0x10
jmp 0x462691
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x477844]
call fcn.004623c8
mov eax, dword [ebp - 4]
call fcn.004623c8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4626f0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b34
lea eax, [ebp - 0xc]
mov edx, dword [0x40798c]
call fcn.00405650
ret
Function at 0x472cbc
Capabilities:
Copy file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404f90
lea edi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x472e33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040961c
test al, al
jne 0x472d16
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x472e4c
call fcn.00404e28
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004732ec
jmp 0x472e10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x472d22
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00405008
push 0
mov eax, dword [ebp - 8]
call fcn.00404fa0
push eax
mov eax, dword [ebp - 4]
call fcn.00404fa0
push eax
call sub.kernel32.dll_CopyFileA
push 2
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x419734]
call fcn.0041d7fc
mov dword [edi], eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x472d71
cmp eax, 0x64
jbe 0x472db7
jmp 0x472d73
jle 0x472db7
xor ebx, ebx
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [edi]
call fcn.0041d368
lea edx, [ebp - 9]
mov ecx, 1
mov eax, dword [edi]
call fcn.0041d574
xor byte [ebp - 9], 0xf
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [edi]
call fcn.0041d368
lea edx, [ebp - 9]
mov ecx, 1
mov eax, dword [edi]
call fcn.0041d5ac
inc ebx
cmp ebx, 0x65
jne 0x472d75
jmp 0x472e05
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
dec esi
test esi, esi
jl 0x472e05
inc esi
xor ebx, ebx
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [edi]
call fcn.0041d368
lea edx, [ebp - 9]
mov ecx, 1
mov eax, dword [edi]
call fcn.0041d574
xor byte [ebp - 9], 0xf
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [edi]
call fcn.0041d368
lea edx, [ebp - 9]
mov ecx, 1
mov eax, dword [edi]
call fcn.0041d5ac
inc ebx
dec esi
jne 0x472dc7
mov eax, edi
call fcn.0040e588
xor eax, eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472e3a
lea eax, [ebp - 0x14]
call fcn.00404b10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b34
ret
Function at 0x10016d3
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001250
call fcn.010018f4
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp word [0x1000000], 0x5a4d
jne 0x100171b
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x100171b
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001734
cmp ecx, 0x20b
je 0x1001721
and dword [ebp - 0x60], 0
jmp 0x1001748
cmp dword [eax + 0x84], 0xe
jbe 0x100171b
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001742
cmp dword [eax + 0x74], 0xe
jbe 0x100171b
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x60], ecx
and dword [ebp - 4], 0
push 2
pop esi
push esi
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or edi, 0xffffffff
mov dword [0x1002038], edi
mov dword [0x100203c], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002034]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002030]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002040], eax
call fcn.010018ee
cmp dword [0x1002018], 0
jne 0x10017a8
push fcn.010018ee
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010018dc
push 0x1002010
push 0x100200c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100202c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [0x1002028]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x74], eax
push 0x1002008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], 0
jne 0x100180c
mov dword [ebp - 4], edi
mov eax, 0xff
jmp 0x10018bd
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp word [eax], 0x22
jne 0x100184f
add eax, esi
mov dword [ebp - 0x78], eax
mov cx, word [eax]
test cx, cx
je 0x100182a
cmp cx, 0x22
jne 0x1001817
cmp word [eax], 0x22
jne 0x1001835
add eax, esi
mov dword [ebp - 0x78], eax
mov cx, word [eax]
test cx, cx
je 0x1001843
cmp cx, 0x20
jbe 0x1001830
test byte [ebp - 0x30], 1
je 0x100185c
movzx ecx, word [ebp - 0x2c]
jmp 0x100185f
cmp word [eax], 0x20
jbe 0x1001835
add eax, esi
mov dword [ebp - 0x78], eax
jmp 0x100184f
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x1000000
call fcn.01001467
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x60], 0
jne 0x100187f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x10018bb
mov eax, esi
call fcn.0100192f
ret
Function at 0x76b12949
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x76b30340]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x76b1481c
and dword [ebp - 0x220], 0
test edi, edi
lea eax, [ebp - 0x22c]
je 0x76b14c84
push edi
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor edi, edi
cmp dword [ebp - 0x220], edi
jne 0x76b14b41
lea eax, [ebp - 0x230]
push eax
push 0x218
lea eax, [ebp - 0x21c]
push eax
push 2
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
xor ecx, ecx
test eax, eax
setge cl
cmp ecx, edi
mov dword [ebp - 0x224], ecx
jne 0x76b129f3
cmp dword [ebp - 0x220], edi
pop edi
pop esi
pop ebx
jne 0x76b14b4c
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
call fcn.76b128c0
leave
ret 0x14
mov eax, dword [ebp + 0x14]
lea ecx, [eax + eax]
cmp dword [ebp - 0x214], ecx
ja 0x76b14f24
cmp dword [ebp - 0x218], 1
jne 0x76b14f17
cmp dword [ebp - 0x218], 2
je 0x76b14f2f
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x210]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
dec eax
cmp dword [ebp - 0x214], eax
rep movsb byte es:[edi], byte [esi]
jae 0x76b12a44
mov eax, dword [ebp - 0x214]
and word [ebx + eax*2], 0
xor edi, edi
jmp 0x76b129d2
push eax
push esi
call fcn.76b12a52
mov dword [ebp - 0x220], eax
jmp 0x76b1297a
mov esi, dword [ebp - 0x220]
jmp 0x76b1299e
push dword [ebp - 0x220]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x76b129e1
push 0x76b14c90
jmp 0x76b12989
cmp dword [ebp - 0x218], 2
je 0x76b12a12
mov dword [ebp - 0x224], edi
jmp 0x76b129d2
push eax
push ebx
lea eax, [ebp - 0x210]
push eax
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x76b129d2
Function at 0x76b1342a
Capabilities:
Read .ini file

Disassembly:
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x76b134b6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x76b30340]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x1c]
push str.system.ini
push eax
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x424], eax
call esi
test eax, eax
jne 0x76b1b375
push str.DRIVERS32
push edi
call esi
test eax, eax
jne 0x76b1b346
push ebx
push edi
call fcn.76b1320a
test eax, eax
je 0x76b16a4c
push dword [ebp - 0x418]
push dword [ebp + 0x18]
push ebx
push edi
call fcn.76b134ca
test eax, eax
jne 0x76b13a16
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 0x18
push dword [ebp - 0x418]
jmp 0x76b1341a
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
xor edx, edx
cmp word [ebp - 0x20c], si
je 0x76b16aa9
lea ecx, [ebp - 0x20c]
mov eax, ecx
jmp 0x76b16a99
mov word [ebp + edx*2 - 0x20c], si
jmp 0x76b16aa9
mov word [ebp + edx*2 - 0x414], si
jmp 0x76b16b36
cmp dword [ebp - 0x420], esi
jne 0x76b1b358
jmp 0x76b134b4
cmp word [ecx], 0x20
je 0x76b16a71
inc edx
inc eax
inc eax
cmp word [eax], si
mov ecx, eax
jne 0x76b16a99
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov ebx, 0x80
push ebx
push 3
push esi
push 1
push esi
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
jne 0x76b16b7a
xor edx, edx
cmp word [ebp - 0x20c], si
je 0x76b16af1
lea ecx, [ebp - 0x20c]
mov eax, ecx
cmp word [ecx], 0x5c
je 0x76b16af1
inc edx
inc eax
inc eax
cmp word [eax], si
mov ecx, eax
jne 0x76b16ae1
cmp word [ebp + edx*2 - 0x20c], 0x5c
je 0x76b16a88
push dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
cmp word [ebp - 0x414], si
je 0x76b16b36
lea ecx, [ebp - 0x414]
mov eax, ecx
cmp word [ecx], 0x20
je 0x76b16a7b
inc edx
inc eax
inc eax
cmp word [eax], si
mov ecx, eax
jne 0x76b16b22
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x76b134b4
push esi
push ebx
push 3
push esi
push 1
push esi
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x76b16a88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x18]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
call dword [sym.imp.ntdll.dll_wcsncpy]
add esp, 0xc
push dword [ebp - 0x41c]
jmp 0x76b1341a
push 0x76b16a40
push edi
call esi
test eax, eax
je 0x76b1348d
jmp 0x76b1b375
push dword [ebp + 0x18]
push dword [ebp - 0x420]
push dword [ebp - 0x418]
call dword [sym.imp.ntdll.dll_wcsncpy]
add esp, 0xc
jmp 0x76b134b4
push dword [ebp - 0x424]
push dword [ebp + 0x18]
push dword [ebp - 0x418]
push dword [ebp - 0x420]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x76b134b6
Function at 0x76b13f7a
Capabilities:
Access pe header
Allocate thread local storage
Get process heap force flags

Disassembly:
push 0x10
push 0x76b14058
call fcn.76b12909
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [0x76b300c8], eax
xor esi, esi
cmp eax, esi
je 0x76b14762
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x76b30398], eax
cmp eax, 0xffffffff
je 0x76b14762
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ax, word [eax + 0x5c]
cmp ax, 3
jne 0x76b14749
mov dword [0x76b300b0], esi
push 0xf
push 0x76b30118
call fcn.76b13e88
test eax, eax
je 0x76b1c98c
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x76b30338], eax
mov dword [ebp - 4], esi
push 0x76b30360
call dword [sym.imp.ntdll.dll_RtlInitializeResource]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x76b30338]
cmp eax, esi
je 0x76b1c97a
cmp ecx, esi
jl 0x76b1c96f
call fcn.76b13cc9
call fcn.76b14069
cmp dword [0x76b300b0], esi
jne 0x76b1404b
call fcn.76b14514
xor eax, eax
inc eax
call fcn.76b128f8
ret 4
cmp ax, 2
mov dword [0x76b300b0], 1
je 0x76b13fde
jmp 0x76b13fe4
xor eax, eax
jmp 0x76b1404e
cmp eax, esi
je 0x76b1c97a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x76b30338], esi
push 0xf
push 0x76b30118
call fcn.76b12db5
push dword [0x76b30398]
call dword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x76b14762
Function at 0x76b14566
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
call fcn.76b145ec
xor edi, edi
test eax, eax
jne 0x76b14684
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
push edi
push 0x76b3034c
call ebx
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x76b16822
push edi
push 0xffffffffffffffff
push dword [0x76b30338]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x76b301c0
call esi
push 0x76b301e0
call esi
push 1
mov esi, 0x76b30350
push esi
call ebx
test eax, eax
je 0x76b14695
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x76b301e0
call esi
push 0x76b301c0
call esi
pop esi
pop ebx
pop edi
leave
ret
cmp dword [0x76b30114], edi
jne 0x76b1457e
jmp 0x76b145e4
call fcn.76b146ff
mov dword [ebp - 4], eax
mov eax, dword [0x76b3033c]
cmp eax, edi
mov dword [ebp - 8], edi
je 0x76b146cb
mov ecx, dword [0x76b300bc]
cmp ecx, dword [eax + 4]
jne 0x76b16482
cmp eax, edi
je 0x76b146cb
mov ecx, dword [0x76b300d0]
cmp ecx, dword [eax + 8]
jne 0x76b1c93e
xor ecx, ecx
or dword [ebp - 4], ecx
jne 0x76b16c72
cmp dword [ebp - 0xc], edi
jne 0x76b17036
cmp dword [ebp - 8], edi
jne 0x76b17036
cmp dword [ebp - 4], edi
jne 0x76b17036
push edi
push esi
call ebx
jmp 0x76b145ce
call fcn.76b163c5
cmp eax, edi
mov dword [ebp - 8], eax
je 0x76b16493
call fcn.76b12bf8
mov eax, dword [0x76b3033c]
jmp 0x76b146b8
call fcn.76b15f92
call fcn.76b145ec
test eax, eax
jne 0x76b16835
call fcn.76b169e3
cmp dword [0x76b3033c], edi
jne 0x76b1686d
push 0x76b16880
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [0x76b30d00], eax
je 0x76b1686d
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [0x76b3033c], eax
je 0x76b1c927
push dword [0x76b30338]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x76b145a8
cmp eax, edi
je 0x76b146d6
mov eax, dword [eax + 8]
mov dword [0x76b300d0], eax
jmp 0x76b146d6
call fcn.76b17053
cmp dword [ebp - 8], edi
je 0x76b146f1
call fcn.76b18932
jmp 0x76b146f1
push dword [0x76b30d00]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x76b30d00], edi
jmp 0x76b1686d
xor ecx, ecx
inc ecx
jmp 0x76b146cd

Function at 0x76b1464f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
call fcn.76b14566
mov esi, 0x76b301c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x76b300ec]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
pop edi
pop esi
jne 0x76b14931
xor eax, eax
pop ebp
ret 0xc
pop ebp
jmp fcn.76b14833
Function at 0x76b14a36
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
push 0x76b302c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [0x76b30100], edi
je 0x76b15e6b
inc edi
push 0x76b302c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
leave
ret
call fcn.76b15ed7
test eax, eax
je 0x76b14a57
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x76b15ec0
push ebx
push esi
push 0x76b30d34
push edi
push eax
push 0x76b14dca
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
push ebx
call esi
cmp ebx, edi
je 0x76b15eb9
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call esi
pop esi
pop ebx
xor eax, eax
cmp dword [0x76b30100], edi
setne al
mov edi, eax
jmp 0x76b14a57
Function at 0x76b15c87
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x76b1c52d
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
inc esi
inc esi
push edi
push dword [ebp - 4]
shr esi, 1
shl esi, 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x76b15d73
lea ebx, [esi + esi + 0x2c]
lea eax, [edi + ebx]
cmp eax, edi
jb 0x76b15d73
push eax
push 0x102
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 8], eax
je 0x76b15d73
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x76b1c53d
push edi
add ebx, esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, edi
jne 0x76b1c534
lea eax, [esi + 0x24]
push eax
push 0
push 0
push dword [ebp - 4]
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
push ebx
push esi
call fcn.76b15d86
test eax, eax
je 0x76b1c534
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
add esi, 0x2c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop edi
leave
ret 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x76b1c54b
xor eax, eax
jmp 0x76b15d6e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x76b15d73
xor eax, eax
jmp 0x76b15d6c