joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1320
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e6b20
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, dword [esp + 0x5c]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x4c135b
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x60]
mov dword [esp + 0x58], ebp
push eax
push 0x519910
push 7
push ebp
push 0x519900
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x4c13af
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4c14c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xa4]
cmp eax, ebp
jge 0x4c13f2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4c14c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
push ebx
push 0xffffffffffffffff
push esi
call fcn.00404d00
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
push 0x5265c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 1
mov word [esp + 0x48], bp
call fcn.00421a60
push 0x5265c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
mov word [esp + 0x38], bp
call fcn.00421a60
mov ebx, 3
push 0x5265c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], bl
mov word [esp + 0x28], bp
call fcn.00421a60
mov word [esp + 0x14], bx
mov dword [esp + 0x1c], 0xe
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
call dword [edx + 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x14]
push edx
mov ebx, eax
call esi
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
lea edx, [esp + 0x44]
push edx
call esi
cmp ebx, ebp
pop ebx
push edi
jge 0x4c14dd
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4c14c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4c14f9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x4c5da0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x4c5e2f
cmp dword [esp + 0x30], ebx
jne 0x4c5dcb
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esi + 0xc]
push ebx
push ebx
push 0x12
push eax
mov dword [esi + 4], 1
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
call edi
test eax, eax
je 0x4c5e0e
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4c5de6
mov ecx, dword [esi + 8]
push 1
push ecx
call ebp
cmp eax, ebx
je 0x4c5e1f
cmp eax, 0xffffffff
jne 0x4c5de6
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
lea eax, [esi + 0xc]
push eax
push ebx
push edi
push 0x4c5e90
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4c5e79
test edi, edi
je 0x4c5e67
push 0xffffffffffffffff
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x4ca4a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e7a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
push edi
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0xc]
push str.cookie.ini
push eax
call fcn.00420140
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x1b8], 0
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
je 0x4ca5f7
mov edx, dword [esp + 8]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x5265c0
push 0x51bc90
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0xc]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x5265c0
push str.totalTime
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0xc]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x5265c0
push str.score
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0xc]
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x14]
push 0x190
push eax
push 0x5265c0
push 0x525018
push str.root
call ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::operator_2
mov dword [esi + 0x2c], 1
pop ebx
lea ecx, [esp + 8]
mov dword [esp + 0x1a4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a0
ret
Function at 0x4cba20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4cba2f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x5250cc]
test eax, eax
je 0x4cba3d
call fcn.004cb8d0
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x4cbb31
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x52cba8]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52cba8]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x52cba8]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52cba8]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x52cba8]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52cba8]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x52cba8]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52cba8]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x4cba57
pop edi
pop ebx
test edx, edx
je 0x4cbb51
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52cba8]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x4cbb35
not eax
pop esi
ret 0xc
Function at 0x4ce480
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4ce4f3
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x4ce4f3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x518854
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov esi, eax
test esi, esi
je 0x4ce4f3
mov edx, esi
sub edx, ebx
test edx, edx
jle 0x4ce4e9
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
inc edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
jne 0x4ce4aa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x4ce500
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], 0x44
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x4ce575
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ce55f
mov ecx, dword [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
pop esi
add esp, 0x54
ret 8

Function at 0x4ce6b0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4ce6ea
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4ce6e5
call fcn.004ce880
test eax, eax
je 0x4ce6dc
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
mov ecx, esi
call fcn.004ce7a0
jmp 0x4ce6ea
call fcn.004ce7d0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0xc], eax
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x4ce670
push 0
push 0
mov dword [esp + 0x20], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4ce74f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4ce73f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x4cf9d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4cfa41
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x4cfa41
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x4cfa2a
jmp 0x4cfa41
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4d0830
Capabilities:
Parse url

Disassembly:
sub esp, 0x948
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.004d16b0
test eax, eax
jl 0x4d0a10
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x159]
mov byte [esp + 0x158], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x95c]
push edx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x15c]
push 0x10000000
push edi
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4d08f7
mov ecx, esi
call fcn.004d1a30
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x948
ret 0xc
mov al, byte [esp + 0x158]
test al, al
jne 0x4d0912
mov byte [esp + 0x158], 0x2f
mov byte [esp + 0x159], 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.004d17f0
mov edi, eax
test edi, edi
jl 0x4d0a07
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edx
mov ecx, esi
call fcn.004d1860
test eax, eax
jl 0x4d09e8
mov eax, dword [esp + 0x964]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x168]
push 0
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, ebp
call fcn.004d0eb0
test eax, eax
jl 0x4d09e8
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push 0
call fcn.004d10a0
mov edi, eax
cmp edi, 1
je 0x4d09ec
xor ebx, ebx
test edi, edi
jge 0x4d0992
cmp edi, 0x80092002
jne 0x4d0a07
mov ebx, 1
mov ecx, dword [esp + 0x960]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d09fe
push ebx
push edi
push esi
mov ecx, ebp
call fcn.004d0a20
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push esi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4d0a03
mov edi, eax
jmp 0x4d0a07
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x948
ret 0xc
mov edi, 0x800401ea
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004d1a30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x948
ret 0xc
Function at 0x4d0a20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x140c
call sub.MFC42.DLL_operatornew
mov ebx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x80004005
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4d0a65
mov ecx, ebp
call fcn.004d0ba0
mov ebx, eax
test ebx, ebx
je 0x4d0b6d
jl 0x4d0b77
xor edi, edi
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov dword [esp + 0x28], edi
jle 0x4d0b11
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4d0a8e
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
call dword [ecx + 4]
cmp ebx, 0x400
mov esi, 0x400
jg 0x4d0a9d
mov esi, ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push eax
push esi
lea edx, [edi + ecx]
lea ecx, [ebp + 0xc]
push edx
call fcn.004d1bf0
test eax, eax
jl 0x4d0b7d
cmp eax, esi
jne 0x4d0b05
mov edx, dword [esp + 0x28]
add edi, esi
add edx, esi
cmp edi, 0x1400
mov dword [esp + 0x28], edx
jge 0x4d0ad6
cmp ebx, esi
jne 0x4d0b03
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0
push eax
push edi
mov edi, dword [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4d0b63
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor edi, edi
sub ebx, esi
test ebx, ebx
jg 0x4d0a77
mov esi, dword [esp + 0x2c]
jne 0x4d0b81
xor edi, edi
cmp esi, edi
je 0x4d0b3f
mov edx, dword [ebp + 8]
lea eax, [esp + 0x18]
push edx
push 2
push eax
lea ecx, [ebp + 0xc]
mov dword [esp + 0x24], edi
call fcn.004d1bf0
cmp eax, edi
jg 0x4d0b43
cmp word [esp + 0x18], 0xd0a
jne 0x4d0b7d
jmp 0x4d0b43
mov dword [esp + 0x10], edi
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x4d0b5a
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
call dword [ecx + 4]
cmp esi, edi
je 0x4d0b81
jmp 0x4d0a46
mov dword [esp + 0x10], 0x800401ea
jmp 0x4d0b81
mov dword [esp + 0x10], 0
jmp 0x4d0b81
mov dword [esp + 0x10], ebx
jmp 0x4d0b81
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x4d0b96
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp]
add esp, 0x10
ret 0xc
Function at 0x4d0c80
Capabilities:
Parse url

Disassembly:
mov eax, 0x1148
call fcn.004cf470
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 0xc]
mov ecx, ebx
call fcn.004d16b0
test eax, eax
jl 0x4d0e98
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x159]
mov byte [esp + 0x158], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x959]
mov byte [esp + 0x958], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [esp + 0x115c]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x14]
mov edx, 0x800
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x95c]
push 0x10000000
push esi
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4d0d67
mov ecx, ebx
call fcn.004d1a30
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x1148
ret 0x1c
lea eax, [esp + 0x10]
push 0x4000000
lea ecx, [esp + 0x15c]
push eax
lea edx, [esp + 0x960]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_UrlEscapeA]
mov al, byte [esp + 0x158]
test al, al
jne 0x4d0da2
mov byte [esp + 0x158], 0x2f
mov byte [esp + 0x159], 0
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.004d17f0
mov esi, eax
test esi, esi
jl 0x4d0e8f
mov esi, dword [esp + 0x1168]
test esi, esi
je 0x4d0dd5
mov eax, dword [esp + 0x116c]
test eax, eax
je 0x4d0dd5
mov edi, 1
jmp 0x4d0dd7
xor edi, edi
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
push 0
push ecx
push edx
mov ecx, ebx
call fcn.004d1860
test eax, eax
jl 0x4d0e85
mov eax, dword [esp + 0x1174]
mov ecx, dword [esp + 0x1170]
mov edx, dword [esp + 0x1164]
push eax
mov eax, dword [esp + 0x1164]
push 0
push ecx
push edx
lea ecx, [esp + 0x168]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, ebp
call fcn.004d0eb0
test eax, eax
jl 0x4d0e85
test edi, edi
je 0x4d0e89
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push 0
call fcn.004d10a0
mov edi, eax
test edi, edi
jl 0x4d0e8d
mov ecx, dword [esp + 0x116c]
mov eax, dword [ecx]
cmp edi, eax
jbe 0x4d0e52
mov edi, eax
test edi, edi
je 0x4d0e78
mov edx, dword [ebp + 8]
mov ecx, ebx
push edx
push edi
push esi
call fcn.004d1bf0
mov esi, eax
sub esi, edi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [esp + 0x116c]
mov dword [eax], edi
jmp 0x4d0e8f
mov eax, dword [esp + 0x116c]
xor esi, esi
mov dword [eax], edi
jmp 0x4d0e8f
mov esi, eax
jmp 0x4d0e8f
xor esi, esi
jmp 0x4d0e8f
mov esi, edi
mov ecx, ebx
call fcn.004d1a30
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1148
ret 0x1c

Function at 0x4d1670
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
add esp, 0x190
ret
Function at 0x4d17f0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0xd]
test al, al
je 0x4d1805
pop edi
mov eax, 0x80004004
pop esi
ret 4
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4d1847
cmp byte [esi], 0
je 0x4d1847
push esi
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [edi + 8], eax
jne 0x4d1840
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x4d1836
pop edi
mov eax, 0x80004005
pop esi
ret 4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [edi + 8], edx
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 0x80070057
pop esi
ret 4

Function at 0x4d1860
Capabilities:
Check for time delay via gettickcount
Connect socket
Get socket status

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x224
test eax, eax
push ebx
push esi
push edi
mov esi, ecx
je 0x4d1888
cmp byte [eax], 0
je 0x4d1888
push eax
mov ecx, esi
call fcn.004d17f0
test eax, eax
jne 0x4d1a15
cmp dword [esi + 4], 0xffffffff
jne 0x4d189d
mov ecx, esi
call fcn.004d16b0
test eax, eax
jne 0x4d1a15
mov al, byte [esi + 0xd]
test al, al
je 0x4d18b5
pop edi
pop esi
mov eax, 0x80004004
pop ebx
add esp, 0x224
ret 0xc
mov ecx, dword [esp + 0x234]
mov eax, dword [esi + 8]
push ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x1c], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x1a], ax
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push 0x10
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x4d1904
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4d1904
cmp eax, 0x2734
jne 0x4d1a10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
mov al, byte [esi + 0xd]
test al, al
jne 0x4d19c5
mov edi, dword [sym.imp.WSOCK32.dll_select]
mov ebx, 1
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x130]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x134], eax
push edx
push ecx
inc eax
push 0
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc350
call edi
cmp eax, 0xffffffff
je 0x4d1a10
test eax, eax
je 0x4d1999
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4d19d6
mov edx, dword [esi + 4]
lea ecx, [esp + 0x12c]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4d1a10
cmp dword [esp + 0x238], 0xffffffff
je 0x4d19ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x238]
sub eax, edx
cmp ecx, eax
jle 0x4d19ff
mov al, byte [esi + 0xd]
test al, al
je 0x4d1924
pop edi
pop esi
mov eax, 0x80004004
pop ebx
add esp, 0x224
ret 0xc
mov al, byte [esi + 0xd]
test al, al
je 0x4d19ee
pop edi
pop esi
mov eax, 0x80004004
pop ebx
add esp, 0x224
ret 0xc
mov byte [esi + 0xc], bl
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x224
ret 0xc
pop edi
pop esi
mov eax, 0x8001011f
pop ebx
add esp, 0x224
ret 0xc
mov eax, 0x80004005
pop edi
pop esi
pop ebx
add esp, 0x224
ret 0xc