joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4180f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x100
or ecx, edx
push esi
mov esi, dword [0x58c454]
jge 0x41811e
push 0x100
mov ecx, edi
call fcn.00402d50
mov eax, dword [edi]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
push eax
push str.0900
push str.StartTime1
push str.Settings
call esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [0x58c454]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or edx, eax
mov dword [ebp - 4], ecx
jge 0x41816d
push 0x100
mov ecx, ebx
call fcn.00402d50
mov ecx, dword [ebp - 4]
mov edx, dword [ebx]
push ecx
push 0x100
push edx
push str.1100
push str.EndTime1
push str.Settings
call esi
mov eax, dword [0x58c454]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x100
or ecx, edx
jge 0x4181b8
push 0x100
mov ecx, ebx
call fcn.00402d50
mov eax, dword [ebp - 4]
mov ecx, dword [ebx]
push eax
push 0x100
push ecx
push str.0000
push str.StartTime2
push str.Settings
call esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov ebx, dword [0x58c454]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or edx, eax
jge 0x418201
push 0x100
call fcn.00402d50
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
push ebx
push 0x100
push ecx
push str.0000
push str.EndTime2
push str.Settings
call esi
mov eax, dword [edi]
mov ecx, dword [eax - 8]
pop ebx
test eax, eax
je 0x418237
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x4182d6
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4182d6
mov esi, dword [ebp + 8]
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x418267
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x4182d6
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4182d6
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x418293
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x4182d6
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4182d6
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4182bf
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x4182d6
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4182d6
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402e30
int3
Function at 0x4182f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x584460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0041df57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418330
push 0x80004005
call fcn.00402e30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov edi, dword [0x58c454]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x418370
push 0x100
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
push edi
push 0x100
push esi
push 0x564fb0
push 0x564fb4
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00512991
add esp, 8
test eax, eax
js 0x4183b2
cmp eax, dword [esi - 8]
jg 0x4183b2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x4183bc
push 0x80070057
call fcn.00402e30
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4183d9
push edi
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
lea edx, [edi + 1]
push edx
push esi
call fcn.00512bdb
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4183b2
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov ecx, 0x564fac
mov eax, esi
jmp 0x418400
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418426
test dx, dx
je 0x418422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418426
add eax, 4
add ecx, 4
test dx, dx
jne 0x418400
xor eax, eax
jmp 0x41842b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418453
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418470
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534ec8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x584460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0041df57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4184af
push 0x80004005
call fcn.00402e30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov edi, dword [0x58c454]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x4184ef
push 0x100
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
push edi
push 0x100
push esi
push 0x564fe4
push str.BatteryLev
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00512991
add esp, 8
test eax, eax
js 0x41856b
cmp eax, dword [esi - 8]
jg 0x41856b
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.00512e4d
mov edi, eax
lea eax, [esi - 0x10]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418558
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x80070057
call fcn.00402e30
int3
Function at 0x418580
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x584460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0041df57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4185c0
push 0x80004005
call fcn.00402e30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov edi, dword [0x58c454]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x418600
push 0x100
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
push edi
push 0x100
push esi
push 0x564fb0
push str.NotiPowerChange
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00512991
add esp, 8
test eax, eax
js 0x418642
cmp eax, dword [esi - 8]
jg 0x418642
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x41864c
push 0x80070057
call fcn.00402e30
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x418669
push edi
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
lea edx, [edi + 1]
push edx
push esi
call fcn.00512bdb
add esp, 8
cmp edi, dword [esi - 8]
jg 0x418642
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov ecx, 0x564fac
mov eax, esi
jmp 0x418690
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4186b6
test dx, dx
je 0x4186b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4186b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x418690
xor eax, eax
jmp 0x4186bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4186e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418780
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x100
or ecx, edx
push ebx
mov ebx, dword [0x58c454]
jge 0x4187ae
push 0x100
mov ecx, esi
call fcn.00402d50
mov eax, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
push eax
push 0x565058
push str.Section1StartTime1
push str.Settings
call ebx
mov eax, dword [edi]
mov ecx, dword [0x58c454]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or edx, eax
mov dword [ebp - 4], ecx
jge 0x4187f9
push 0x100
mov ecx, edi
call fcn.00402d50
mov ecx, dword [ebp - 4]
mov edx, dword [edi]
push ecx
push 0x100
push edx
push str.11.0
push str.Section1EndTime1
push str.Settings
call ebx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
pop ebx
test eax, eax
je 0x41882e
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x41886d
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41886d
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x418857
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x41886d
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x41886d
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402e30
int3
Function at 0x418970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x100
or ecx, edx
push esi
mov esi, dword [0x58c454]
jge 0x41899e
push 0x100
mov ecx, edi
call fcn.00402d50
mov eax, dword [edi]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x100
push eax
push 0x565058
push str.Section2StartTime1
push str.Settings
call esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [0x58c454]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or edx, eax
mov dword [ebp - 4], ecx
jge 0x4189ed
push 0x100
mov ecx, ebx
call fcn.00402d50
mov ecx, dword [ebp - 4]
mov edx, dword [ebx]
push ecx
push 0x100
push edx
push str.11.0
push str.Section2EndTime1
push str.Settings
call esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ebx, dword [0x58c454]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or edx, eax
jge 0x418a36
push 0x100
call fcn.00402d50
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push ebx
push 0x100
push ecx
push str.14.0
push str.Section2StartTime2
push str.Settings
call esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov ebx, dword [0x58c454]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or edx, eax
jge 0x418a7c
push 0x100
call fcn.00402d50
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
push ebx
push 0x100
push ecx
push str.16.0
push str.Section2EndTime2
push str.Settings
call esi
mov eax, dword [edi]
mov ecx, dword [eax - 8]
pop ebx
test eax, eax
je 0x418ab2
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x418b51
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x418b51
mov esi, dword [ebp + 8]
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x418ae2
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x418b51
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x418b51
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x418b0e
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x418b51
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x418b51
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x418b3a
push ecx
push eax
call fcn.00512991
add esp, 8
test eax, eax
js 0x418b51
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x418b51
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402e30
int3
Function at 0x418b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x584460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0041df57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418ba0
push 0x80004005
call fcn.00402e30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov edi, dword [0x58c454]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x418be0
push 0x100
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
push edi
push 0x100
push esi
push 0x564fb0
push str.SABIFuncSupport
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00512991
add esp, 8
test eax, eax
js 0x418c22
cmp eax, dword [esi - 8]
jg 0x418c22
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x418c2c
push 0x80070057
call fcn.00402e30
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x418c49
push edi
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
lea edx, [edi + 1]
push edx
push esi
call fcn.00512bdb
add esp, 8
cmp edi, dword [esi - 8]
jg 0x418c22
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov ecx, 0x564fac
mov eax, esi
jmp 0x418c70
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418c96
test dx, dx
je 0x418c92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418c96
add eax, 4
add ecx, 4
test dx, dx
jne 0x418c70
xor eax, eax
jmp 0x418c9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418cc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418ce0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x584460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0041df57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418d20
push 0x80004005
call fcn.00402e30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov edi, dword [0x58c454]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x418d60
push 0x100
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
push edi
push 0x100
push esi
push 0x564fb0
push str.Lock
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00512991
add esp, 8
test eax, eax
js 0x418da2
cmp eax, dword [esi - 8]
jg 0x418da2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x418dac
push 0x80070057
call fcn.00402e30
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x418dc9
push edi
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov esi, dword [ebp - 0x10]
lea edx, [edi + 1]
push edx
push esi
call fcn.00512bdb
add esp, 8
cmp edi, dword [esi - 8]
jg 0x418da2
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov ecx, 0x564fac
mov eax, esi
jmp 0x418df0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418e16
test dx, dx
je 0x418e12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418e16
add eax, 4
add ecx, 4
test dx, dx
jne 0x418df0
xor eax, eax
jmp 0x418e1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x7c], eax
jle 0x41d6be
mov dword [esp + 0x14], eax
jmp 0x41d5f7
mov eax, dword [esp + 0x10]
test eax, eax
js 0x41d6c7
cmp eax, dword [edi + 0x7c]
jge 0x41d6c7
mov esi, dword [edi + 0x78]
mov eax, dword [ebp + 0x10]
add esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41d641
mov edx, dword [ebp + 8]
cmp dword [esi + 0x38], edx
je 0x41d65b
call fcn.0041d6d0
mov eax, dword [ebp + 8]
push 1
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x20]
push ebx
push ecx
jmp 0x41d655
cmp dword [esi + 0x38], 0
je 0x41d65b
push 1
mov dword [esi + 0x38], 0
mov edx, dword [edi + 0x20]
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41d68d
mov edx, dword [ebp + 8]
cmp dword [esi + 0x3c], edx
je 0x41d6a7
call fcn.0041d6d0
mov eax, dword [ebp + 8]
push 1
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x20]
push ebx
push ecx
jmp 0x41d6a1
cmp dword [esi + 0x3c], 0
je 0x41d6a7
push 1
mov dword [esi + 0x3c], 0
mov edx, dword [edi + 0x20]
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x40
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x7c]
jl 0x41d5f3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041ecdb
int3

Function at 0x425443
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42548a
call fcn.0042764c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42548a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4254a6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00424f43
mov esi, eax
test edi, edi
je 0x4254a4
test ebx, ebx
je 0x4254a4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x426d26
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52cac8
call fcn.0051380c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x426d4b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x426d9d
call fcn.0041df57
push eax
lea ecx, [ebp - 0x10]
call fcn.00402e50
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00512ca5
push eax
call fcn.00406aa0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402e80
mov eax, esi
call fcn.005138e4
ret 8

Function at 0x429c49
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x584460]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x429c8e
push 0x53bce8
push 4
push eax
call fcn.00512820
push eax
call fcn.00406aa0
add esp, 0x10
jmp 0x429ca4
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x429d24
push edi
call fcn.005139e3
mov edi, dword [eax]
call fcn.005139e3
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00513980
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005139e3
cmp dword [eax], 0
je 0x429cf8
call fcn.005139e3
push dword [eax]
call fcn.0041e635
pop ecx
jmp 0x429cff
call fcn.005139e3
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x429d24
cmp dword [ebp - 0x234], esi
jae 0x429d24
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x429d26
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00511b7f
leave
ret