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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529038
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x579630]
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
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x4cf02c
xor eax, eax
jmp 0x4cf1bc
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x4cf05a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x4cf05a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x4cf1bc
cmp dword [ebx + 0x50], 0
jne 0x4cf068
or eax, 0xffffffff
jmp 0x4cf1bc
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x4cf089
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x4cf0ae
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.004fc544
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x4cf1bc
mov byte [ebp - 0x14], cl
lea eax, [ebp - 0x2c]
mov ecx, 0xf
mov byte [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
cmp ecx, 0x10
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x13]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x4cf1a6
cmp eax, 1
jg 0x4cf186
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x4cf157
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.004fc90e
add esp, 0x10
cmp esi, eax
jne 0x4cf1a6
lea eax, [ebp - 0x14]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x4cf181
test esi, esi
jne 0x4cf0e1
cmp dword [ebp - 0x1c], 0x20
jae 0x4cf1a6
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00471550
jmp 0x4cf0e1
mov ebx, dword [ebp + 8]
jmp 0x4cf1a9
cmp eax, 3
jne 0x4cf1a6
push dword [ebx + 0x50]
push dword [ebp - 0x14]
call fcn.004c59f0
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x4cf1a9
or ebx, 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4cf1ba
push dword [ebp - 0x2c]
call fcn.004085be
add esp, 4
mov eax, ebx
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.00401590
mov esp, ebp
pop ebp
ret 4
Function at 0x4d8cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov dword [ebp - 0x1c], eax
xor bl, bl
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4d8cf3
mov dword [eax], 0
test esi, esi
je 0x4d8cfd
mov dword [esi], 0
cmp dword [edi + 0x10], 0
je 0x4d8de1
push 0
push edi
call fcn.0041f410
add esp, 8
test al, al
jne 0x4d8de1
mov ecx, edi
call fcn.00423ea0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d8de1
mov ecx, edi
call fcn.00423ea0
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x4d8de1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], 0
cmp dword [eax + 0x10], 0
jne 0x4d8d5a
xor ecx, ecx
jmp 0x4d8d63
mov ecx, eax
call fcn.00423ea0
mov ecx, eax
push 0
xor edx, edx
lea eax, [ebp - 8]
test esi, esi
cmove eax, edx
push eax
push dword [ebp - 0xc]
push str.exefile
push dword [ebp + 0x1c]
push 1
push ecx
mov ecx, edi
call fcn.00423ea0
cmp byte [ebp - 0x10], 0
mov ecx, str.open
push eax
mov eax, 0x555a64
cmove eax, ecx
push eax
push dword [ebp - 0x14]
call fcn.0047b220
add esp, 0x28
test al, al
je 0x4d8de1
test esi, esi
je 0x4d8ddf
cmp dword [ebp - 8], 0
je 0x4d8ddf
push 1
push 0
push 0
call fcn.00450d40
add esp, 4
push eax
mov eax, dword [ebp - 0x1c]
push esi
mov eax, dword [eax + 4]
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4d8ddf
mov dword [esi], eax
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401590
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4dcd60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.004e9830
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
push 5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4dce2d
push 0xf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
mov dword [ebp - 4], edi
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
test ecx, ecx
je 0x4dcdb9
push ecx
push ebx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 8]
xor esi, esi
push ebx
call eax
test eax, eax
je 0x4dce1a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x4dce1a
push dword [ebp - 4]
push eax
call fcn.004e7dd0
add esp, 8
mov ebx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.004e99d0
mov edi, eax
test edi, edi
jne 0x4dce01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp ebx, dword [ebp - 8]
je 0x4dce22
test ebx, ebx
je 0x4dce22
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4dce22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4dce2d
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e2260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0xec], 0
mov dword [esi + 0x110], 2
mov dword [esi + 0xf4], ebx
jne 0x4e22ac
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret 8
push 0
push ebx
call fcn.004e0410
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e234c
test ebx, ebx
je 0x4e22d0
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [esi + 4]
mov byte [esi + 0x10c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4e2336
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004e5240
test eax, eax
jne 0x4e2319
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x10c], 0
je 0x4e2336
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4e22f6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
test ebx, ebx
je 0x4e234c
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004e74a0
mov ebx, eax
cmp edi, ebx
je 0x4e2388
cmp dword [edi + 0x14], 8
jb 0x4e236d
push dword [edi]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.00407e60
cmp dword [ebp - 8], 8
jb 0x4e2399
push dword [ebp - 0x1c]
call fcn.004085be
add esp, 4
mov eax, dword [esi + 0x110]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401590
mov esp, ebp
pop ebp
ret 8
Function at 0x4e2d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a9fb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x579630]
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 dword [ebp - 0x13c], ecx
mov eax, dword [ebp + 8]
mov edi, 1
mov esi, dword [0x581038]
push 0xf0
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4e2f2b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e2f2b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4e2f2b
mov edx, 0x1234
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4e2f2b
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x140], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x4e2ea0
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004f9050
add esp, 0xc
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
push 3
push esi
call fcn.004e3c30
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x13c]
push 0
push 0x143
push ebx
push dword [eax + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x114]
cmove edi, ecx
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x4e2f18
push eax
call fcn.004039d2
add esp, 4
jmp 0x4e2f18
cmp dx, ax
jne 0x4e2f1d
push 3
lea eax, [ebp - 0x240]
mov dword [ebp - 0x138], 1
push esi
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x244], eax
call fcn.004e3c30
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4e2ef2
push eax
call fcn.004039d2
add esp, 4
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x13c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x140]
test edi, edi
jne 0x4e2df0
mov eax, edi
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.00401590
mov esp, ebp
pop ebp
ret 4
Function at 0x4ed6d0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b420
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 1
test eax, 0x100000
jne 0x4ed80e
test eax, 0x20000
je 0x4ed722
test eax, 0x10000
je 0x4ed80e
cmp dword [ebp + 0x18], 0
je 0x4ed80e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4ed80e
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp + 8]
mov dword [ebp - 0x44], 1
cmovae eax, dword [ebp + 8]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ed80e
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4ed794
cmp eax, 4
jne 0x4ed80e
cmp dword [ebp + 0x30], 0
je 0x4ed80e
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4ed80e
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp + 0x20]
mov dword [ebp - 0x44], 1
cmovae eax, dword [ebp + 0x20]
push ecx
push 0
push dword [ebp + 0x30]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ed80e
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4ed7fa
cmp eax, 4
jne 0x4ed80e
push 1
lea eax, [ebp + 8]
push eax
push dword [edi + 0xd0]
call fcn.004a4550
add esp, 0xc
cmp dword [ebp + 0x1c], 8
jb 0x4ed81f
push dword [ebp + 8]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x4ed844
push dword [ebp + 0x20]
call fcn.004085be
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4edfb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 5
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 5
push dword [edi + 0xcc]
call ebx
push 0
push 0
push 7
push dword [edi + 0xcc]
call ebx
cmp byte [ebp + 8], 0
je 0x4ee012
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x57da28]
test eax, eax
jne 0x4ee02f
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xc2], 0
mov dword [ebp - 0x24], eax
je 0x4ee103
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push esi
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
ja 0x4ee102
test eax, eax
je 0x4ee0f8
cmp eax, 1
jne 0x4ee0e4
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x4ee0e9
mov esi, dword [edi + 4]
test esi, esi
je 0x4ee0bc
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x24]
cmp ecx, eax
je 0x4ee0a3
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4ee0bc
lea eax, [ebp - 0x20]
push eax
push 0
push 0x37f
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x4ee0d0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x4ee083
jmp 0x4ee0e9
cmp eax, 0xffffffff
je 0x4ee0f8
cmp byte [edi + 0xc2], 0
jne 0x4ee046
jmp 0x4ee102
mov dword [edi + 0xbc], 2
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi + 0xbc], 1
pop edi
sete al
xor ecx, ebp
pop ebx
call fcn.00401590
mov esp, ebp
pop ebp
ret 4

Function at 0x4eee60
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
je 0x4eeee9
cmp dword [esi + 0x14], 8
jb 0x4eee88
mov eax, dword [esi]
jmp 0x4eee8a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4eeee9
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004f9050
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 1
jb 0x4eeebe
mov esi, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov ecx, eax
test ecx, ecx
je 0x4eeed7
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00401590
mov esp, ebp
pop ebp
ret
Function at 0x4ef280
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b5c9
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x579630]
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 esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x54], 0
cmp dword [esi + 0x10], 0
je 0x4ef3f8
cmp dword [esi + 0x14], 8
jb 0x4ef2cb
mov eax, dword [esi]
jmp 0x4ef2cd
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4ef3f8
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004f9050
mov edi, dword [esi + 0x10]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x4c], 0x3c
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00425c1e
add esp, 0x10
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4ef32f
lea ecx, [edi*2 + 2]
push ecx
push 0
push eax
call fcn.004f9050
lea eax, [edi + 1]
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x14], 8
jb 0x4ef337
mov esi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
push 0
push edi
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ef3e8
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4ef369
cmp eax, 4
jne 0x4ef3e8
mov eax, 0x1bb
cmp word [ebp - 0x34], ax
jmp 0x4ef36e
cmp word [ebp - 0x34], 0x50
jne 0x4ef3e8
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ef3be
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4ef3be
push ecx
xor edx, edx
mov dword [ebp - 0x58], 7
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], dx
call fcn.00407750
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x54], 1
call fcn.004eef00
add esp, 4
mov byte [ebp - 0x4d], 0
test al, al
jne 0x4ef3c2
mov byte [ebp - 0x4d], 1
test byte [ebp - 0x54], 1
je 0x4ef3d9
cmp dword [ebp - 0x58], 8
jb 0x4ef3d9
push dword [ebp - 0x6c]
call fcn.004085be
add esp, 4
cmp byte [ebp - 0x4d], 0
mov eax, 1
movzx ebx, bl
cmove ebx, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ef3f8
push eax
call fcn.0041d0a7
add esp, 4
mov al, bl
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.00401590
mov esp, ebp
pop ebp
ret
Function at 0x4ef5c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b64b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x579630]
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 byte [ebx + 0xc4], 0
mov edi, dword [ebp + 8]
je 0x4ef773
cmp dword [edi + 0x10], 0
je 0x4ef773
cmp dword [edi + 0x14], 8
jb 0x4ef614
mov eax, dword [edi]
jmp 0x4ef616
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4ef773
push 0x3c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0x7c], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x68], 1
jb 0x4ef654
mov eax, dword [edi]
jmp 0x4ef656
mov eax, edi
lea ecx, [ebp - 0x7c]
push ecx
push 0
push dword [edi + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ef773
mov eax, dword [ebp - 0x70]
cmp eax, 3
je 0x4ef67f
cmp eax, 4
jne 0x4ef773
mov eax, dword [ebp - 0x78]
mov byte [ebp - 0x7d], 0
test eax, eax
je 0x4ef75e
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x4ef75e
cmp dword [ebp - 0x6c], 0
je 0x4ef75e
cmp dword [ebp - 0x68], 0
jbe 0x4ef75e
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00485590
push dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push dword [ebp - 0x6c]
call fcn.00485590
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x84], 0
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004ea2b0
add esp, 0xc
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0xe4]
call fcn.0040bb40
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.0040d4f0
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebx + 0xe4]
je 0x4ef741
add eax, 0x40
cmp dword [eax + 0x14], 8
jb 0x4ef730
mov eax, dword [eax]
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 0x7d], 1
lea ecx, [ebp - 0x28]
call fcn.004087d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004087d0
cmp byte [ebp - 0x7d], 0
jne 0x4ef773
cmp dword [edi + 0x14], 8
jb 0x4ef766
mov edi, dword [edi]
push edi
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
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.00401590
mov esp, ebp
pop ebp
ret 4
Function at 0x4f0c80
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x7f02
push 0
mov ebx, ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4f0cb0
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4f0cb2
xor eax, eax
push esi
push edi
push 0
push dword [ebx + 0xcc]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [ebx + 0xc2], 0
mov edi, eax
je 0x4f0d1f
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4f0d1f
call esi
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x4f0d1f
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [ebx + 0xc2], 0
jne 0x4f0cd8
mov eax, dword [ebp - 0x24]
pop edi
pop esi
test eax, eax
je 0x4f0d2f
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0xbc], 1
pop ebx
sete al
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret

Function at 0x4f0d50
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [esi + 0x10], 0
je 0x4f0dfc
cmp dword [esi + 0x14], 8
jb 0x4f0d7b
mov eax, dword [esi]
jmp 0x4f0d7d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4f0dfc
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [esi + 0x14], 8
jb 0x4f0da9
mov eax, dword [esi]
jmp 0x4f0dab
mov eax, esi
lea ecx, [ebp - 0x40]
push ecx
push 0
push dword [esi + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4f0dfc
cmp dword [ebp - 0x34], 4
jne 0x4f0dfc
mov eax, 0x1bb
cmp word [ebp - 0x28], ax
jne 0x4f0dfc
push esi
call fcn.00418a00
mov ecx, eax
call fcn.004b3140
test al, al
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pop esi
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00401590
mov esp, ebp
pop ebp
ret