joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1926df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x60b000]
push edi
or ebp, 0xffffffff
jmp 0x1926e12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1926e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1926e08
mov eax, 1
add ebx, ebx
jne 0x1926e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1926e20
jne 0x1926e3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1926e20
xor ecx, ecx
sub eax, 3
jb 0x1926e50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1926ec2
mov ebp, eax
add ebx, ebx
jne 0x1926e5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1926e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1926e8c
inc ecx
add ebx, ebx
jne 0x1926e78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1926e6d
jne 0x1926e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1926e6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1926eac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1926e9d
jmp 0x1926e0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1926eac
add edi, ecx
jmp 0x1926e0e
pop esi
mov edi, esi
mov ecx, 0x48bfe6
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1926ee7
cmp byte [edi], 0x60
jne 0x1926ecc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1926eca
lea edi, [esi + 0xa22000]
mov eax, dword [edi]
or eax, eax
je 0x1926f2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaa2628]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xaa277c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1926eed
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xaa2780]
or eax, eax
je 0x1926f29
mov dword [ebx], eax
add ebx, 4
jmp 0x1926f0a
call dword [esi + 0xaa2790]
mov ebp, dword [esi + 0xaa2784]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1926f63
sub esp, 0xffffff80
jmp 0x13dc570
Function at 0x10001017
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
call fcn.1000452c
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x10001049
push 0x18
push str.V9onexQlw0aJf9zqEQocSXNVrjXnaMCzbYuvnAj
push esi
call fcn.1000325b
push esi
call fcn.100038e2
xor eax, eax
add esp, 0x10
inc eax
jmp 0x1000104b
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10001eb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019138]
jne 0x10001eba
repz ret
jmp fcn.10003cf2

Function at 0x1000bcbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10019138]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100067f7
and dword [ebp - 0x14], 0
cmp dword [0x1001b220], 0
mov dword [ebp - 0x18], eax
jne 0x1000bd6f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000be17
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000be17
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001b220], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001b224], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001b228], eax
call edi
push eax
call esi
mov dword [0x1001b230], eax
test eax, eax
je 0x1000bd6f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001b22c], eax
mov eax, dword [0x1001b22c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000bdc8
cmp dword [0x1001b230], ecx
je 0x1000bdc8
push eax
call esi
push dword [0x1001b230]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000bdc8
test ebx, ebx
je 0x1000bdc8
call edi
test eax, eax
je 0x1000bdbf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000bdbf
test byte [ebp - 8], 1
jne 0x1000bdc8
or dword [ebp + 0x10], 0x200000
jmp 0x1000bdfb
mov eax, dword [0x1001b224]
cmp eax, dword [ebp - 0x18]
je 0x1000bdfb
push eax
call esi
test eax, eax
je 0x1000bdfb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000bdfb
mov eax, dword [0x1001b228]
cmp eax, dword [ebp - 0x18]
je 0x1000bdfb
push eax
call esi
test eax, eax
je 0x1000bdfb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001b220]
call esi
test eax, eax
je 0x1000be17
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000be19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001eb0
leave
ret
Function at 0x4041e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
push 0
call fcn.00404110
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call esi
test eax, eax
je 0x404259
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
lea ebx, [ebx]
cmp byte [edi + 0xc], 0
jne 0x404258
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1c]
push edx
push eax
call ebx
test eax, eax
jne 0x404248
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x404220
pop ebx
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 0x458de8
call fcn.00413fc0
mov edx, dword [0x459628]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x459624
call fcn.004145b0
mov eax, dword [0x459628]
mov dword [eax + 4], eax
mov eax, dword [0x459628]
mov dword [eax], eax
mov eax, dword [0x459628]
mov dword [eax + 8], eax
mov dword [0x45962c], 0
mov eax, dword [edi + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4042b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], ebx
mov word [ebp - 0x830], cx
mov dword [ebp - 4], ebx
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push edx
call edi
mov esi, eax
cmp esi, ebx
je 0x40436f
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
lea esp, [esp]
push 0x400
lea eax, [ebp - 0x814]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x814]
push edx
mov ecx, 0x458de8
call fcn.00413e60
cmp dword [ebp - 0x81c], 8
mov eax, dword [ebp - 0x830]
jae 0x404360
lea eax, [ebp - 0x830]
push eax
push esi
call ebx
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x404320
cmp dword [ebp - 0x81c], 8
jb 0x404387
mov eax, dword [ebp - 0x830]
push eax
call fcn.0042ee58
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 4
Function at 0x4045b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi + 0x64]
push ebx
push edi
test eax, eax
je 0x4045cb
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x64], 0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 4]
mov edi, dword [edx + ecx*4]
push eax
mov dword [esi + 0x64], edi
call fcn.00404110
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 4]
push 0x3f7
push 0xfffffffffffffff4
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ebx, dword [esi + 4]
lea edi, [esi + 0x24]
call fcn.00415b50
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
push str.Showing_dialog:__s
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
add esp, 0xc
pop edi
pop ebx
pop ecx
ret
Function at 0x406950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4563e4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, ebx
sub eax, 0x110
push edi
mov esi, ecx
je 0x406abc
dec eax
je 0x40699c
sub eax, 0x27
jne 0x4069b8
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
movzx ecx, word [ebp + 0xc]
mov dword [esi + 0x10], ecx
mov byte [esi + 0xc], 1
jmp 0x406aa0
cmp ebx, 0x110
ja 0x406a94
je 0x406a04
mov eax, ebx
sub eax, 2
je 0x4069f4
dec eax
je 0x406a45
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00404480
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4069d0
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4069d0
mov eax, dword [0x458dc8]
call fcn.00409ee0
test al, al
je 0x406a45
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi + 4]
push eax
push 0
push edx
push 0x1e
push 0x5a
push 0
push 0
push 0x90000000
push str.Exit
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x38], eax
cmp dword [esi + 0x38], 0
je 0x4069d0
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
push ecx
call edi
mov eax, dword [esi + 0x38]
lea edx, [esp + 0xc]
push edx
push eax
call edi
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push 0x15
push 0
push 0
lea eax, [ecx + edx - 0xe]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x38]
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4069d0
cmp ebx, 0x111
jne 0x4069d0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4069d0
cmp dword [ebp + 0x10], eax
jne 0x4069d0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004061f0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407a00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443357
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, 7
xor ebx, ebx
xor edx, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x21c], edi
mov word [edi], dx
mov dword [ebp - 4], ebx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], ebx
mov word [edi + 0x1c], dx
lea esi, [edi + 0x38]
mov dword [esi + 0x14], ecx
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov edx, dword [ebp + 0xc]
push edx
push eax
lea eax, [ebp - 0x218]
push str._S___d_
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
add esp, 0x10
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407a90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
call fcn.00403fb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 8

