joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431820
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4ab204], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
jne 0x4318e1
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x408]
push 0x100
push eax
call fcn.0046befa
push esi
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0046befa
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x4ab200
push 0
push eax
push 0x431c60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [0x4ab1fc], ecx
test ecx, ecx
je 0x4318b8
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x4ab1fc]
push dword [0x4ab200]
mov eax, dword [ebp - 0x40c]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId_d
mov dword [0x4ab204], eax
call fcn.0045f4c0
mov eax, dword [0x4ab204]
add esp, 0xc
jmp 0x4319cb
push ebx
push edi
push str.before_PostThreadMessage
call fcn.0045f4c0
add esp, 4
push 0
push 0
push 0x12
push dword [0x4ab200]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push 0x64
push dword [0x4ab1fc]
call ebx
mov dword [ebp - 0x414], eax
test eax, eax
je 0x43195e
cmp eax, 0xffffffff
je 0x43195e
call esi
sub eax, edi
cmp eax, 0x7d0
jae 0x43195e
push 0x64
push dword [0x4ab1fc]
call ebx
push eax
push str.MsgWaitDlg____WaitForSingleObject_x
mov dword [ebp - 0x414], eax
call fcn.0045f4c0
mov eax, dword [ebp - 0x414]
add esp, 8
test eax, eax
jne 0x431926
lea eax, [ebp - 0x414]
push eax
push dword [0x4ab1fc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
pop edi
pop ebx
test eax, eax
je 0x4319a4
push dword [ebp - 0x414]
push str.MsgWaitDlg____dwExitCode_x
call fcn.0045f4c0
add esp, 8
cmp dword [ebp - 0x414], 0x103
jne 0x4319a4
push 0
push dword [0x4ab1fc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x4ab1fc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x4ab1fc], 0
mov dword [0x4ab200], 0
mov dword [0x4ab204], eax
push eax
push str.MsgWaitDlg__End__d_
call fcn.0045f4c0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [0x4ab204]
xor ecx, ebp
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x431ea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4a86f0]
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 [0x4c1264]
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 [0x4c1264]
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.0046a330
mov esi, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push dword [esi + 4]
push 0x100
push eax
push 0xf0
push dword [esi]
call fcn.004510f0
add esp, 0x20
test eax, eax
je 0x431f79
push 0
push 0x4c2400
push 0x489b1c
lea eax, [ebp - 0x404]
push 0x100
push eax
call fcn.0042f2e0
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.0046a330
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf1
push dword [esi]
call fcn.004510f0
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x20
test eax, eax
je 0x431fcb
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.004510f0
add esp, 0x14
test eax, eax
je 0x431ffc
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.004510f0
add esp, 0x14
test eax, eax
je 0x43202d
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 0x4320bb
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]
cmp dword [0x4c0e31], 0
je 0x4320d8
cmp dword [0x4c1fc4], 0
je 0x4320d8
push 0
push ebx
call fcn.00436ed0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x432ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484c40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4a86f0]
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 0x432f10
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 0x432f4b
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.0046a57b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x433107
mov dword [ebx], 0xdddd
add ebx, 8
mov dword [ebp - 0x18], ebx
je 0x433107
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.0042ef10
add esp, 0x14
cmp dword [ebp - 0x20], 0xffffffff
jne 0x432f9f
cmp dword [ebp - 0x1c], 0
je 0x432fe5
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 0x432fe5
push edi
push esi
push ebx
call fcn.0046d9e0
add esp, 0xc
test eax, eax
jne 0x432fe5
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x432fc6
sub esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
mov esi, 1
mov dword [ecx + 4], 0
jmp 0x43308c
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.0042ef10
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str.OffSet:__I64d
call fcn.0045f820
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x433024
cmp dword [ebp - 0x1c], 0
je 0x433087
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 0x433087
push str.Readfile_ok
call fcn.0045f820
add esp, 4
push edi
push esi
push dword [ebp - 0x14]
push ebx
call fcn.0042fa10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433087
push str.memmem_ok
call fcn.0045f820
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 0x43308c
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4330d2
push dword [ecx + 4]
push dword [ecx]
push str.CheckFCWFile____Signature__found___offset_I64d_
call fcn.0045f820
add esp, 0xc
jmp 0x4330df
push str.CheckFCWFile____No_signature_found_
call fcn.0045f820
add esp, 4
add ebx, 0xfffffff8
cmp dword [ebx], 0xdddd
jne 0x4330f3
push ebx
call fcn.00469753
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 0x436ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4a86f0]
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.00438db0
test eax, eax
jne 0x436b06
push 0x4c21f7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436b06
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.0045f820
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
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 [0x4c1fee]
mov esi, dword [0x4c1fe6]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
cmp dl, 1
jne 0x436b69
lea esi, [esi + edi*2]
jmp 0x436b73
cmp dl, 2
jne 0x436b73
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 [0x4c1fc0], edi
je 0x436bb9
mov ecx, dword [0x4b8c30]
test ecx, ecx
jne 0x436ba7
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
mov eax, esi
sub eax, ecx
push eax
push 0
push ebx
call fcn.0042e3a0
add esp, 0xc
jmp 0x436bbf
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
mov cl, byte [0x4c1fee]
xor edx, edx
mov eax, 0x50000000
cmp cl, 1
je 0x436bdb
cmp cl, 2
jne 0x436be0
mov edx, 0x200
mov eax, 0x50800000
push 0
push dword [0x4c1264]
push 0
push ebx
push esi
push dword [ebp - 0x70]
push edi
push 0
push eax
push 0x487854
push str.Static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x436c64
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push str.CreateIAMCWindow
push dword [0x4c2c3c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436c47
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 0x436c56
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.0045f820
add esp, 4
xor eax, eax
push eax
push str.CreateIAMCZone____hwndIAMC_d
call fcn.0045f820
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x436d10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a86f0]
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.0046a330
push 0x20
xor edi, edi
call fcn.00468c73
mov esi, eax
add esp, 0x10
test esi, esi
je 0x436d64
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
jmp 0x436d66
xor esi, esi
mov dword [esi + 0xc], 0x4c1fef
mov eax, dword [0x4c1fea]
mov dword [esi], eax
mov dword [esi + 4], 0x4c1fc8
mov eax, dword [0x4c1fe2]
test eax, eax
jne 0x436d89
call fcn.00436c80
mov dword [esi + 8], eax
cmp byte [0x4c1262], 1
jne 0x436d9e
mov dword [esi + 0x10], str.0000_0001
jmp 0x436da5
mov dword [esi + 0x10], str.0000_0003
mov dword [esi + 0x14], edi
cmp word [0x4c21f7], di
je 0x436dfb
push 7
push str.file:__
push 0x4c21f7
call fcn.0046cec7
add esp, 0xc
test eax, eax
je 0x436de2
push str.file:__
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046befa
add esp, 0xc
push 0x4c21f7
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00469454
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.0045f4c0
push dword [esi + 8]
push str.IAMCZone____CountryCode_d
call fcn.0045f4c0
push dword [esi + 4]
push str.IAMCZone____MasterID_s
call fcn.0045f4c0
push dword [esi + 0x10]
push str.IAMCZone____Serial_s
call fcn.0045f4c0
push dword [esi + 0xc]
push str.IAMCZone____Tag_s
call fcn.0045f4c0
push dword [esi + 0x14]
push str.IAMCZone____Priority_d
call fcn.0045f4c0
push dword [esi + 0x18]
push str.IAMCZone____DefaultLocalURL_s
call fcn.0045f4c0
push dword [esi + 0x1c]
push str.IAMCZone____ZoneID_d
call fcn.0045f4c0
add esp, 0x40
push str.AddIAMCZone
push dword [0x4c2c3c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436e94
push esi
push ebx
call eax
add esp, 8
mov edi, eax
jmp 0x436ea1
push str.IAMCZone____Cant_find_the_function_AddIAMCZone_
call fcn.0045f820
add esp, 4
push esi
call fcn.00429520
push edi
push str.IAMCZone____End__d_
call fcn.0045f4c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x438af0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push 0
push 0
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 0
push 0x48bf2c
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x438bb2
cmp dword [0x4c2e50], 0
jne 0x438bb2
push esi
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea eax, [ebp - 4]
push eax
push edi
call fcn.00438c40
mov esi, dword [ebp - 4]
add esp, 8
test esi, esi
je 0x438b60
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x14]
cmp eax, 0x12c
jb 0x438b7f
cmp eax, 0x194
mov esi, 5
mov ecx, 2
cmove esi, ecx
jmp 0x438b8c
push ebx
push edi
call fcn.00438bd0
add esp, 8
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [0x4c2e50], 0
mov eax, 0x4c7
cmovne esi, eax
test ebx, ebx
je 0x438ba8
mov dword [ebx], esi
mov eax, dword [ebp - 8]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push str.HttpOpenRequest
push 0
call fcn.0042e900
add esp, 0x14
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x438bd0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
mov dword [ebp - 8], 4
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x438c1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
mov esi, eax
push str.GetHttpSize
push esi
call fcn.0042e900
add esp, 0x14
jmp 0x438c2c
push dword [ebp - 4]
push str.GetHttpSize___FileSize:__d
call fcn.0045f4c0
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x438c35
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438cc0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.GetInternetConnectedState___Test_cnx_Internet
call fcn.0045f4c0
add esp, 4
lea eax, [ebp - 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x438d78
push esi
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_TRUE_with_dwFlags___x
call fcn.0045f4c0
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
je 0x438d2a
push ebx
push 1
push esi
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push esi
test eax, eax
je 0x438d1d
mov ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x438d22
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.0045f4c0
add esp, 8
pop esi
test bl, 2
jne 0x438d88
push 0
push 1
push str.http:__www.microsoft.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x438d52
push str.http:__www.microsoft.com
or ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x438d80
push 0
push 0
push 0
push str.InternetCheckConnection
push 0
call fcn.0042e900
push str.http:__www.microsoft.com
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.0045f4c0
add esp, 0x1c
jmp 0x438d88
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_FALSE_with_dwFlags___u
call fcn.0045f4c0
add esp, 8
test byte [ebp - 4], 0x53
je 0x438d91
or ebx, 1
push ebx
push str.GetInternetConnectedState___Return__u_with_1CONNECTION_CONFIGURED_and_2CONNECTION_ACTIVED
call fcn.0045f4c0
push str.GetInternetConnectedState___End_cnx_Internet
call fcn.0045f4c0
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439250
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484f7e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x4392a9
mov eax, dword [esi + 0x10]
inc eax
je 0x4392b3
push eax
push esi
push edi
call fcn.00468e10
add esp, 0xc
jmp 0x4392b3
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0043d790
mov dword [esi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x439340
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484f7e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.00428630
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0043d790
mov dword [esi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4852d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x43b514
mov dword [edi], 0x48d0c8
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004440f0
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0043b700
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x4ab46c]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43d870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485638
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x43d995
cmp byte [ebx + 0x45], 0
je 0x43d995
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x43d8c4
xor al, al
jmp 0x43d997
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43d92e
dec eax
je 0x43d932
sub eax, 2
je 0x43d97e
xor bl, bl
jmp 0x43d980
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x43d964
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0046e712
add esp, 0x10
cmp esi, eax
jne 0x43d92a
cmp byte [ebx + 0x45], 0
je 0x43d97e
test esi, esi
jne 0x43d8f4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00440e40
jmp 0x43d8f4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x43d991
push dword [ebp - 0x28]
call fcn.00429520
add esp, 4
mov al, bl
jmp 0x43d997
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 - 0x10]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret