joyce8/EMBER2024-capa huggingface dataset:
Function at 0x75fdc2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x81a1d0]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x75fdeb
xor eax, eax
jmp 0x75ff59
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x8ba4c0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x75fe1e
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.0076bd78
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x75fef0
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x75ff2b
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x75fe79
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x75fe6a
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x75fe4d
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x75feb9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x75fec2
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x75fe3e
jmp 0x75fec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x75ff54
cmp dword [ebp - 8], edi
je 0x75ff2b
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x75ff1d
call fcn.00765eea
mov dword [eax], 9
call fcn.00765ef3
mov dword [eax], esi
jmp 0x75ff26
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x75ff12
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x75fec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x75fec4
push dword [ebp - 8]
call fcn.00765efc
pop ecx
or eax, 0xffffffff
jmp 0x75ff57
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x75ff40
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x75ff40
xor eax, eax
jmp 0x75ff57
call fcn.00765eea
mov dword [eax], 0x1c
call fcn.00765ef3
mov dword [eax], edi
jmp 0x75ff26
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.00760e8e
leave
ret
Function at 0x7604c2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x760688
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x8ba4c0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x760688
test cl, 0x48
je 0x760528
mov al, byte [eax + 5]
cmp al, 0xa
je 0x760528
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x76057a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x760562
call fcn.00765eea
mov dword [eax], 9
call fcn.00765ef3
mov dword [eax], esi
jmp 0x760572
cmp eax, 0x6d
je 0x760688
push eax
call fcn.00765efc
pop ecx
or eax, 0xffffffff
jmp 0x76068a
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x760683
test edx, edx
je 0x76059d
cmp byte [ebx], 0xa
jne 0x76059d
or al, 4
jmp 0x76059f
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x76067d
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x76066d
cmp al, 0xd
je 0x7605d3
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x76065f
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x7605ed
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x7605e8
add dword [ebp + 0x10], 2
jmp 0x760641
mov dword [ebp + 0x10], eax
jmp 0x76065b
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x760615
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x76065b
cmp dword [ebp - 0xc], 0
je 0x76065b
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x760636
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x760641
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x76065e
cmp ebx, dword [ebp + 0xc]
jne 0x760646
cmp byte [ebp - 1], 0xa
jne 0x760646
mov byte [ebx], 0xa
jmp 0x76065e
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.007603a3
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x76065f
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x7605b7
jmp 0x76067d
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x76067d
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x76068a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7611aa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x81a1d0]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x81a1d8]
je 0x7611d7
inc eax
cmp eax, 0x12
jb 0x7611c8
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x81a1d8]
jne 0x76130b
mov eax, dword [0x8b8420]
cmp eax, 1
je 0x7612e6
cmp eax, edx
jne 0x761207
cmp dword [0x819c58], 1
je 0x7612e6
cmp ecx, 0xfc
je 0x76130b
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x761240
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.007667f0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.007668f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x761282
lea eax, [ebp - 0x10c]
push eax
call fcn.007668f0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x7d3d38
push edi
call fcn.0075c560
add esp, 0x10
push edi
call fcn.007668f0
push dword [esi + 0x81a1dc]
mov ebx, eax
call fcn.007668f0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0075c1f0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.007667f0
push edi
push ebx
call fcn.00766800
push 0x7d3d34
push ebx
call fcn.00766800
push dword [esi + 0x81a1dc]
push ebx
call fcn.00766800
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0076ab7e
add esp, 0x2c
jmp 0x76130b
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x81a1dc]
push dword [esi]
call fcn.007668f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00760e8e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76ab7e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x8b8874], ebx
push esi
push edi
jne 0x76abfe
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x76ac39
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7d9674
push edi
call esi
test eax, eax
mov dword [0x8b8874], eax
je 0x76ac39
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x8b8878], eax
call esi
cmp dword [0x8b8430], 2
mov dword [0x8b887c], eax
jne 0x76abfe
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x8b8884], eax
je 0x76abfe
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x8b8880], eax
mov eax, dword [0x8b8880]
test eax, eax
je 0x76ac43
call eax
test eax, eax
je 0x76ac2a
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x8b8884]
test eax, eax
je 0x76ac2a
test byte [ebp - 8], 1
jne 0x76ac43
cmp dword [0x8b843c], 4
jb 0x76ac3d
or byte [ebp + 0x12], 0x20
jmp 0x76ac62
xor eax, eax
jmp 0x76ac72
or byte [ebp + 0x12], 4
jmp 0x76ac62
mov eax, dword [0x8b8878]
test eax, eax
je 0x76ac62
call eax
mov ebx, eax
test ebx, ebx
je 0x76ac62
mov eax, dword [0x8b887c]
test eax, eax
je 0x76ac62
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x8b8874]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x76b926
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x81a1d0]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x76b9a1
push ebx
call fcn.0076b8ef
test eax, eax
pop ecx
jne 0x76b973
call fcn.00765ef3
mov dword [eax], 0xf
call fcn.00765eea
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.00760e8e
leave
ret
and byte [ebp + 0xb], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x76b9b3
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x76b963
inc eax
cmp eax, 0x104
ja 0x76b963
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x76b9eb
cmp eax, dword [ebp + 0x10]
jg 0x76b9ce
mov eax, dword [ebp + 0x10]
push eax
call fcn.0075c3e8
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x76ba00
call fcn.00765eea
mov dword [eax], 0xc
jmp 0x76b963
cmp eax, dword [ebp + 0x10]
jle 0x76ba00
call fcn.00765eea
mov dword [eax], 0x22
jmp 0x76b963
lea eax, [ebp - 0x10c]
push eax
push ecx
call fcn.007667f0
pop ecx
pop ecx
jmp 0x76b965
Function at 0x76bdfb
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0075c1f0
mov eax, dword [0x81a1d0]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.007603a3
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x76bf25
push 2
push esi
push dword [ebp + 8]
call fcn.007603a3
add esp, 0xc
cmp eax, ebx
je 0x76bf25
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x76bec8
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.007685c0
push 0x8000
push dword [ebp + 8]
call fcn.0076da59
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x76be81
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0075fdc2
add esp, 0xc
cmp eax, 0xffffffff
je 0x76bea1
sub edi, eax
test edi, edi
jg 0x76be79
jmp 0x76beb9
call fcn.00765ef3
cmp dword [eax], 5
jne 0x76beb6
call fcn.00765eea
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0076da59
pop ecx
pop ecx
jmp 0x76bf10
jge 0x76bf10
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.007603a3
push dword [ebp + 8]
call fcn.0076bb55
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x76bf10
call fcn.00765eea
mov dword [eax], 0xd
call fcn.00765ef3
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.007603a3
add esp, 0xc
mov eax, esi
pop edi
jmp 0x76bf27
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.00760e8e
leave
ret
Function at 0x76d008
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0075c1f0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x76d09d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x8b8430]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x76d09d
cmp eax, 1
je 0x76d0b5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x76d09d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x76d072
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x76d099
xor eax, eax
inc eax
jmp 0x76d0d1
cmp esi, ebx
jae 0x76d0a1
xor eax, eax
jmp 0x76d0d1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x8b8430]
jmp 0x76d0b7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76d8a4
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x76d90f
push 0x3d
push dword [ebp + 8]
call fcn.0076e5d9
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x76d90f
cmp dword [ebp + 8], esi
je 0x76d90f
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x8b8450]
cmp eax, dword [0x8b8454]
jne 0x76d8f5
mov edi, eax
call fcn.0076d843
mov dword [0x8b8450], eax
cmp eax, ebx
jne 0x76d94e
cmp dword [ebp + 0xc], ebx
je 0x76d917
cmp dword [0x8b8458], ebx
je 0x76d917
call fcn.0076b776
test eax, eax
je 0x76d94e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x76da52
push 4
call fcn.0075c3e8
cmp eax, ebx
pop ecx
mov dword [0x8b8450], eax
je 0x76d90f
mov dword [eax], ebx
cmp dword [0x8b8458], ebx
jne 0x76d94e
push 4
call fcn.0075c3e8
cmp eax, ebx
pop ecx
mov dword [0x8b8458], eax
je 0x76d90f
mov dword [eax], ebx
mov ebx, dword [0x8b8450]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.0076d7f6
mov edi, eax
test edi, edi
pop ecx
jl 0x76d9a7
cmp dword [ebx], 0
je 0x76d9a7
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0075c3fa
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x76d98f
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x76d9dd
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x76d986
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.00762bcc
test eax, eax
pop ecx
pop ecx
je 0x76d9dd
jmp 0x76d9d8
cmp dword [ebp - 4], 0
jne 0x76da4b
test edi, edi
jge 0x76d9b7
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.00762bcc
test eax, eax
pop ecx
pop ecx
je 0x76d90f
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x8b8450], eax
cmp dword [ebp + 0xc], 0
je 0x76da34
push dword [ebp + 8]
call fcn.007668f0
inc eax
inc eax
push eax
call fcn.0075c3e8
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x76da34
push dword [ebp + 8]
push esi
call fcn.007667f0
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x76da2d
or dword [ebp - 8], 0xffffffff
push esi
call fcn.0075c3fa
pop ecx
cmp dword [ebp - 4], 0
je 0x76da43
push dword [ebp + 8]
call fcn.0075c3fa
pop ecx
mov eax, dword [ebp - 8]
jmp 0x76d912
push esi
call fcn.0075c3fa
pop ecx
xor eax, eax
jmp 0x76d912
Function at 0x76e1d1
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x7d98e8
call fcn.00760ad0
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x8b88a4], edi
jne 0x76e215
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x76e200
mov dword [0x8b88a4], ebx
jmp 0x76e215
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x76e215
mov dword [0x8b88a4], 2
mov eax, dword [0x8b88a4]
cmp eax, ebx
jne 0x76e235
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x76e2f8
cmp eax, 2
je 0x76e23e
cmp eax, edi
jne 0x76e266
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
jne 0x76e251
mov eax, dword [0x8b8844]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x76e26d
xor eax, eax
jmp 0x76e2f8
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0075c1f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x76e2a0
cmp esi, edi
jne 0x76e2b6
push dword [ebp - 0x24]
call fcn.0075c3e8
pop ecx
mov esi, eax
cmp esi, edi
je 0x76e266
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x76e2e9
cmp dword [ebp + 0x14], edi
jne 0x76e2d3
push edi
push edi
jmp 0x76e2d9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
je 0x76e2f5
push esi
call fcn.0075c3fa
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00760b0b
ret
Function at 0x76e301
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x7d98f8
call fcn.00760ad0
xor esi, esi
cmp dword [0x8b88a8], esi
jne 0x76e345
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x76e330
mov dword [0x8b88a8], edi
jmp 0x76e345
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x76e345
mov dword [0x8b88a8], 2
mov eax, dword [0x8b88a8]
cmp eax, 2
je 0x76e426
cmp eax, esi
je 0x76e426
cmp eax, 1
jne 0x76e38a
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x76e373
mov eax, dword [0x8b8844]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x76e391
xor eax, eax
jmp 0x76e438
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0075c1f0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x76e3c7
cmp edi, esi
jne 0x76e3e2
lea eax, [ebx + ebx]
push eax
call fcn.0075c3e8
pop ecx
mov edi, eax
cmp edi, esi
je 0x76e38a
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x76e415
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x76e3ff
push esi
push esi
jmp 0x76e405
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x76e421
push edi
call fcn.0075c3fa
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x76e438
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00760b0b
ret
Function at 0x76e738
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x76e85b
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x76e83f
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x76e791
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x76e76f
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18