joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40102c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x43a088
call fcn.00432e40
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, ecx
mov eax, dword [esi + 0xc]
cmp eax, edi
jle 0x4011c8
push str.DA8335C5_8EE2_4814_90DF_FBD1A4E802AA_DNS
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x18]
mov dword [ebp - 4], edi
push edi
push 0x1f0001
call dword [0x440108]
push dword [ebp - 0x18]
push 1
push edi
call dword [0x44010c]
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x4011bc
push edi
push eax
call dword [0x440110]
test eax, eax
je 0x40109e
push dword [ebp - 0x20]
call dword [0x440114]
jmp 0x4011bc
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
mov byte [ebp - 0xd], 0x23
call fcn.004012e3
push 0x4530ac
mov byte [ebp - 4], 1
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov edi, eax
pop ecx
call dword [sym.imp.MSVCRT.dll_tmpfile]
test edi, edi
mov dword [ebp - 0x1c], eax
je 0x4011b0
test eax, eax
je 0x4011b0
mov esi, dword [esi + 4]
test esi, esi
je 0x4010f1
mov eax, esi
mov esi, dword [esi]
lea ecx, [eax + 8]
call sub.MFC42.DLL_CString::MakeLower
jmp 0x4010df
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x14]
push eax
push edi
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00401250
test eax, eax
je 0x401184
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebx
call fcn.004011d9
test eax, eax
je 0x401152
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
cmp al, byte [ebp - 0xd]
je 0x401152
push 1
pop eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push eax
push eax
lea eax, [ebp - 0xd]
push eax
call esi
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov eax, dword [ecx - 8]
push eax
push 1
push ecx
call esi
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push edi
call fcn.00401250
test eax, eax
jne 0x401117
cmp dword [ebp - 0x28], eax
je 0x401184
push edi
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.004013b0
call dword [sym.imp.MSVCRT.dll__rmtmp]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push dword [ebp - 0x20]
call dword [0x440118]
push dword [ebp - 0x20]
call dword [0x440114]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4013b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_ftell]
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
push ebx
push ebx
push dword [ebp + 0xc]
call esi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
mov byte [ebp - 0x100], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.MSVCRT.dll_fread]
stosb byte es:[edi], al
mov edi, 0x100
lea eax, [ebp - 0x100]
push edi
push 1
push eax
call esi
add esp, 0x2c
cmp eax, ebx
je 0x401439
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push edi
push 1
push eax
call esi
add esp, 0x20
jmp 0x40140e
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402edd
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x43a403
call fcn.00432e40
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
mov edi, 0x457968
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004326b6
push edi
lea ecx, [esi + 0x24]
mov dword [esi + 0x1c], ebx
mov word [esi + 0x20], bx
call fcn.004326b6
push edi
lea ecx, [esi + 0x28]
call fcn.004326b6
push edi
lea ecx, [esi + 0x2c]
call fcn.004326b6
push edi
lea ecx, [esi + 0x30]
call fcn.004326b6
push 0x10
lea eax, [esi + 8]
push ebx
push eax
mov dword [esi + 0x34], ebx
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a87b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43b6b0
call fcn.00432e40
sub esp, 0x238
push ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Empty
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::Empty
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 1
push ebx
push str.SOFTWARETencentTraveler
push 0x80000002
call dword [0x44000c]
cmp eax, ebx
jne 0x40a926
push 0x200
lea eax, [ebp - 0x244]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x200
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x45415c
push dword [ebp - 0x20]
call dword [0x440010]
cmp eax, ebx
jne 0x40a91d
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0x10]
push eax
call fcn.004326b6
push dword [ebp - 0x20]
call dword [0x440014]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x40a970
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0040a802
push str.TTraveler.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x40a9ce
push 0x24
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x10]
call dword [0x4400c8]
test eax, eax
je 0x40a9c3
cmp dword [ebp - 0x44], 0xffffffff
je 0x40a9c3
cmp dword [ebp - 0x44], 0x10
je 0x40a9c3
cmp dword [ebp - 0x44], 0x800
je 0x40a9c3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
mov dword [ebp - 0x1c], 1
jmp 0x40a9ce
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Empty
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40a9ed
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43b6ec
call fcn.00432e40
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 1
push 2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004329ec
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
mov esi, 0x45418c
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push str.mailto:
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x40aa85
push dword [ebp + 0x10]
push ebx
push ebx
push dword [ebp + 0xc]
push str.open
push dword [ebp + 8]
call dword [0x44086c]
jmp 0x40aae2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::Empty
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0040a87b
mov esi, dword [0x44086c]
cmp eax, ebx
mov edi, str.open
je 0x40aac8
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push edi
push dword [ebp + 8]
call esi
cmp eax, 0x20
jg 0x40aad6
push dword [ebp + 0x10]
push ebx
push ebx
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x418354
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43cdac
call fcn.00432e40
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004183e9
test al, al
jne 0x4183a5
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0041843d
test al, al
je 0x4183a5
mov ecx, esi
call fcn.0041866b
test al, al
jne 0x4183a5
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
jmp 0x4183ac
push 1
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [0x44086c]
cmp eax, 0x20
lea ecx, [ebp - 0x14]
setg byte [ebp - 0xd]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41866b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
xor ebx, ebx
cmp dword [0x457b48], ebx
push edi
jne 0x418717
push esi
push 0xd
pop ecx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x5c]
mov esi, str.SOFTWAREMicrosoftInternet_ExplorerVersion_Vector
lea edi, [ebp - 0x5c]
push ebx
push eax
push 0x80000002
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ebx
call dword [0x44000c]
test eax, eax
pop esi
je 0x4186b1
xor al, al
jmp 0x418723
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x27]
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], 0x1f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x4548bc
push dword [ebp - 8]
call dword [0x440010]
test eax, eax
jne 0x41870e
xor ecx, ecx
cmp dword [ebp - 4], ebx
jle 0x41870e
mov eax, dword [0x457b48]
mov dl, byte [ebp + ecx - 0x28]
cmp dl, 0x2e
je 0x41870e
movzx edx, dl
lea eax, [eax + eax*4]
inc ecx
cmp ecx, dword [ebp - 4]
lea eax, [edx + eax*2 - 0x30]
mov dword [0x457b48], eax
jl 0x4186f0
push dword [ebp - 8]
call dword [0x440014]
xor eax, eax
cmp dword [0x457b48], 7
setge al
pop edi
pop ebx
leave
ret

Function at 0x418727
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43cdec
call fcn.00432e40
sub esp, 0x110
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x41875b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 1
push ebx
push str.command
push dword [ebp + 8]
call dword [0x44000c]
test eax, eax
je 0x418762
xor al, al
jmp 0x418825
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
mov byte [ebp - 0x11c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x103
push eax
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [0x440010]
push dword [ebp - 0x10]
call dword [0x440014]
lea eax, [ebp - 0x11c]
lea ecx, [ebp + 8]
push eax
mov dword [ebp - 0x10], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp + 8]
pop edi
cmp dword [eax - 8], ebx
jle 0x418817
mov al, byte [eax]
cmp al, 0x22
jne 0x418817
push 1
push 0x22
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 1
jl 0x418817
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jge 0x418817
dec eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push 1
push eax
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x41bbbf
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3bc
lea eax, [ebp - 0x3bc]
push eax
push 0x101
call dword [0x440980]
test eax, eax
jne 0x41bc92
cmp byte [ebp - 0x3bc], 1
jne 0x41bc8c
mov al, byte [ebp - 0x3bb]
cmp al, 1
jne 0x41bc8c
push esi
push edi
xor esi, esi
push 0x12c
lea eax, [ebp - 0x12c]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0xff
push eax
call dword [0x440984]
lea eax, [ebp - 0x22c]
push eax
call dword [0x440998]
mov edi, eax
cmp edi, esi
je 0x41bc6c
push ebx
lea ebx, [ebp - 0x12c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x41bc6b
push dword [eax]
call dword [0x440988]
test eax, eax
je 0x41bc6b
push 0x1e
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
inc esi
add ebx, 0x1e
jmp 0x41bc42
pop ebx
call dword [0x44098c]
pop edi
test esi, esi
pop esi
jle 0x41bc92
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push eax
call fcn.004326b6
push 1
pop eax
jmp 0x41bc94
call dword [0x44098c]
xor eax, eax
leave
ret 4

Function at 0x41cd02
Capabilities:
Get session user name

Disassembly:
mov eax, 0x43d1ff
call fcn.00432e40
sub esp, 0xc
push esi
lea ecx, [ebp - 0x10]
push edi
mov edi, dword [section..rdata]
xor eax, eax
push ecx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
call edi
test eax, eax
je 0x41cd39
mov ecx, dword [ebp + 8]
push 0x457968
call sub.MFC42.DLL_CString::CString_1
jmp 0x41cdb8
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
jae 0x41cd44
mov dword [ebp - 0x10], eax
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x10]
push 1
pop esi
inc eax
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::GetBuffer
mov ebx, eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
call edi
pop ebx
lea ecx, [ebp - 0x14]
push dword [ebp + 0xc]
test eax, eax
jne 0x41cd98
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [ebp + 8]
push 0x457968
call sub.MFC42.DLL_CString::CString_1
jmp 0x41cda9
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x41cf6c
Capabilities:
Get file version info

Disassembly:
push esi
mov esi, ecx
call fcn.0041cfde
push dword [esp + 8]
mov ecx, esi
call fcn.0041cf46
push 0
push dword [esi + 0x1c]
call fcn.004331c6
test eax, eax
mov dword [esi + 8], eax
je 0x41cfd0
push eax
call sub.MFC42.DLL_operatornew
test eax, eax
pop ecx
mov dword [esi + 0xc], eax
je 0x41cfd0
push eax
push dword [esi + 8]
push 0
push dword [esi + 0x1c]
call fcn.004331c0
test eax, eax
je 0x41cfc9
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
push 0x456120
push dword [esi + 0xc]
call fcn.004331ba
test eax, eax
jne 0x41cfd4
mov ecx, esi
call fcn.0041cfde
xor eax, eax
jmp 0x41cfda
push 1
pop eax
mov dword [esi + 4], eax
pop esi
ret 4
Function at 0x429f00
Capabilities:
Create http request

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43de80
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x42a047
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 4]
mov ecx, esi
push eax
mov dword [esp + 0x20], 0
call fcn.0042acb0
test eax, eax
jne 0x429f6d
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
xor ecx, ecx
cmp eax, 3
mov edx, dword [esp + 4]
setne cl
dec ecx
push 0x10000000
and ecx, str.127.0.0.1:0
push 0
push ecx
push eax
push edx
call dword [0x440958]
test eax, eax
mov dword [esi + 0x94], eax
jne 0x429fa4
push eax
push eax
call sub.MFC42.DLL_AfxThrowInternetException
mov eax, dword [esi + 0x94]
push 0x42af20
push eax
call dword [0x44095c]
cmp eax, 0xffffffff
jne 0x429fc4
push 0
push 0
call sub.MFC42.DLL_AfxThrowInternetException
push 0
push 0x457bbc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42a006
push esi
mov ecx, 0x457ba0
call sub.MFC42.DLL_CMapPtrToPtr::operator__
lea ecx, [esp + 8]
mov dword [eax], 0
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, esi
call fcn.0042ae70
test eax, eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
jne 0x42a042
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42aad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43df98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CTime::CTime
lea ecx, [esp + 0x38]
push 0x457508
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::Format
lea edx, [esp + 0x20]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
push 0x45645c
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::Format
lea ecx, [esp + 0x24]
push 0x457504
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CTime::Format
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, eax
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push 0x457500
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::Format
lea ecx, [esp + 0x10]
push str._H:_M:_S
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CTime::Format
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str._s___s__s__s__s_GMT
push ecx
mov byte [esp + 0x4c], 9
call sub.MFC42.DLL_CString::Format_1
add esp, 0x1c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push str.If_Modified_Since:__s
push eax
mov byte [esp + 0x3c], 0xa
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
push 0x20000000
push ecx
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call dword [0x440950]
test eax, eax
pop esi
jne 0x42ac33
push eax
push eax
call sub.MFC42.DLL_AfxThrowInternetException
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x42b300
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xd4]
push eax
push ecx
mov ecx, esi
call fcn.0042b830
mov ecx, esi
call fcn.00429eb0
test eax, eax
jne 0x42b332
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret
lea ebp, [esi + 0xa4]
mov ecx, 0xa
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov edx, dword [esi + 0x68]
mov ebx, dword [esi + 0xe4]
mov dword [ebp], 0x28
mov dword [esi + 0xb8], edx
mov eax, dword [esi + 0x64]
cmp eax, ebx
jbe 0x42b362
mov eax, ebx
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x9c]
push esi
push 1
push ebp
push eax
call dword [0x440974]
test eax, eax
jne 0x42b3c6
call dword [0x4400d0]
cmp eax, 0x3e5
je 0x42b392
push eax
push 0
call sub.MFC42.DLL_AfxThrowInternetException
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, esi
call fcn.0042d220
test eax, eax
jne 0x42b40b
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x12c]
cmp edx, eax
jne 0x42b416
mov eax, dword [esi + 0x128]
test eax, eax
je 0x42b3d1
push eax
push 0
call sub.MFC42.DLL_AfxThrowInternetException
jmp 0x42b3d1
mov ecx, esi
call fcn.0042d280
test eax, eax
jne 0x42b40b
mov edi, dword [esi + 0xbc]
test edi, edi
je 0x42b42d
mov edx, dword [esi + 0xe0]
mov eax, dword [esi + 0xb8]
add edx, edi
push edi
push eax
mov ecx, esi
mov dword [esi + 0xe0], edx
sub ebx, edi
call fcn.0042a110
test eax, eax
je 0x42b474
push edi
mov ecx, esi
call fcn.0042b940
jmp 0x42b359
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
pop ecx
ret
push 0x457968
mov ecx, esi
call fcn.0042b210
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret
mov ecx, esi
call fcn.0042a1e0
test eax, eax
je 0x42b474
mov eax, dword [esi + 0xe4]
cmp eax, 0xffffffff
je 0x42b461
cmp eax, dword [esi + 0xe0]
je 0x42b461
push 4
push 3
mov ecx, esi
call fcn.0042a920
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
push 0
push 2
mov ecx, esi
call fcn.0042a920
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 5
push 3
mov ecx, esi
call fcn.0042a920
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret