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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfb8
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push eax
call fcn.0043b61d
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ecx - 8], 0
jne 0x43c4d0
lea ecx, [ebp - 0x14]
call fcn.00401085
leave
ret
mov eax, dword [0x4a9450]
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ecx
call fcn.0043b68c
and word [ebp - 0xfb8], 0
add esp, 0x10
mov ecx, 0x3e8
xor eax, eax
push dword [ebp + 0x14]
lea edi, [ebp - 0xfb6]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0xfb8]
push 0x7d0
mov esi, str.87D306BD_DD3A_42fa_B7F2_9B39C5D6F374
mov eax, dword [edi]
push ecx
push esi
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
lea eax, [ebp - 0xfb8]
push eax
lea ecx, [ebp - 0xc]
call fcn.004064a9
test ebx, ebx
je 0x43c555
push esi
push dword [ebp - 0xc]
call fcn.00491db7
pop ecx
test eax, eax
pop ecx
jne 0x43c57d
cmp dword [ebp + 0x18], 0
je 0x43c57d
push dword [ebp - 4]
call fcn.0043bcb6
test eax, eax
pop ecx
jne 0x43c5bf
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [edi]
call fcn.0043ca77
add esp, 0x10
jmp 0x43c5bf
mov eax, dword [ebp - 8]
cmp dword [eax - 8], 0
je 0x43c5ae
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push 0x4aa0cc
push eax
call fcn.0040673f
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.0040678b
lea ecx, [ebp + 0x14]
call fcn.00401085
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b80b
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c6f4
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0xc]
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
cmp edi, ebx
jne 0x43c717
xor eax, eax
jmp 0x43c79d
push 0x10
call fcn.00490944
mov esi, eax
pop ecx
cmp esi, ebx
je 0x43c710
mov eax, dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov edi, 0x4bffd0
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.0043c7a2
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x43c7c2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x43c77f
push ebx
mov ecx, edi
call fcn.0043c7a2
mov eax, dword [esi]
cmp eax, ebx
je 0x43c776
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0048e18e
pop ecx
jmp 0x43c710
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43cf2c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043cefe
test eax, eax
jne 0x43cf3f
xor eax, eax
jmp 0x43cfa7
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x43cf3b
push dword [ebp + 8]
call fcn.00491136
mov esi, eax
pop ecx
test esi, esi
je 0x43cf3b
lea eax, [esi + 1]
push eax
call fcn.0043cfab
mov edi, eax
pop ecx
test edi, edi
je 0x43cf3b
push esi
push dword [ebp + 8]
push edi
call fcn.00490987
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x43d07d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x43cf9d
push edi
call fcn.0043d000
pop ecx
jmp 0x43cf3b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x43d310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 3
push edi
mov ebx, 0x40000000
push 1
push ebx
push dword [ebp + 8]
call esi
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
cmp ecx, edi
jne 0x43d38f
mov dword [ebp - 0x10], edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044f684
xor edi, edi
pop ecx
neg eax
sbb eax, eax
lea ecx, [ebp - 0x10]
push edi
push edi
and eax, ecx
push 2
push eax
push 1
push ebx
push dword [ebp + 8]
call esi
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x43d38f
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 8]
push 2
push eax
push esi
mov dword [ebp + 8], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d394
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x43d3f9
xor ebx, ebx
mov ecx, 0x82
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043cf03
pop ecx
test eax, eax
pop ecx
je 0x43d3f9
cmp word [ebp - 0x21c], bx
je 0x43d3f9
lea eax, [ebp - 0x21c]
push eax
call fcn.0043d310
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 4], eax
jne 0x43d400
xor eax, eax
jmp 0x43d493
push esi
push dword [ebp + 8]
call fcn.00491136
pop ecx
mov esi, eax
push 2
push ebx
push ebx
lea edi, [esi + esi]
push dword [ebp - 4]
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
je 0x43d487
mov edi, 0x4a9964
push edi
call fcn.00491136
cmp esi, eax
pop ecx
mov dword [ebp - 0x10], eax
jb 0x43d47a
sub esi, eax
mov eax, dword [ebp + 8]
push edi
lea eax, [eax + esi*2]
push eax
call fcn.00490952
neg eax
sbb eax, eax
pop ecx
neg eax
pop ecx
mov dword [ebp + 8], eax
je 0x43d47a
lea eax, [ebp + 8]
push 0
push eax
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
push edi
push dword [ebp - 4]
call ebx
mov ecx, dword [ebp - 8]
xor eax, eax
cmp ecx, dword [ebp - 0xc]
sete al
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x43e5fd
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
and dword [ebp - 0x198], 0
push edi
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0x194]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x198]
push eax
push 0x32
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov ecx, dword [0x4a9450]
test eax, eax
mov dword [ebp - 4], ecx
jle 0x43e6d3
push ebx
push esi
lea esi, [ebp - 0x198]
mov dword [ebp - 8], eax
mov ebx, 0x4ad7c8
and word [ebp - 0xd0], 0
push 0x31
pop ecx
xor eax, eax
lea edi, [ebp - 0xce]
mov dx, word [esi]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xd0]
push 0x63
push eax
push 0x59
movzx eax, dx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x43e6c5
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x43e69e
mov eax, ebx
test eax, eax
je 0x43e694
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.0040678b
lea eax, [ebp - 0xd0]
test eax, eax
je 0x43e6b5
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040678b
add esi, 4
dec dword [ebp - 8]
jne 0x43e64b
pop esi
pop ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop edi
leave
ret
Function at 0x43f61a
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
cmp ebx, edi
je 0x43f774
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
jne 0x43f783
mov eax, dword [ebp + 0xc]
and eax, 0x10
mov dword [ebp - 4], eax
jne 0x43f6b9
cmp dword [ebp + 0x10], edi
je 0x43f6b9
mov eax, dword [0x4a9450]
mov edi, 0x401
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.00406846
test eax, eax
je 0x43f67b
mov eax, dword [ebp + 8]
mov dword [eax - 8], edi
mov eax, dword [ebp + 8]
and word [eax + 0x802], 0
mov eax, dword [ebp + 8]
push 0
push 0x400
push eax
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetMenuStringW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.004068ae
lea eax, [ebp + 8]
push eax
call fcn.0043f78a
mov eax, dword [esi]
pop ecx
push 0
lea ecx, [ebp + 8]
push ebx
push ecx
mov ecx, esi
call dword [eax + 0xc]
lea ecx, [ebp + 8]
call fcn.00401085
xor edi, edi
test byte [ebp + 0xd], 8
jne 0x43f774
cmp dword [ebp - 4], 0x10
je 0x43f774
cmp dword [ebp + 0xc], 0xffff
jne 0x43f6df
cmp dword [ebp + 0x10], edi
je 0x43f774
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x43f774
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
test al, al
je 0x43f70f
push ebx
mov ecx, esi
call fcn.0043f48b
push ebx
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0043fabb
jmp 0x43f783
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
push 0xc
call fcn.00490c80
mov edi, eax
pop ecx
test edi, edi
je 0x43f783
mov eax, dword [ebp + 0x10]
push ebx
mov ecx, esi
mov dword [edi], esi
mov dword [edi + 8], eax
mov dword [edi + 4], ebx
call fcn.0043f48b
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push 0x43f5bd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x43f76b
mov ecx, esi
call fcn.0043f4a4
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43f783
push edi
call fcn.00490b97
pop ecx
jmp 0x43f783
mov ecx, esi
call fcn.0043f49c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4410fc
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c15f0]
mov ecx, dword fs:[0x2c]
push esi
mov esi, dword [ecx + eax*4]
mov eax, dword [esi + 8]
test eax, eax
je 0x441121
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x441125
xor al, al
pop esi
ret
push 0
push 0
push 0x41c
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop esi
ret