Function at 0x407d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareIntelSetup_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407d5f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push ebx
push ebx
push eax
push ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
pop ebx
sete al
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407d70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 1
push 0
push 0
push str.SoftwareIntelSetup_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x407dc5
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push eax
mov eax, dword [ebp - 4]
push edx
push eax
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x407df0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443308
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], eax
push 0xb
mov eax, str.GlobalIIF_
lea esi, [ebp - 0x2c]
call fcn.00403fb0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407e45
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00402b70
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x407e6f
lea eax, [ebp - 0x2c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
test eax, eax
jne 0x407e8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x407eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x407eb4
mov edx, dword [ebx]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x652
cmp dword [ebp - 0x18], edi
jb 0x407ec5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042ee58
add esp, 4
mov eax, esi
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.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x4091f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
push str.IIF_CACHELOC
lea edi, [edi + 4]
call fcn.00416580
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0042eee3
add esp, 0xc
push str.Prop.data
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Deleting_private_properties_file
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
add esp, 8
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop edi
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 4
Function at 0x40fae0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4420fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4563e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042e1c6
push 4
mov dword [ebp - 4], 0
call fcn.0042ee63
mov edi, eax
add esp, 4
test edi, edi
je 0x40fb5c
call fcn.0042e618
mov dword [edi], eax
call fcn.0042e3d7
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0042e30c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40fb52
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042e334
jmp 0x40fb5e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4138a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443009
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov dword [ebp - 0x2c], esi
mov word [esi], cx
push 9
mov dword [ebp - 4], eax
movzx eax, word [edi + 2]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 0x24]
push edx
push 0x59
push eax
mov dword [ebp - 0x28], 1
call ebx
lea eax, [ebp - 0x24]
lea edx, [eax + 2]
jmp 0x413910
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413910
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
call fcn.00403fb0
push 1
mov eax, 0x44bf1c
mov ecx, esi
call fcn.00402b70
movzx edx, word [edi + 2]
push 9
lea ecx, [ebp - 0x24]
push ecx
push 0x5a
push edx
call ebx
lea eax, [ebp - 0x24]
lea edx, [eax + 2]
jmp 0x413950
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413950
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
call fcn.00402b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x413b70
Capabilities:
Delete file
Get common file path
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [0x4563e4]
xor eax, esp
mov dword [esp + 0x424], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov byte [esp + 0x10], 1
test di, di
jne 0x413be3
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, ax
mov ecx, 0x105
cmp ax, cx
je 0x413bbf
mov edx, 0x205
cmp ax, dx
je 0x413bbf
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x413bc5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edi, ax
movzx eax, di
push eax
push str.Current_UI_language:__04X
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
add esp, 0xc
mov eax, edi
and eax, 0x3ff
cmp ax, 3
je 0x413bfc
cmp ax, 0x2d
je 0x413bfc
cmp ax, 0x56
jne 0x413c01
mov edi, 0xc0a
lea ecx, [esp + 0x220]
push ecx
push 0x104
mov word [esp + 0x10], di
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esi + 4]
push edi
push 0
push 0x44bf80
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
push str.Language_folder:__s
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 0xa
lea edx, [esp + 0x10]
mov ecx, 0x413680
call fcn.00422d80
add esp, 8
test eax, eax
jne 0x413c9c
movzx eax, word [esp + 0x12]
push eax
push str.Loading_language__04X
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
mov eax, dword [esp + 0x1e]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call fcn.00413cb0
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret

Function at 0x413cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x61c]
push 0x104
push ecx
mov word [esi + 2], ax
call fcn.0042eee3
add esp, 0xc
push edi
lea ebx, [esi + 0x20c]
push 0x104
push ebx
call fcn.0042eee3
add esp, 0xc
push str.IntelCommon.dll
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp + 8]
push edx
lea edi, [esi + 0x414]
push 0x104
push edi
call fcn.0042eee3
add esp, 0xc
push str.resource.dll.mui
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413d29
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
cmp byte [esi], 0
je 0x413d46
push ebx
push str.Loading_common_language_resource___s_
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
add esp, 0xc
push 2
push 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov dword [esi + 0x824], eax
test eax, eax
jne 0x413d6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
pop ecx
pop ebp
ret 4
cmp byte [esi], 0
je 0x413d87
push edi
push str.Loading_language_resource___s_
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
add esp, 0xc
push 2
push 0
push edi
call ebx
mov dword [esi + 0x828], eax
test eax, eax
je 0x413d5d
pop edi
xor eax, eax
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4157e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb5a
add esp, 4
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0x10
or eax, 0x400
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0xffffffffffffffff
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.0042ff19
add esp, 4
push 0x80
lea edx, [ebp - 0x108]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.Button
lea eax, [ebp - 0x108]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4158d6
test dx, dx
je 0x4158d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4158d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4158b0
xor eax, eax
jmp 0x4158db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415904
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0xb
jle 0x415904
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x110]
add ecx, eax
mov dword [ebp - 0x110], ecx
jmp 0x41590a
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
sub ecx, dword [ebp - 0x118]
push 6
inc eax
push eax
inc ecx
push ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 8