joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004389
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03c]
and dword [ebp - 0x210], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push 0x100136c
push dword [ebp + 0x18]
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], esi
call sub.SHLWAPI.dll_wnsprintfA
push esi
push ebx
push edi
mov ebx, 0x1001360
push ebx
mov edi, 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.SHLWAPI.dll_wnsprintfA
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x100443b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100444f
inc dword [ebp + 0x10]
push dword [ebp + 0x10]
push 0x100136c
push dword [ebp + 0x18]
push dword [ebp - 0x214]
call sub.SHLWAPI.dll_wnsprintfA
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push ebx
push edi
push eax
call sub.SHLWAPI.dll_wnsprintfA
add esp, 0x28
lea eax, [ebp - 0x20c]
push 0
push eax
call esi
test eax, eax
je 0x10043f5
jmp 0x1004459
mov dword [ebp - 0x210], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
call fcn.010086b7
leave
ret 0x14
Function at 0x10061d1
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x554
mov eax, dword [0x100e03c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push 0x1001fc4
mov dword [ebp - 4], eax
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.SHLWAPI.dll_wnsprintfA
add esp, 0x10
lea eax, [ebp - 0x554]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1006259
push esi
lea eax, [ebp - 0x414]
push eax
push 0x1001fc0
lea eax, [ebp - 0x528]
push eax
push edi
call fcn.0100c002
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x554]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1006220
test ebx, ebx
je 0x1006264
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010086b7
leave
ret 4
Function at 0x10075a5
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100e03c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1e
pop ecx
xor ebx, ebx
mov dword [ebp - 0x214], eax
xor eax, eax
mov dword [ebp - 0x290], ebx
lea edi, [ebp - 0x28c]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x210]
push ecx
push ebx
push ebx
push esi
mov dword [ebp - 0x210], ebx
call dword [eax + 0x44]
mov edi, eax
cmp edi, ebx
jl 0x10076a2
jmp 0x1007684
cmp dword [ebp - 0x27c], ebx
je 0x1007677
cmp dword [ebp - 0x268], ebx
jne 0x1007660
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0x1001fc0
push dword [ebp - 0x27c]
push dword [ebp - 0x214]
call fcn.0100c002
mov edi, eax
cmp edi, ebx
jl 0x10076a2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi]
lea ecx, [ebp - 0x290]
push ecx
push esi
mov dword [ebp - 0x27c], ebx
call dword [eax + 0x18]
mov edi, eax
cmp edi, ebx
jl 0x10076a2
jmp 0x1007677
mov eax, dword [esi]
push ebx
push ebx
push dword [ebp - 0x280]
push dword [ebp - 0x288]
push esi
call dword [eax + 0xd8]
mov eax, dword [esi]
lea ecx, [ebp - 0x290]
push ecx
push esi
call dword [eax + 0x28]
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x290]
push ecx
push 1
push dword [ebp - 0x210]
push esi
call dword [eax + 0x4c]
test eax, eax
je 0x1007600
mov eax, dword [esi]
lea ecx, [ebp - 0x290]
push ecx
push esi
call dword [eax + 0x28]
mov eax, dword [esi]
lea ecx, [ebp - 0x210]
push ecx
push esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.010086b7
leave
ret 8
Function at 0x10087fe
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x60
push 0x1002bb8
call fcn.010098c4
mov edi, 0x94
mov eax, edi
call fcn.01009a20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x100e2f8], ecx
mov eax, dword [esi + 4]
mov dword [0x100e304], eax
mov edx, dword [esi + 8]
mov dword [0x100e308], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x100e2fc], esi
cmp ecx, 2
je 0x100885e
or esi, 0x8000
mov dword [0x100e2fc], esi
shl eax, 8
add eax, edx
mov dword [0x100e300], eax
cmp word [0x1000000], 0x5a4d
jne 0x100889a
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x100889a
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x10088b3
cmp ecx, 0x20b
je 0x10088a0
and dword [ebp - 0x1c], 0
jmp 0x10088c7
cmp dword [eax + 0x84], 0xe
jbe 0x100889a
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x10088c1
cmp dword [eax + 0x74], 0xe
jbe 0x100889a
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01009867
pop ecx
test eax, eax
jne 0x10088f4
cmp dword [0x100e2e8], 1
jne 0x10088e1
call fcn.01009043
push 0x1c
call fcn.01008e56
push 0xff
call fcn.01008cb5
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01009697
test eax, eax
jge 0x1008909
push 0x1b
call fcn.010087cf
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x100e874], eax
call fcn.0100956a
mov dword [0x100e2e0], eax
call fcn.010094c1
test eax, eax
jge 0x100892f
push 8
call fcn.010087cf
pop ecx
call fcn.01009267
test eax, eax
jge 0x1008940
push 9
call fcn.010087cf
pop ecx
call fcn.01008d0f
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1008953
push eax
call fcn.010087cf
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.010091f9
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1008975
movzx eax, word [ebp - 0x40]
jmp 0x1008978
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01007e15
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1008999
push esi
call fcn.01008def
call fcn.01008e27
jmp 0x10089cb
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.010098ff
ret
Function at 0x1008e56
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100e03c]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100e050]
je 0x1008e80
inc eax
cmp eax, 0x12
jb 0x1008e71
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100e050]
mov dword [ebp - 0x110], esi
jne 0x100902b
mov eax, dword [0x100e2e8]
cmp eax, 1
je 0x1008ff9
test eax, eax
jne 0x1008eb6
cmp dword [0x100e044], 1
je 0x1008ff9
cmp ecx, 0xfc
je 0x100902b
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1008ef1
push 5
pop ecx
mov esi, 0x1002f2c
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebx, [ebp - 0x10c]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008efc
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x1008f34
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008f14
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x1002f28
push ebx
call fcn.0100a1b0
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008f39
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x100e054]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1008f53
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.01009a20
mov edx, esp
push 6
pop ecx
mov esi, 0x1002f0c
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008f7f
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1008f8b
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1008fa4
mov eax, dword [ebp - 0x110]
mov esi, 0x1002f08
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x100e054]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008fc2
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1008fce
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x1002ee0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0100a0a1
add esp, 0xc
jmp 0x100902b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x100902b
mov esi, dword [esi + 0x100e054]
mov ecx, esi
lea edx, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x1009010
push 0
sub ecx, edx
lea edx, [ebp - 0x114]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x120]
mov ecx, dword [ebp - 4]
call fcn.010086b7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100956a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e450]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x10095b6
call esi
mov edi, eax
cmp edi, ebx
je 0x100959c
mov dword [0x100e450], 1
jmp 0x10095bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x10095b1
push 2
pop eax
mov dword [0x100e450], eax
jmp 0x10095b6
mov eax, dword [0x100e450]
cmp eax, 1
jne 0x1009633
cmp edi, ebx
jne 0x10095c7
call esi
mov edi, eax
cmp edi, ebx
je 0x100963c
cmp word [edi], bx
mov eax, edi
je 0x10095dc
inc eax
inc eax
cmp word [eax], bx
jne 0x10095ce
inc eax
inc eax
cmp word [eax], bx
jne 0x10095ce
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100962a
push eax
call fcn.0100a3cc
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x100962a
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
jne 0x1009627
push dword [ebp - 4]
call fcn.0100a307
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x100968b
cmp eax, 2
je 0x1009640
cmp eax, ebx
je 0x1009640
xor eax, eax
jmp 0x100968d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x100963c
cmp byte [esi], bl
je 0x100965d
inc eax
cmp byte [eax], bl
jne 0x1009653
inc eax
cmp byte [eax], bl
jne 0x1009653
sub eax, esi
inc eax
mov edi, eax
push edi
call fcn.0100a3cc
cmp eax, ebx
pop ecx
je 0x1009684
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a0a1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x100e458], ebx
push esi
push edi
jne 0x100a123
push 0x10033b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100a15e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10033ac
push edi
call esi
test eax, eax
mov dword [0x100e458], eax
je 0x100a15e
push 0x100339c
push edi
call esi
push 0x1003388
push edi
mov dword [0x100e45c], eax
call esi
cmp dword [0x100e2f8], 2
mov dword [0x100e460], eax
jne 0x100a123
push 0x100336c
push edi
call esi
test eax, eax
mov dword [0x100e468], eax
je 0x100a123
push 0x1003354
push edi
call esi
mov dword [0x100e464], eax
mov eax, dword [0x100e464]
test eax, eax
je 0x100a168
call eax
test eax, eax
je 0x100a14f
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x100e468]
test eax, eax
je 0x100a14f
test byte [ebp - 8], 1
jne 0x100a168
cmp dword [0x100e304], 4
jb 0x100a162
or byte [ebp + 0x12], 0x20
jmp 0x100a187
xor eax, eax
jmp 0x100a197
or byte [ebp + 0x12], 4
jmp 0x100a187
mov eax, dword [0x100e45c]
test eax, eax
je 0x100a187
call eax
mov ebx, eax
test ebx, ebx
je 0x100a187
mov eax, dword [0x100e460]
test eax, eax
je 0x100a187
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x100e458]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100ad76
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x100ada7
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x100adae
cmp ebx, dword [ebp + 8]
jae 0x100adae
xor eax, eax
jmp 0x100af9e
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x100adbf
xor eax, eax
inc eax
jmp 0x100af9d
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100add5
cmp ecx, edx
jae 0x100af1a
cmp dword [eax + 4], 0
je 0x100adde
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x100adc6
cmp dword [ebp + 8], 0
je 0x100ae00
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x100af1a
cmp eax, esi
jae 0x100af1a
mov eax, dword [0x100e470]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x100ae25
cmp dword [esi*4 + 0x100e478], edi
je 0x100af1e
inc esi
cmp esi, eax
jl 0x100ae13
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100af9a
cmp dword [ebp - 8], 0x1000000
jne 0x100af9a
test byte [ebp - 0xc], 0xcc
je 0x100aea3
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x100af9a
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100af9a
cmp word [eax + 0x18], 0x10b
jne 0x100af9a
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x100af9a
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x100aea3
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x100aea3
test byte [ecx + 0x27], 0x80
jne 0x100af1a
push 1
push 0x100e4b8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x100adb7
mov ecx, dword [0x100e470]
test ecx, ecx
mov edx, ecx
jle 0x100aed7
lea eax, [ecx*4 + 0x100e474]
cmp dword [eax], edi
je 0x100aed7
dec edx
sub eax, 4
test edx, edx
jg 0x100aecb
test edx, edx
jne 0x100af08
push 0xf
pop ebx
cmp ecx, ebx
jg 0x100aee4
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x100aefc
lea eax, [edx*4 + 0x100e478]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x100aeea
cmp ecx, 0x10
jge 0x100af08
inc ecx
mov dword [0x100e470], ecx
push 0
push 0x100e4b8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x100adb7
xor eax, eax
jmp 0x100af9d
test esi, esi
jle 0x100adb7
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x100e4b8
call ebx
test eax, eax
jne 0x100adb7
cmp dword [esi*4 + 0x100e478], edi
je 0x100af74
mov eax, dword [0x100e470]
lea esi, [eax - 1]
test esi, esi
jl 0x100af62
cmp dword [esi*4 + 0x100e478], edi
je 0x100af5e
dec esi
jns 0x100af52
test esi, esi
jge 0x100af72
cmp eax, 0x10
jge 0x100af6d
inc eax
mov dword [0x100e470], eax
lea esi, [eax - 1]
jmp 0x100af74
je 0x100af8c
xor ecx, ecx
test esi, esi
jl 0x100af8c
lea eax, [ecx*4 + 0x100e478]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x100af7a
push 0
push 0x100e4b8
call ebx
jmp 0x100adb7
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100bb83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01009a20
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100bbe9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x100e2f8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x100bbed
xor eax, eax
jmp 0x100bbfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c0c5
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push ebx
xor eax, eax
push 0x10000080
mov edi, esi
stosd dword es:[edi], eax
push 4
push ebx
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
push 0xc0000000
push dword [ebp + 8]
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x100c115
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
sub ebx, 0x20
neg ebx
sbb ebx, ebx
and ebx, 0xffffffeb
add ebx, 0x800c007f
jmp 0x100c163
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x100c12c
mov ebx, 0x800c006b
jmp 0x100c163
push ebx
push eax
push ebx
push 4
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x100c148
mov ebx, 0x800c006c
jmp 0x100c163
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x100c169
mov ebx, 0x800c006d
push esi
call fcn.0100c081
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x40624e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43ea44], esi
push edi
jne 0x406288
mov ecx, 0x43ea40
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406264
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x43ee40
jl 0x40625f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x4062bd
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43ea40]
xor eax, esi
inc ecx
dec edx
jne 0x4062a0
pop edi
pop esi
not eax
ret 0xc
Function at 0x436110
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push 5
mov word [ebp - 0x28], ax
mov word [ebp - 0x1c], ax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x34]
push eax
push 0x11
push edi
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1a], xmm0
movq qword [ebp - 0xe], xmm0
call esi
push 5
lea eax, [ebp - 0x40]
push eax
push 0x12
push edi
call esi
push 5
lea eax, [ebp - 0x28]
push eax
push 0x10
push edi
call esi
push 5
lea eax, [ebp - 0x1c]
push eax
push 0xf
push edi
call esi
push 5
lea eax, [ebp - 0x10]
push eax
push 0xe
push edi
call esi
push 5
lea eax, [ebp - 0x4c]
push eax
push 0x1010
push edi
call esi
lea eax, [ebp - 0x34]
push eax
call fcn.00474404
mov dword [ebx], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00474404
mov dword [ebx + 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00474404
mov dword [ebx + 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00474345
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00474345
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00474404
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ebx + 0x14], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00470e77
mov esp, ebp
pop ebp
ret

Function at 0x436270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x43629f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x436360
push 0
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x400
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x436370
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x49d5c0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00474398
add esp, 0xc
lea eax, [ebp - 0x20c]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x210]
push eax
push 0x400
push esi
push ebx
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x436354
push 0x4984e4
mov ecx, edi
call fcn.0046b530
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0046b530
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x43635f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470e77
mov esp, ebp
pop ebp
ret
push 0x4984e4
mov ecx, edi
call fcn.0046b530
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0046b530
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00470e77
mov esp, ebp
pop ebp
ret