Function at 0x44129e
Capabilities:
Hide graphical window

Disassembly:
jmp 0x4412a3
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4412c8
push 0
push 0
push 0x41c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4470ec
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
call fcn.00446c8f
cmp dword [esi + 0x1488], 0
je 0x447235
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x447118
mov dword [ebp + 0xc], ebx
jmp 0x447120
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov ebx, eax
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push dword [esi + 0x1488]
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi + 2]
push eax
call fcn.00490944
mov edi, eax
pop ecx
test edi, edi
mov dword [ebp - 4], edi
je 0x447235
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
mov eax, 0x4c0c84
movsx ax, al
push ebx
mov word [edi + esi*2 + 2], ax
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [ebp + 8], eax
je 0x44722c
and dword [ebp - 0x38], 0
xor eax, eax
lea edi, [ebp - 0x34]
push 0xc00
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x10]
sub esi, dword [ebp - 0x38]
sub ebx, dword [ebp - 0x18]
cmp esi, ebx
jle 0x44722c
mov eax, dword [ebp - 0xc]
push 0x1e
sub eax, dword [ebp - 0x14]
xor edi, edi
push eax
push esi
push edi
push edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x28], edi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x148c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
push 0x36
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
sub eax, ebx
add eax, esi
push eax
xor eax, eax
push eax
push eax
push eax
push dword [edi + 0x148c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 4]
call fcn.0048e18e
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44804b
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, ecx
call fcn.0044802e
test al, al
je 0x4480a9
mov eax, dword [0x4c15f0]
mov ecx, dword fs:[0x2c]
xor edx, edx
mov ebx, dword [esp + 0xc]
mov eax, dword [ecx + eax*4]
mov ecx, 0x3e8
push 0xa31
mov eax, dword [eax + 0x24]
and word [esi + 0xc], 0
div ecx
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0x3e8
push 0x21f8
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x4480ad
xor eax, eax
jmp 0x4480c2
push dword [esi + 8]
mov ecx, esi
push ebx
call fcn.004487e5
mov ecx, esi
call fcn.00448b44
push 1
pop eax
pop esi
pop ebx
ret 4
Function at 0x44855b
Capabilities:
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d4
push dword [ecx + 0x148c]
call fcn.00448708
test eax, eax
pop ecx
je 0x448579
mov dword [ebp + 8], eax
jmp 0x44857f
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
push ebx
push esi
test eax, eax
push edi
mov ecx, 0x1f3
setne bl
and word [ebp - 0x7d4], 0
xor eax, eax
lea edi, [ebp - 0x7d2]
rep stosd dword es:[edi], eax
test bl, bl
stosw word es:[edi], ax
jne 0x4485c1
lea eax, [ebp - 0x7d4]
push 0x3e7
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x448646
mov al, bl
lea ecx, [ebp - 0x7d4]
neg al
sbb eax, eax
push 0x7d8
not eax
and eax, ecx
mov edi, eax
call fcn.00490944
mov esi, eax
pop ecx
test esi, esi
je 0x448617
mov eax, dword [ebp + 8]
mov byte [esi + 0x7d4], bl
lea ebx, [esi + 4]
push 0x7d0
push 0
push ebx
mov dword [esi], eax
call fcn.00491510
add esp, 0xc
test edi, edi
je 0x448619
push 0x3e7
push edi
push ebx
call fcn.00490987
add esp, 0xc
jmp 0x448619
xor esi, esi
xor eax, eax
cmp esi, eax
je 0x448646
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x44864d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44863f
push esi
call fcn.0048e18e
pop ecx
jmp 0x448646
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44a21e
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
je 0x44a33c
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x44a33c
push dword [ebp + 8]
call fcn.00491136
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
je 0x44a33c
push 0x63
xor eax, eax
pop ecx
lea edi, [ebp - 0x1a0]
mov dword [ebp - 0x1a4], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x64
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x44a33c
mov dword [ebp - 8], esi
jle 0x44a33c
lea ebx, [ebp - 0x1a4]
mov edi, 0x105
mov eax, dword [0x4a9450]
push edi
movzx esi, word [ebx]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00406846
test eax, eax
je 0x44a2c9
mov eax, dword [ebp - 4]
mov dword [eax - 8], edi
mov eax, dword [ebp - 4]
and word [eax + 0x20a], 0
mov eax, dword [ebp - 4]
push 0x104
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.004068ae
mov eax, dword [ebp - 4]
mov eax, dword [eax - 8]
test eax, eax
je 0x44a322
cmp eax, dword [ebp - 0xc]
jle 0x44a311
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 4]
push eax
call fcn.0040694d
push eax
lea ecx, [ebp - 4]
call fcn.004065e8
lea ecx, [ebp - 0x14]
call fcn.00401085
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00491db7
pop ecx
test eax, eax
pop ecx
je 0x44a343
lea ecx, [ebp - 4]
call fcn.00401085
inc dword [ebp - 8]
add ebx, 4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jl 0x44a29d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, esi
jmp 0x44a33e

