joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416db8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, 5
jne 0x416e06
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x10]
push 0x20
push eax
call fcn.0043018f
test eax, eax
pop ecx
pop ecx
jne 0x416e06
inc eax
jmp 0x416e33
push 0x30
push dword [0x46b470]
mov ecx, esi
push str.Invalid_key_entry._n_nOne_or_more_key_boxes_contain_invalid_data._nPlease_recheck_you_entries_and_try_again.
call fcn.004240e4
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042d9aa
leave
ret 4

Function at 0x416e43
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd8
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, ecx
push 0x3f3
push dword [edi + 0x20]
call esi
push 0x3f5
push dword [edi + 0x20]
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push ebx
mov dword [ebp - 0x60], eax
call esi
test eax, eax
je 0x416ec5
push dword [ebp - 0x60]
call esi
test eax, eax
jne 0x416e97
mov ebx, dword [ebp - 0x60]
jmp 0x416ec5
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x65
lea eax, [ebp - 0x5c]
push eax
push ebx
call esi
mov ebx, dword [ebp - 0x60]
push 0x65
lea eax, [ebp + 0xc]
push eax
push ebx
call esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042d386
test eax, eax
pop ecx
pop ecx
je 0x416ec9
test ebx, ebx
jne 0x416ece
xor eax, eax
inc eax
jmp 0x416efb
push 0x30
push dword [0x46b470]
mov ecx, edi
push str.Invalid_e_mail_address._n_nThe_e_mail_addresses_youve_entered_do_not_match._nPlease_verify_your_e_mail_address_is_correct_before_submitting.
call fcn.004240e4
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x78
leave
ret
Function at 0x418766
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, dword [ebp + 0x19c]
push edi
lea eax, [ebp - 0x7c]
push eax
push 1
xor edi, edi
push edi
push 0x452c90
push SysReAllocString
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x70], 0x22
lea eax, [ebp - 0x6e]
je 0x4187d4
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x74], edi
lea edi, [eax - 3]
test edi, edi
lea ebx, [eax - 4]
jle 0x41881a
mov dword [ebp - 0x78], esi
push 4
push str..exe
push dword [ebp - 0x78]
call fcn.0043151a
add esp, 0xc
test eax, eax
je 0x418817
inc dword [ebp - 0x74]
add dword [ebp - 0x78], 2
cmp dword [ebp - 0x74], edi
jl 0x4187f3
jmp 0x41881a
mov ebx, dword [ebp - 0x74]
and word [esi + ebx*2 + 8], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x194
leave
ret 4
Function at 0x419334
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xe0
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [ebp + 0x7c]
push 0
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x6c]
push ecx
lea ebx, [edi + 0x828]
push ebx
push 0x20000013
push eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 4
call esi
test eax, eax
jne 0x4193a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDownloader::QueryFileInformation__query_failed_for_a_status_code__WIN_INET_ERROR:__d__braking...
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418ef0
add esp, 0x10
xor al, al
jmp 0x4194be
mov ebx, dword [ebx]
cmp ebx, 0xc8
je 0x4193c0
cmp ebx, 0xce
je 0x4193c0
push ebx
push str.CDownloader::OnQueryFileInformation__invalid_server_responce__HTTP_status_code:__d__braking...
push 0xfffffe6d
jmp 0x41938f
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2c]
push eax
push 5
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x20
call esi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x4193fa
lea eax, [ebp + 0x2c]
push eax
call fcn.0042fbe2
pop ecx
mov dword [edi + 0x810], eax
mov dword [edi + 0x814], edx
jmp 0x419420
mov ecx, dword [ebp - 0x68]
push 4
call fcn.004189ae
test al, al
je 0x419420
call ebx
push eax
push str.CDownloader::QueryFileInformation__failed_to_get_content_length_for_request__WIN_INET_ERROR:__d
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418ed7
add esp, 0x10
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x2a
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x48
call esi
test eax, eax
je 0x41946a
lea eax, [ebp - 0x64]
push str.bytes
push eax
call fcn.0042d549
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [edi + 0x82c], al
jne 0x419482
lea eax, [ebp - 0x64]
push eax
push str.CDownloader::QueryFileInformation__the_target_server_resource___s__doesnt_support_ranges
push 0xfffffc19
jmp 0x419477
call ebx
push eax
push str.CDownloader::QueryFileInformation__query_failed_for_Accept_Ranges_parameter__WIN_INET_ERROR:__d
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418ed7
add esp, 0x10
push 0
lea eax, [ebp - 0x6c]
push eax
add edi, 0x818
push edi
push 0x4000000b
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x10
call esi
test eax, eax
jne 0x4194bc
call ebx
push eax
push str.CDownloader::QueryFileInformation__query_failed_for_Last_Modified_parameter__WIN_INET_ERROR:__d
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418ed7
add esp, 0x10
mov al, 1
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x70
leave
ret 8
Function at 0x4194d2
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x2fc]
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea edi, [esi + 0x2e8]
mov ecx, edi
call fcn.00418a1f
test eax, eax
jbe 0x419560
push dword [ebp - 4]
mov ecx, edi
call fcn.00418a32
push dword [ebp + 8]
mov esi, dword [eax]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x419545
cmp byte [ebp + 0xc], 0
je 0x419535
push 0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x419551
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
cmp byte [ebp + 0xc], 0
jne 0x419551
cmp dword [esi + 0x4c], 0
jl 0x419564
inc dword [ebp - 4]
mov ecx, edi
call fcn.00418a1f
cmp dword [ebp - 4], eax
jb 0x419501
xor bl, bl
jmp 0x419566
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
jmp 0x41953e
Function at 0x419958
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x21e]
push esi
push eax
mov dword [ebp - 0x224], ecx
mov word [ebp - 0x220], si
call fcn.0042d110
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x450614
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x419a50
lea eax, [ebp - 0x220]
push 0x4538c0
push eax
call fcn.0042fb55
xor eax, eax
mov word [ebp - 0x18], si
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
pop ecx
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x4538bc
push str.Use_HTTP
mov edi, str.PROXY
push edi
call esi
test eax, eax
je 0x419a2b
lea eax, [ebp - 0x18]
push eax
call fcn.0042fbdd
test eax, eax
pop ecx
je 0x419a68
lea eax, [ebp - 0x220]
push eax
push 0xfa
push ebx
push 0x459a14
push str.HTTP_Server
push edi
call esi
test eax, eax
je 0x419a2f
mov al, 1
jmp 0x419a6a
lea eax, [ebp - 0x220]
push eax
push str.CDownloader::GetOperaProxySettings__failed_on_reading_Opera_configuration_settings___s__file
push 0xfffffe09
push dword [ebp - 0x224]
call fcn.00418ef0
add esp, 0x10
jmp 0x419a68
push str.CDownloader::GetOperaProxySettings__failed_Expand_Environment_Strings_USERPROFILE
push 0xfffffe09
push dword [ebp - 0x224]
call fcn.00418ef0
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
leave
ret 4
Function at 0x419ecd
Capabilities:
Create http request

Disassembly:
push ebp
lea ebp, [esp - 0x384]
sub esp, 0x404
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x380], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2f8], ebx
je 0x419ee1
mov al, 1
jmp 0x41a046
push edi
push 0x1fe
lea eax, [ebp + 0x182]
push ebx
push eax
mov word [ebp + 0x180], bx
call fcn.0042d110
add esp, 0xc
lea eax, [ebp + 0x180]
push eax
mov ecx, esi
call fcn.00418766
lea eax, [ebp + 0x180]
push eax
push str.The_web_browser:__s__detected_as_system_default
push esi
call fcn.00418ec2
lea eax, [ebp + 0x180]
push str.FIREFOX
push eax
call fcn.0042d549
mov edi, dword [sym.imp.WININET.dll_InternetOpenW]
add esp, 0x14
test eax, eax
je 0x419f57
lea eax, [ebp + 0x180]
push str.OPERA
push eax
call fcn.0042d549
test eax, eax
pop ecx
pop ecx
jne 0x41a093
push 0x1fe
lea eax, [ebp - 0x7e]
push ebx
push eax
mov word [ebp - 0x80], bx
call fcn.0042d110
lea eax, [ebp + 0x180]
push str.FIREFOX
push eax
call fcn.0042d549
add esp, 0x14
test eax, eax
jne 0x419fad
push str.Quering_FireFox_configuration_settings...
push esi
call fcn.00418ec2
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.00419573
test al, al
je 0x41a093
lea eax, [ebp - 0x80]
push eax
push str.Completed._The_following:__s_proxy_server_has_been_detected.
jmp 0x419ff1
lea eax, [ebp + 0x180]
push str.OPERA
push eax
call fcn.0042d549
test eax, eax
pop ecx
pop ecx
jne 0x41a093
push str.Quering_Opera_configuration_settings...
push esi
call fcn.00418ec2
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.00419958
test al, al
je 0x41a093
lea eax, [ebp - 0x80]
push eax
push str.Completed._The_following:__s_proxy_server_detected.
push esi
call fcn.00418ec2
add esp, 0xc
cmp dword [esi + 0x338], ebx
jne 0x41a05d
lea eax, [ebp - 0x80]
push eax
call fcn.0042d994
test eax, eax
pop ecx
je 0x41a05d
push str.Creating_session_with_proxy_connection.
push esi
call fcn.00418ec2
pop ecx
pop ecx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push 3
push str.STOPzilla_Download_Accelerator
call edi
cmp eax, ebx
mov dword [esi + 0x2f8], eax
je 0x41a05d
push str.Completed.
push esi
call fcn.00418ec2
pop ecx
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp + 0x380]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x384
leave
ret
push str.Creating_session_with_dirrect_connection.
push esi
call fcn.00418ec2
pop ecx
pop ecx
push ebx
push ebx
push ebx
push 1
push str.STOPzilla_Download_Accelerator
call edi
cmp eax, ebx
mov dword [esi + 0x2f8], eax
je 0x41a093
mov bl, 1
push str.Completed.
push esi
call fcn.00418ec2
pop ecx
pop ecx
mov al, bl
jmp 0x41a045
cmp dword [esi + 0x338], ebx
jne 0x41a0bf
push str.Creating_default_session_with_preconfig_from_registery.
push esi
call fcn.00418ec2
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
push str.STOPzilla_Download_Accelerator
call edi
cmp eax, ebx
mov dword [esi + 0x2f8], eax
jne 0x41a043
jmp 0x41a082
push str.Creating_default_session_with_ignoring_proxy_from_registery.
push esi
call fcn.00418ec2
pop ecx
pop ecx
push ebx
push ebx
push ebx
push 1
jmp 0x41a0ac
Function at 0x41c089
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x44a9ba
call fcn.0042f433
mov ebx, dword [ebp + 0x214]
mov esi, ecx
lea edi, [esi + 8]
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.0042d994
cmp eax, 3
pop ecx
ja 0x41c0f6
push 0x104
push edi
push 0x450614
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x41c0f6
push str.CDownloader::OnCreateFilestream__failed_Expand_Environment_Strings_USERPROFILE
push 0xffffffffffffffc9
push esi
call fcn.00418ef0
add esp, 0xc
xor al, al
jmp 0x41c239
lea eax, [ebp]
push edi
push eax
call fcn.0042fb7f
pop ecx
pop ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea eax, [ebp]
jle 0x41c121
add ebx, 0x610
push ebx
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x41c128
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jg 0x41c14c
lea eax, [ebp]
push eax
push str.CDownloader::OnCreateFilestream__no___s__Directory_exists
push 0xffffffffffffffc9
push esi
call fcn.00418ef0
add esp, 0x10
jmp 0x41c0ef
push 0x30
push 0x32
xor ebx, ebx
push edi
lea ecx, [esi + 0x250]
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
call fcn.0041bf2f
cmp dword [esi + 0x2a8], ebx
jne 0x41c17f
push edi
push str.CDownloader::OnCreateFilestream__failed_to_open___s__file
push 0xffffffffffffffc9
push esi
call fcn.00418ef0
add esp, 0x10
jmp 0x41c1e9
mov eax, dword [ebp - 0x1c]
add eax, 0x810
cmp dword [eax + 4], ebx
ja 0x41c190
cmp dword [eax], ebx
jbe 0x41c1c1
mov ecx, dword [eax]
sub esp, 0x18
mov eax, esp
dec ecx
mov dword [eax], ecx
lea edi, [esi + 0x258]
mov ecx, edi
mov dword [ebp - 0x1c], esp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
call fcn.0041ba33
push 1
push 0x4599ca
mov ecx, edi
call fcn.0041be89
mov byte [ebp - 0x11], 1
jmp 0x41c1e9
cmp dword [esi + 0x2a8], ebx
mov dword [ebp - 4], 2
je 0x41c203
lea ecx, [esi + 0x250]
call fcn.0041b73b
cmp byte [ebp - 0x11], bl
je 0x41c236
push 0x30
push 0x22
lea eax, [esi + 8]
push eax
lea ecx, [esi + 0x250]
call fcn.0041bf2f
cmp dword [esi + 0x2a8], ebx
jne 0x41c236
push str.CDownloader::OnCreateFilestream__failed_to_re_open_a_file
push 0xffffffffffffffc9
push esi
call fcn.00418ef0
add esp, 0xc
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042d9aa
add ebp, 0x20c
leave
ret 4
Function at 0x41c9b6
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x44aaa2
call fcn.0042f433
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00418745
test al, al
je 0x41c9f7
push str.CDownloader::Run__Download_Accelarator_is_busy._Its_currently_executing_a_download_task.
push 0xffffffffffffffff
push esi
call fcn.00418ed7
add esp, 0xc
or dword [ebp - 0x18], 0xffffffff
push 0x4615b4
lea eax, [ebp - 0x18]
push eax
call fcn.00430a18
lea edi, [esi + 0x2fc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x32c], ebx
call dword [eax + 4]
cmp al, bl
jne 0x41ca3c
push str.CDownloader::Run__failed_to_create_new_internet_session.
mov edi, 0xfffffe09
push edi
push esi
call fcn.00418ef0
add esp, 0xc
mov dword [ebp - 0x1c], edi
push 0x4615b4
lea eax, [ebp - 0x1c]
jmp 0x41c9f1
push esi
push ebx
push 0x41c9a8
call fcn.00432536
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41ca71
push str.CDownloader::Run__unexpected_Error_caught_on_start_main_download_thread.
mov edi, 0xfffffc19
push edi
push esi
call fcn.00418ef0
add esp, 0xc
mov dword [ebp - 0x20], edi
push 0x4615b4
lea eax, [ebp - 0x20]
jmp 0x41c9f1
push edi
mov dword [esi + 0x2e4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x41cade
call fcn.0042f49f
ret
Function at 0x41cc6f
Capabilities:
Check http status code
Connect to http server
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x12c
lea ebp, [esp - 4]
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x12c], eax
push 0x14
mov eax, 0x44aabd
call fcn.0042f433
mov eax, dword [ebp + 0x138]
mov esi, ecx
mov ecx, dword [esi + 0x2c]
xor edi, edi
cmp dword [ecx + 0x2e0], edi
mov dword [ebp - 0x20], esi
je 0x41ccb9
mov dword [esi + 0x4c], 1
xor al, al
jmp 0x41ce50
cmp dword [esi + 0x54], edi
jne 0x41ce4e
mov ecx, dword [esi + 0x28]
push esi
push edi
push 3
push edi
push edi
push 0x50
add ecx, 0x208
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, edi
mov dword [esi + 0x50], eax
jne 0x41cd0a
mov edi, 0xfffffe0a
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_failed_to_create_new_connection__WIN_INET_ERROR:_d
push edi
push dword [esi + 0x2c]
call fcn.00418ef0
add esp, 0x14
jmp 0x41ccb2
mov ecx, dword [esi + 0x2c]
cmp dword [ecx + 0x2e0], edi
jne 0x41ccab
mov ecx, dword [esi + 0x28]
push esi
push 0x84400100
push 0x468cec
push edi
push edi
add ecx, 0x408
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, edi
mov dword [esi + 0x54], eax
jne 0x41cd54
mov edi, 0xfffffe0b
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_failed_to_open_new_Http_request__WIN_INET_ERROR:_d
jmp 0x41ccfc
mov eax, dword [esi + 0x2c]
cmp dword [eax + 0x2e0], edi
jne 0x41ccab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.0041cba4
mov eax, dword [ebp - 0x18]
push edi
push edi
push eax
neg eax
sbb eax, eax
lea ecx, [ebp]
and eax, ecx
push eax
push dword [esi + 0x54]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x41cdb8
mov edi, 0xfffffe70
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_failed_to_send_Http_request__WIN_INET_ERROR:_d
jmp 0x41ccfc
mov eax, dword [esi + 0x2c]
cmp dword [eax + 0x2e0], edi
jne 0x41ccab
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
push dword [esi + 0x54]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41cdfe
mov edi, 0xfffffe6e
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_query_failed_for_a_status_code__WIN_INET_ERROR:__d
jmp 0x41ccfc
cmp dword [ebp - 0x14], 0xc8
je 0x41ce4e
cmp dword [ebp - 0x14], 0xce
je 0x41ce4e
push dword [ebp - 0x14]
mov eax, 0xfffffe6d
push dword [esi + 8]
mov dword [esi + 0x4c], eax
push str.Segment__d:_Invalid_server_responce__HTTP_status_code:__d
push eax
jmp 0x41ccfd
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x12c]
xor ecx, ebp
call fcn.0042d9aa
add ebp, 0x130
leave
ret 4
Function at 0x41d687
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x41d6c4
push 0x4553c8
push 4
push eax
call fcn.00430df8
push eax
call fcn.00402470
add esp, 0x10
jmp 0x41d6d6
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41d741
push edi
call fcn.00432944
mov edi, dword [eax]
call fcn.00432944
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0042fb36
add esp, 0x18
mov ebx, eax
call fcn.00432944
cmp dword [eax], 0
je 0x41d721
call fcn.00432944
push dword [eax]
call fcn.0041d61e
pop ecx
jmp 0x41d728
call fcn.00432944
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41d741
cmp ebx, esi
jae 0x41d741
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41d743
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
leave
ret
Function at 0x422765
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x42277b
mov edi, dword [esi + 0xc]
jmp 0x4227bb
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x422794
call fcn.00429335
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4227a9
call fcn.00429335
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4227bb
call fcn.00429335
call fcn.0041ff0b
cmp dword [eax + 0x3c], 0
je 0x4227d0
push edi
mov ecx, ebx
call fcn.00421717
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042267f
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4227ee
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4227fa
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x427b95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x427bd8
call fcn.0041ff0b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427bd8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x427bf3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042774f
test ebx, ebx
mov esi, eax
je 0x427bf1
test edi, edi
je 0x427bf1
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42a135
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42a163
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42a181
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042a09f
jmp 0x42a181
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42a181
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042a09f
test edi, edi
mov eax, edi
jne 0x42a16b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46d128]
test ecx, ecx
je 0x42a244
jmp 0x42a134
ret 8

Function at 0x42d9aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469930]
jne 0x42d9b4
repz ret
jmp fcn.00437f92