joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100097a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100842d7
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x100ad708]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x230]
push eax
call fcn.10012180
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
je 0x1000998c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000998c
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1007fd50
add esp, 8
call fcn.1002d0c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000998c
push 0x85
push str.d:jenkins.jenkinsworkspacelib_commonindependent_product_commonindependent_product_commonproduct_install_srcproduct_install.cc
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], al
call fcn.1000f590
push 3
push 0x1008cdb8
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000f590
mov byte [ebp - 4], 2
call fcn.1002d0c0
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push str.Delete_old_start_menu_directory_:__s
lea eax, [ebp - 0x234]
push 1
push eax
call fcn.1002cf80
add esp, 0x10
push 0x1f3
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.10006090
mov esi, eax
mov ecx, dword [ebp - 0x234]
mov edx, 0x1008ce68
test ecx, ecx
mov byte [ebp - 4], 4
cmovne edx, ecx
push edx
push esi
call fcn.10004420
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2fc]
call fcn.100071f0
mov edx, dword [ebp - 0x234]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009976
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24c]
call fcn.10006a30
lea ecx, [ebp - 0x264]
call fcn.10006a30
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100099c8
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100099be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100099e3
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ef19
mov esp, ebp
pop ebp
ret
call fcn.1005e18e
int3
Function at 0x1000b0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100844f8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ad708]
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
mov edi, dword [esi + 0x24]
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x44]
mov bl, 1
call fcn.10005d30
cmp dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
jne 0x1000b0f8
lea ecx, [ebp - 0x44]
call fcn.10003900
jmp 0x1000b256
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x48]
push ecx
push 0x20019
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000b0eb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ecx, 0x1008c9c0
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b141
sub ecx, edx
push ecx
push 0x1008c9c0
lea ecx, [ebp - 0x60]
call fcn.1000f590
push 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.10011fc0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x1000b1a1
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b197
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b274
push edx
push ecx
call fcn.1002eba8
add esp, 8
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x14]
push 0
push 0
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x48]
neg eax
sbb al, al
and bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1000b20c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b202
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b279
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x1000b256
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b24c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b27e
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov al, bl
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.1002ef19
mov esp, ebp
pop ebp
ret
call fcn.1005e18e
call fcn.1005e18e
call fcn.1005e18e
int3
Function at 0x1000e880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000e8d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000e8d9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000e8ca
cmp esi, edx
jae 0x1000e8d9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000e8b8
cmp esi, edx
jae 0x1000e8d9
cmp word [esi], 0
je 0x1000e8d9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000fcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084b78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100ad708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1002f272
mov edi, eax
add esp, 4
test edi, edi
je 0x1000fd73
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10027148
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000fd75
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.10005a10
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x1000fdd5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1000fdd5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x1000fdf9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1000fe1b
cmp byte [ebp + 0xc], 0
je 0x1000fe08
push esi
call fcn.1002769d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1000fe27
mov esi, str.ios_base::badbit_set
jmp 0x1000fe37
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.1000ff60
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10006640
push 0x100a4574
lea eax, [ebp - 0x30]
push eax
call fcn.1005a12a
int3
Function at 0x10017ad0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100857b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100ad708]
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]
push str..
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 0x291], 1
push eax
call fcn.100047a0
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
cmp eax, 0xffffffff
jne 0x10017b52
lea ecx, [ebp - 0x40]
call fcn.10003900
jmp 0x10017c9a
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
nop word [eax + eax]
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017b80
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100042a0
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp eax, 8
mov ebx, dword [ebp - 0x18]
cmovae esi, edi
cmp ebx, 1
jne 0x10017bd6
mov ecx, 0x1008dbd4
mov edx, ebx
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10017bd3
add ecx, 2
sub edx, 1
jne 0x10017bc0
jmp 0x10017c01
mov eax, dword [ebp - 0x14]
cmp eax, 8
lea esi, [ebp - 0x28]
cmovae esi, edi
cmp ebx, 2
jne 0x10017c1e
mov eax, 0x1008dbd8
mov edx, ebx
sub esi, eax
nop dword [eax]
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x10017c1e
add eax, 2
sub edx, 1
jne 0x10017bf0
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10017b70
jmp 0x10017c25
mov byte [ebp - 0x291], 0
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10017c64
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10017c5a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017cbc
push ecx
push edi
call fcn.1002eba8
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10017c9a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017c90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017cc1
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov al, byte [ebp - 0x291]
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.1002ef19
mov esp, ebp
pop ebp
ret
call fcn.1005e18e
call fcn.1005e18e
int3
Function at 0x1001c4c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100ad708]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi + 0x30], 0
jne 0x1001c5f2
push 0
push str.ui_thread
lea ecx, [esi + 0x34]
call fcn.1004a9b0
test al, al
je 0x1001c5f2
push 0x3e8
sub esp, 0x28
mov byte [esi + 0x30], 1
mov eax, esp
lea ecx, [esi + 0x34]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_67ca3d139172a2566ed562db8d5a18f9___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.1004b3e0
push 0x4e20
sub esp, 0x28
lea ecx, [esi + 0x34]
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_b6bc2d74c5504bb74a2320c12158f457___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.1004b3e0
push 0x1f4
sub esp, 0x28
lea ecx, [esi + 0x34]
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_bbc5aa78c14134c7f5f5419ae369e4bf___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.1004b3e0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UtilsAccountPlugin.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001c5f2
push dword [ebp - 0x210]
lea eax, [esi + 0x58]
push eax
push 0x100ad3f8
push section..data
push 0x100b0dc0
call fcn.1001ac00
add esp, 0x14
movzx eax, ax
lea ecx, [esi + 0x38]
push 0
push eax
push 0
push 0
push SysReAllocString
push 0
push 0
push 0
call fcn.1001b090
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002ef19
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100ad708]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov esi, 0x100ad4d4
mov dword [ebx], eax
cmp dword [esi], 0
je 0x1001d147
cmp dword [esi + 4], 0
je 0x1001d147
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001d147
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1001d147
push dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001d147
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push ecx
push 1
call eax
mov edi, eax
mov dword [ebp - 0x214], edi
test edi, edi
je 0x1001d147
push dword [ebx]
mov ecx, dword [edi]
push edi
call dword [ecx + 0xc]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x1001d13a
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x1001d147
lea edx, [ebp - 0x214]
push edx
push eax
call fcn.1001c850
add esi, 8
cmp esi, 0x100ad4ec
jl 0x1001d072
mov ecx, ebx
call fcn.1001d520
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0x10], eax
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.1002ef19
mov esp, ebp
pop ebp
ret 4
Function at 0x100203c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100865b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100ad708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x18], 0
jne 0x10020400
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1000a7c0
mov ecx, eax
test ecx, ecx
je 0x1002055a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
add edi, 8
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x1002042c
mov edi, dword [edi]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10020450
push 0x104
lea ecx, [ebp - 0x10]
call fcn.1000b890
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0x104
jl 0x10020564
push edi
push 0x104
push esi
push 0x1008c524
push str.type
xor eax, eax
mov dword [esi - 0xc], 0x104
push str.update
mov word [esi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.100612bb
add esp, 8
test eax, eax
js 0x10020564
cmp eax, dword [esi - 8]
jg 0x10020564
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, str.bigupdate
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100204dc
test dx, dx
je 0x100204d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100204dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x100204b6
xor eax, eax
jmp 0x100204e1
sbb eax, eax
or eax, 1
test eax, eax
je 0x10020523
mov ecx, str.generalupdate
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10020516
test dx, dx
je 0x10020512
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10020516
add eax, 4
add ecx, 4
test dx, dx
jne 0x100204f0
xor eax, eax
jmp 0x1002051b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10020523
xor edi, edi
jmp 0x10020528
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10020547
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007f60
push 0x80070057
call fcn.10007f60
int3
Function at 0x100227f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008695c
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x100ad708]
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 ebx, ecx
lea ecx, [ebx + 0x40]
call fcn.100238c0
test eax, eax
je 0x100229d3
cmp dword [ebp + 0xc], 0
je 0x100229d3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x34]
push 0x103
push eax
push 0x1008eae0
push 0x1008eae4
push 0x1008eaec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.1000a7c0
mov ecx, eax
test ecx, ecx
je 0x100229f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x220]
call fcn.10007f80
test al, al
jne 0x100228d9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100228b7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.1000b930
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 0x40]
call fcn.10023a00
mov edx, dword [ebp - 0x220]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022916
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x40]
call fcn.1000ecd0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x100229bb
push str.update_
lea eax, [ebx + 0x30]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10021890
push 0x1008eaec
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10021890
add esp, 0x18
push eax
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 3
call fcn.100239f0
mov edx, dword [ebp - 0x224]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10022999
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100229bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x40]
call fcn.100237b0
test eax, eax
je 0x100229d3
call fcn.1001b190
mov dword [ebx + 0x24], 3
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.1002ef19
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10007f60
int3
Function at 0x100237b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086a88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ad708]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx], 0
jne 0x100237f3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
cmp dword [eax - 0xc], 0
je 0x100237df
mov eax, dword [ebx + 4]
lea esi, [ebx + 4]
cmp dword [eax - 0xc], 0
je 0x100237df
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100237df
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.10005c70
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.1000a320
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edi, dword [ebx + 8]
add esp, 8
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.10023a10
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.10023a10
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
mov edi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
cmove edx, edi
xor ebx, ebx
test edx, edx
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10023896
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret