joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4231d0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x314
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x310], eax
push esi
mov esi, dword [esp + 0x31c]
test esi, esi
je 0x4231f6
mov dword [esi], 0
push 0x104
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x423231
test esi, esi
je 0x423219
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0046ecfa
add esp, 0x314
ret
lea ecx, [esp + 0x108]
push 0x5c
push ecx
call fcn.00472c57
add esp, 8
test eax, eax
je 0x42324d
xor edx, edx
mov word [eax + 2], dx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42320d
mov edx, dword [esp + 4]
push edx
lea eax, [esp + 0xc]
push 0x4a7d44
push eax
call fcn.0046ec3b
lea ecx, [esp + 0x14]
push ecx
call fcn.00422cd0
mov ecx, dword [esp + 0x324]
add esp, 0x10
pop esi
xor ecx, esp
call fcn.0046ecfa
add esp, 0x314
ret

Function at 0x424310
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
lea eax, [esp + 0x24]
push 0x104
push eax
or esi, 0xffffffff
call fcn.0041e520
add esp, 8
test eax, eax
jne 0x424382
lea ecx, [esp + 0x24]
push ecx
push 0x10
lea edx, [esp + 0xc]
push edx
push 0x4a7e94
push str.APTimer
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 4]
push eax
call fcn.004707b9
add esp, 4
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0046ecfa
add esp, 0x22c
ret
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046ecfa
add esp, 0x22c
ret

Function at 0x424e90
Capabilities:
Terminate process

Disassembly:
push ecx
test dword [esp + 0x28], 0x80000000
push esi
mov esi, dword [esp + 0x28]
mov dword [esi], 0
mov dword [esp + 0x28], 0
jne 0x424ed8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x424ed8
push 0x10
push str.Fatal_error
push str.The_main_windows_handle_is_mandatory.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edi
push ebx
push ebp
push edx
push eax
push ecx
call fcn.00424b60
add esp, 0x20
cmp dword [esi], 0
mov dword [esp + 0x10], eax
jne 0x424f2f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
push edx
push eax
push esi
push edi
push ebx
push ebp
push ecx
call fcn.00424550
add esp, 0x1c
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x424f40
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov eax, dword [esp + 4]
pop esi
pop ecx
ret
Function at 0x425f30
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x104
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
xor ebp, ebp
mov dword [edi], 0xffffffff
test eax, eax
je 0x425f8c
cmp byte [eax], 0
je 0x425f8c
lea esi, [esp + 0x10]
sub esi, eax
jmp 0x425f80
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x425f80
jmp 0x425f9f
xor eax, eax
mov edi, edi
mov cl, byte [eax + str.www.avanquest.com]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x425f90
test edx, edx
je 0x425fba
lea eax, [esp + 0x10]
mov ecx, eax
sub edx, ecx
jmp 0x425fb0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425fb0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x426005
movsx eax, word [esi + 0xa]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push eax
push edx
push edi
call fcn.0046f190
add esp, 0xc
test ebx, ebx
je 0x425fea
mov ax, word [esi + 8]
mov word [ebx], ax
mov eax, ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ecfa
add esp, 0x104
ret
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x42601f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x425fec
mov eax, ebp
test ebx, ebx
je 0x425fec
mov edx, 2
mov word [ebx], dx
jmp 0x425fec
Function at 0x4266e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4af6f0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x134]
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x14], 0x114
call fcn.0046f7e0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
push edi
jb 0x426753
push esi
call fcn.004264c0
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0046ecfa
add esp, 0x118
ret
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
push edx
push eax
push ecx
push esi
call fcn.00426130
mov ecx, dword [esp + 0x130]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.0046ecfa
add esp, 0x118
ret
Function at 0x427d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427d8b
push edi
push str.InstallToolbarRemote__s___File_doesnt_exist_
call fcn.00469390
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.0046f7e0
push esi
push str._ctid_s__s__openuninstallpageFALSE__openwelcomedialogFALSE
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0046ecde
add esp, 0x1c
lea eax, [ebp - 0x804]
cmp byte [ebp + 0x14], 3
jne 0x427dd3
push str.__ff
jmp 0x427dd8
push str.__ie
push 0x400
push eax
call fcn.0046e904
add esp, 0xc
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x18], 0
je 0x427df9
push str.__DefaultSearchTRUE
jmp 0x427dfe
push str.__DefaultSearchFALSE
push 0x400
push eax
call fcn.0046e904
add esp, 0xc
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x1c], 0
je 0x427e1f
push str.__StartPageTRUE
jmp 0x427e24
push str.__StartPageFALSE
push 0x400
push eax
call fcn.0046e904
add esp, 0xc
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x808]
push 0
push eax
push 1
push 1
push 0x48c8a4
push 0x48c8a4
lea eax, [ebp - 0x804]
push eax
push edi
push ebx
call fcn.004668c0
mov esi, eax
lea eax, [ebp - 0x804]
push esi
push eax
push edi
push ebx
push str.InstallToolbarRemote__d___s___s___End__d_
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 0x38
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret

Function at 0x428e20
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x81], 0
jne 0x428eab
cmp dword [ebp + 8], 0
je 0x428e57
cmp dword [esi + 0x6d], 0xffffffff
jne 0x428eab
push 0
push 0
push esi
push 0x4294a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6d], eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x6d]
cmp eax, 0xffffffff
je 0x428eab
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x428e9b
cmp dword [ebp + 8], 0x103
jne 0x428e9b
push 0
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x428e9b
push 0x2710
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x6d], 0xffffffff
pop esi
pop ebp
ret 4
Function at 0x429a40
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0x64], 0x20434150
mov dword [ebp - 0x60], 0x20a9202d
mov dword [ebp - 0x5c], 0x50525642
mov dword [ebp - 0x58], 0x666f5320
mov dword [ebp - 0x54], 0x72617774
mov dword [ebp - 0x50], 0x39312065
mov dword [ebp - 0x4c], 0x322d3039
mov dword [ebp - 0x48], 0x20303030
mov dword [ebp - 0x44], 0x20200a0d
mov dword [ebp - 0x40], 0x20202020
mov dword [ebp - 0x3c], 0x20202020
mov dword [ebp - 0x38], 0x20202020
mov dword [ebp - 0x34], 0x20202020
mov dword [ebp - 0x30], 0x20202020
mov dword [ebp - 0x2c], 0x20202020
mov dword [ebp - 0x28], 0x20202020
mov dword [ebp - 0x24], 0x20202020
mov dword [ebp - 0x20], 0x20202020
mov dword [ebp - 0x1c], 0x20202020
mov dword [ebp - 0x18], 0x1a0a0d00
mov dword [ebp - 0x14], 0x106a9d6
mov dword [ebp - 0x10], 0x12c
mov dword [ebp - 0xc], 0x80
mov word [ebp - 8], 0x1e0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429b41
push edi
push str.IsaPacFile__s___INVALID_HANDLE_VALUE
call fcn.00469390
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x429bb1
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x5e
lea eax, [ebp - 0xc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429bb1
cmp dword [ebp - 0xc8], 0x5e
jne 0x429bb1
xor ecx, ecx
jmp 0x429b80
mov al, byte [ebp + ecx - 0x64]
cmp al, byte [ebp + ecx - 0xc4]
jne 0x429bb1
inc ecx
cmp ecx, 0x5e
jb 0x429b80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret 4
Function at 0x42b290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 8
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x10
push 0x10
push 1
push 1
push dword [0x4b550c]
call edi
mov esi, dword [sym.imp.USER32.dll_SetClassLongW]
push eax
push 0xffffffffffffffde
push ebx
call esi
push 0
push 0x20
push 0x20
push 1
push 1
push dword [0x4b550c]
call edi
push eax
push 0xfffffffffffffff2
push ebx
call esi
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0046f7e0
mov esi, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push dword [esi + 4]
push 0x100
push eax
push 0xf0
push dword [esi]
call fcn.00467200
add esp, 0x20
test eax, eax
je 0x42b369
push 0
push 0x4c82d0
push 0x48d54c
lea eax, [ebp - 0x404]
push 0x100
push eax
call fcn.00440530
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046f7e0
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf1
push dword [esi]
call fcn.00467200
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x20
test eax, eax
je 0x42b3bb
lea eax, [ebp - 0x204]
push eax
push 0x3eb
push ebx
call edi
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf2
push dword [esi]
call fcn.00467200
add esp, 0x14
test eax, eax
je 0x42b3ec
lea eax, [ebp - 0x204]
push eax
push 0x3ec
push ebx
call edi
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf3
push dword [esi]
call fcn.00467200
add esp, 0x14
test eax, eax
je 0x42b41d
lea eax, [ebp - 0x204]
push eax
push 0x3fd
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x10
push 0xc5
push 0x3fe
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xc]
push eax
push 0x3fe
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 8]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 2
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [ebp - 0x408]
mov eax, dword [ecx + 8]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 3
push ebx
call edi
push eax
call esi
mov eax, dword [ebp - 0x408]
test byte [eax + 8], 4
je 0x42b4ab
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x42c830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a210
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4af6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x14], 0
lea ecx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x42c870
mov eax, dword [ebp + 0x10]
sub edi, ecx
cmp dword [ebp + 8], 0xffffffff
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
jne 0x42c8ab
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
push 0x38ac
call fcn.00470108
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42ca67
mov dword [ebx], 0xdddd
add ebx, 8
mov dword [ebp - 0x18], ebx
je 0x42ca67
push 2
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov eax, edi
neg eax
cdq
push edx
push eax
push dword [ebp + 8]
call fcn.00440130
add esp, 0x14
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42c8ff
cmp dword [ebp - 0x1c], 0
je 0x42c945
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c945
push edi
push esi
push ebx
call fcn.00470090
add esp, 0xc
test eax, eax
jne 0x42c945
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42c926
sub esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
mov esi, 1
mov dword [ecx + 4], 0
jmp 0x42c9ec
push 2
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0xffffffffffffffff
push 0xffffc75c
push dword [ebp + 8]
movlpd qword [ebp - 0x20], xmm0
call fcn.00440130
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str.OffSet:__I64d
call fcn.004696f0
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42c984
cmp dword [ebp - 0x1c], 0
je 0x42c9e7
push 0
lea eax, [ebp - 0x14]
push eax
push 0x38a4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c9e7
push str.Readfile_ok
call fcn.004696f0
add esp, 4
push edi
push esi
push dword [ebp - 0x14]
push ebx
call fcn.00440ec0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c9e7
push str.memmem_ok
call fcn.004696f0
mov ecx, dword [ebp + 0x10]
mov eax, ebx
sub eax, esi
add esp, 4
add eax, 0x38a4
mov esi, 1
mov dword [ecx], eax
mov dword [ecx + 4], 0
jmp 0x42c9ec
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42ca32
push dword [ecx + 4]
push dword [ecx]
push str.CheckFCWFile____Signature__found___offset_I64d_
call fcn.004696f0
add esp, 0xc
jmp 0x42ca3f
push str.CheckFCWFile____No_signature_found_
call fcn.004696f0
add esp, 4
add ebx, 0xfffffff8
cmp dword [ebx], 0xdddd
jne 0x42ca53
push ebx
call fcn.0046ec03
add esp, 4
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
mov eax, 0xe
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 0x42dca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00447a20
test eax, eax
jne 0x42dcf6
push 0x4c80c2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dcf6
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.004696f0
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], 0
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push ebx
call dword [sym.imp.USER32.dll_GetTitleBarInfo]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call esi
push 0x2e
mov edi, eax
call esi
mov ecx, dword [ebp - 0x1c]
mov dl, byte [0x4c7eb8]
mov esi, dword [0x4c7eb0]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
cmp dl, 1
jne 0x42dd59
lea esi, [esi + edi*2]
jmp 0x42dd63
cmp dl, 2
jne 0x42dd63
add eax, edi
lea esi, [esi + eax*2]
push 6
lea eax, [esi + ecx]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor edi, edi
cmp dword [0x4c7e88], edi
je 0x42dda9
mov ecx, dword [0x4bd980]
test ecx, ecx
jne 0x42dd97
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
mov eax, esi
sub eax, ecx
push eax
push 0
push ebx
call fcn.0043d980
add esp, 0xc
jmp 0x42ddaf
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
mov cl, byte [0x4c7eb8]
xor edx, edx
mov eax, 0x50000000
cmp cl, 1
je 0x42ddcb
cmp cl, 2
jne 0x42ddd0
mov edx, 0x200
mov eax, 0x50800000
push 0
push dword [0x4b550c]
push 0
push ebx
push esi
push dword [ebp - 0x70]
push edi
push 0
push eax
push 0x48c8a4
push str.Static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x42de54
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push str.CreateIAMCWindow
push dword [0x4b551c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42de37
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push 0
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
push 0
call eax
add esp, 0x20
mov dword [ebp - 0x64], eax
jmp 0x42de46
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.004696f0
add esp, 4
xor eax, eax
push eax
push str.CreateIAMCZone____hwndIAMC_d
call fcn.004696f0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x42df00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f7e0
push 0x20
xor edi, edi
call fcn.0046e127
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42df54
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
jmp 0x42df56
xor esi, esi
mov dword [esi + 0xc], 0x4c7eba
mov eax, dword [0x4c7eb4]
mov dword [esi], eax
mov dword [esi + 4], 0x4c7e90
mov eax, dword [0x4c7eac]
test eax, eax
jne 0x42df79
call fcn.0042de70
mov dword [esi + 8], eax
cmp byte [0x4bee1d], 1
jne 0x42df8e
mov dword [esi + 0x10], str.0000_0001
jmp 0x42df95
mov dword [esi + 0x10], str.0000_0003
mov dword [esi + 0x14], edi
cmp word [0x4c80c2], di
je 0x42dfeb
push 7
push str.file:__
push 0x4c80c2
call fcn.00470222
add esp, 0xc
test eax, eax
je 0x42dfd2
push str.file:__
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046fe12
add esp, 0xc
push 0x4c80c2
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046e904
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
push str.IAMCZone____TypeID_d
mov dword [esi + 0x1c], eax
call fcn.00469390
push dword [esi + 8]
push str.IAMCZone____CountryCode_d
call fcn.00469390
push dword [esi + 4]
push str.IAMCZone____MasterID_s
call fcn.00469390
push dword [esi + 0x10]
push str.IAMCZone____Serial_s
call fcn.00469390
push dword [esi + 0xc]
push str.IAMCZone____Tag_s
call fcn.00469390
push dword [esi + 0x14]
push str.IAMCZone____Priority_d
call fcn.00469390
push dword [esi + 0x18]
push str.IAMCZone____DefaultLocalURL_s
call fcn.00469390
push dword [esi + 0x1c]
push str.IAMCZone____ZoneID_d
call fcn.00469390
add esp, 0x40
push str.AddIAMCZone
push dword [0x4b551c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e084
push esi
push ebx
call eax
add esp, 8
mov edi, eax
jmp 0x42e091
push str.IAMCZone____Cant_find_the_function_AddIAMCZone_
call fcn.004696f0
add esp, 4
push esi
call fcn.0046e100
push edi
push str.IAMCZone____End__d_
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x42e890
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ax, ax
jne 0x42e8a4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx ecx, ax
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
push eax
push ecx
push str._02X_02X
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046ecde
add esp, 0x14
pop ebp
ret