Function at 0x44a34f
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d4
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x44a3d4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetUserGeoID
push edi
call esi
test eax, eax
je 0x44a3d4
push 0x10
call eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x44a3d4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push str.GetGeoInfoW
push edi
mov ebx, eax
call esi
mov edx, eax
test edx, edx
je 0x44a3d4
and word [ebp - 0x7d4], 0
mov ecx, 0x1f3
xor eax, eax
lea edi, [ebp - 0x7d2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x7d4]
push 0x3e7
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call edx
mov esi, eax
test esi, esi
jne 0x44a3d8
xor eax, eax
jmp 0x44a3f8
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x7d4]
push eax
push edi
call fcn.00490987
add esp, 0xc
and word [edi + esi*2], 0
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a86c
Capabilities:
Get keyboard layout

Disassembly:
mov eax, dword [0x4a9450]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x10], eax
call fcn.0044b048
push 1
mov dword [esi + 0x18], eax
mov eax, dword [0x4a9450]
xor ebp, ebp
pop ebx
mov dword [esi + 0x24], eax
push ebp
push ebp
mov dword [esi], 0x4a1d60
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x48], ebp
mov dword [esi + 0x40], ebx
mov dword [esi + 4], ebp
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x28], 5
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor ecx, ecx
mov edi, 0x4bf5f0
cmp eax, ebx
mov eax, edi
setg cl
test eax, eax
mov dword [esi + 0x20], ecx
je 0x44a8dc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esi + 0x24]
call fcn.00406586
mov ecx, esi
call fcn.0044b780
or dword [esi + 0xc], 0xffffffff
push 0x1e
pop eax
lea edi, [esi + 0x50]
mov dword [esi + 0x74], eax
mov dword [esi + 0x84], eax
mov eax, ebx
mov word [esi + 0x64], 0xd
mov word [esi + 0x66], 3
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x94], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 8], 7
mov dword [esi + 0x80], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x100], ebp
mov dword [esi + 0x104], 0xf
mov dword [esi + 0x90], ebp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], 2
push 0x5c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esi + 0xa4]
push ebp
push eax
mov dword [esi + 0x58], ebp
mov dword [esi + 0x8c], ebx
call fcn.00491510
add esp, 0xc
mov ecx, esi
call fcn.0044bd82
lea edi, [esi + 0x2c]
mov eax, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44b048
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 8]
push 0
push eax
call fcn.0044c611
push dword [eax]
call fcn.00411bc2
mov bl, al
add esp, 0xc
neg bl
sbb bl, bl
lea ecx, [ebp - 8]
inc bl
call fcn.00401085
test bl, bl
je 0x44b0a6
lea eax, [ebp - 8]
push eax
call fcn.0044c5ba
push dword [eax]
call fcn.00411bc2
mov bl, al
pop ecx
neg bl
pop ecx
sbb bl, bl
lea ecx, [ebp - 8]
inc bl
call fcn.00401085
test bl, bl
je 0x44b0a6
push 1
pop eax
jmp 0x44b1c4
mov eax, dword [0x4a9450]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044c5ba
mov edi, dword [eax]
pop ecx
push 0x65
lea ecx, [ebp - 4]
pop esi
push esi
call fcn.00406846
test eax, eax
jne 0x44b0d0
xor esi, esi
jmp 0x44b0e4
mov eax, dword [ebp - 4]
mov dword [eax - 8], esi
mov eax, dword [ebp - 4]
and word [eax + 0xca], 0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
call fcn.0044c884
mov eax, dword [eax]
pop ecx
push edi
push 0x64
mov ebx, 0x4bf5f0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, str.TWPVersion
push ebx
push edi
push eax
call esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
push dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.004068ae
cmp dword [ebp - 8], 0
jne 0x44b1a1
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0044c611
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push 0x65
lea ecx, [ebp - 4]
call fcn.00406846
test eax, eax
jne 0x44b152
and dword [ebp - 8], eax
jmp 0x44b16d
mov eax, dword [ebp - 4]
mov dword [eax - 8], 0x65
mov eax, dword [ebp - 4]
and word [eax + 0xca], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044c884
pop ecx
mov eax, dword [eax]
push dword [ebp - 0x10]
push 0x64
push dword [ebp - 8]
push ebx
push edi
push eax
call esi
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
push esi
lea ecx, [ebp - 4]
call fcn.004068ae
push str.TWP_150
push dword [ebp - 4]
call fcn.00491db7
mov esi, eax
pop ecx
neg esi
pop ecx
sbb esi, esi
lea ecx, [ebp - 4]
neg esi
call fcn.00401085
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret