joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c5b2
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov edi, 0x55bd3c
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
jne 0x4aa54a
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push 0x20019
push 0x5338a0
push 0x80000002
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040baf0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push str.Path
mov ecx, eax
mov dword [ebp - 0x44], 1
call fcn.00423870
test eax, eax
jne 0x4aa47e
cmp dword [ebp - 0x30], eax
je 0x4aa47e
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aa47e
mov bl, 1
jmp 0x4aa480
xor bl, bl
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call fcn.0040beb0
test bl, bl
je 0x4aa49a
mov ecx, 1
jmp 0x4aa50e
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push 0x80000002
lea ecx, [ebp - 0x4c]
call fcn.0040baf0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push str.Path
mov ecx, eax
mov dword [ebp - 0x44], 2
call fcn.00423870
test eax, eax
jne 0x4aa4ef
cmp dword [ebp - 0x18], eax
je 0x4aa4ef
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aa4ef
mov bl, 1
jmp 0x4aa4f1
xor bl, bl
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call fcn.0040beb0
mov ecx, 1
test bl, bl
jne 0x4aa50e
mov ecx, 2
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp dword [ebp - 0x14], 8
jb 0x4aa525
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4aa54a
push dword [ebp - 0x40]
call fcn.0040823e
add esp, 4
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
dec eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4b7020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x556620]
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 0x4b7145
cmp byte [ebx + 0x45], 0
je 0x4b7145
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4b7074
xor al, al
jmp 0x4b7147
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 0x4b70de
dec eax
je 0x4b70e2
sub eax, 2
je 0x4b712e
xor bl, bl
jmp 0x4b7130
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 0x4b7114
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004e26ff
add esp, 0x10
cmp esi, eax
jne 0x4b70da
cmp byte [ebx + 0x45], 0
je 0x4b712e
test esi, esi
jne 0x4b70a4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00465590
jmp 0x4b70a4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x4b7141
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
mov al, bl
jmp 0x4b7147
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.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4b7b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507a48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x556620]
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 0x4b7b3c
xor eax, eax
jmp 0x4b7ccc
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x4b7b6a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x4b7b6a
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 0x4b7ccc
cmp dword [ebx + 0x50], 0
jne 0x4b7b78
or eax, 0xffffffff
jmp 0x4b7ccc
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x4b7b99
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 0x4b7bbe
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.004e2335
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x4b7ccc
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 0x4b7cb6
cmp eax, 1
jg 0x4b7c96
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 0x4b7c67
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.004e26ff
add esp, 0x10
cmp esi, eax
jne 0x4b7cb6
lea eax, [ebp - 0x14]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x4b7c91
test esi, esi
jne 0x4b7bf1
cmp dword [ebp - 0x1c], 0x20
jae 0x4b7cb6
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00465590
jmp 0x4b7bf1
mov ebx, dword [ebp + 8]
jmp 0x4b7cb9
cmp eax, 3
jne 0x4b7cb6
push dword [ebx + 0x50]
push dword [ebp - 0x14]
call fcn.004af730
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x4b7cb9
or ebx, 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4b7cca
push dword [ebp - 0x2c]
call fcn.0040823e
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.00401580
mov esp, ebp
pop ebp
ret 4
Function at 0x4c1810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x556620]
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 0x4c1853
mov dword [eax], 0
test esi, esi
je 0x4c185d
mov dword [esi], 0
cmp dword [edi + 0x10], 0
je 0x4c1941
push 0
push edi
call fcn.00419d10
add esp, 8
test al, al
jne 0x4c1941
mov ecx, edi
call fcn.0041e2d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c1941
mov ecx, edi
call fcn.0041e2d0
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x4c1941
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], 0
cmp dword [eax + 0x10], 0
jne 0x4c18ba
xor ecx, ecx
jmp 0x4c18c3
mov ecx, eax
call fcn.0041e2d0
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 0x535b20
push dword [ebp + 0x1c]
push 1
push ecx
mov ecx, edi
call fcn.0041e2d0
cmp byte [ebp - 0x10], 0
mov ecx, str.open
push eax
mov eax, str.runas
cmove eax, ecx
push eax
push dword [ebp - 0x14]
call fcn.0046d270
add esp, 0x28
test al, al
je 0x4c1941
test esi, esi
je 0x4c193f
cmp dword [ebp - 8], 0
je 0x4c193f
push 1
push 0
push 0
call fcn.00447970
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 0x4c193f
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.00401580
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4c26a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5054c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x556620]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x28], 0
mov dword [ebp - 4], 0
jne 0x4c2750
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x28], 1
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
test ecx, ecx
je 0x4c2750
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x2c], eax
call esi
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
je 0x4c2750
test eax, eax
je 0x4c2750
lea esi, [edi + 0x20]
mov dword [esi], 0
push esi
push 0
push edi
push 0x4c1f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x24], eax
je 0x4c2750
test eax, eax
je 0x4c2750
mov byte [edi + 0x29], 1
mov bl, byte [edi + 0x29]
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c4ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.004d1a90
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 0x4c4c6d
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 0x4c4bf9
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 0x4c4c5a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x4c4c5a
push dword [ebp - 4]
push eax
call fcn.004cfaf0
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.004d1c30
mov edi, eax
test edi, edi
jne 0x4c4c41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp ebx, dword [ebp - 8]
je 0x4c4c62
test ebx, ebx
je 0x4c4c62
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4c4c62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4c4c6d
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 0x4c9ee0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x556620]
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 0x4c9f2c
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret 8
push 0
push ebx
call fcn.004c8030
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c9fcc
test ebx, ebx
je 0x4c9f50
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 0x4c9fb6
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004cd0f0
test eax, eax
jne 0x4c9f99
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 0x4c9fb6
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4c9f76
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
test ebx, ebx
je 0x4c9fcc
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004cf1f0
mov ebx, eax
cmp edi, ebx
je 0x4ca008
cmp dword [edi + 0x14], 8
jb 0x4c9fed
push dword [edi]
call fcn.0040823e
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.00407ae0
cmp dword [ebp - 8], 8
jb 0x4ca019
push dword [ebp - 0x1c]
call fcn.0040823e
add esp, 4
mov eax, dword [esi + 0x110]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret 8
Function at 0x4cab10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f14b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x556620]
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 [0x55cf1c]
push 0xf0
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4caccb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4caccb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4caccb
mov edx, 0x1234
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4caccb
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 0x4cac40
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004dead0
add esp, 0xc
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
push 3
push esi
call fcn.004cb9e0
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 0x4cacb8
push eax
call fcn.004039c2
add esp, 4
jmp 0x4cacb8
cmp dx, ax
jne 0x4cacbd
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.004cb9e0
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4cac92
push eax
call fcn.004039c2
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 0x4cab90
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.00401580
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4320
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f990
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x556620]
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 0x4d445e
test eax, 0x20000
je 0x4d4372
test eax, 0x10000
je 0x4d445e
cmp dword [ebp + 0x18], 0
je 0x4d445e
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 0x4d445e
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004dead0
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 0x4d445e
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4d43e4
cmp eax, 4
jne 0x4d445e
cmp dword [ebp + 0x30], 0
je 0x4d445e
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 0x4d445e
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004dead0
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 0x4d445e
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4d444a
cmp eax, 4
jne 0x4d445e
push 1
lea eax, [ebp + 8]
push eax
push dword [edi + 0xbc]
call fcn.00492290
add esp, 0xc
cmp dword [ebp + 0x1c], 8
jb 0x4d446f
push dword [ebp + 8]
call fcn.0040823e
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 0x4d4494
push dword [ebp + 0x20]
call fcn.0040823e
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.00401580
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4d4740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 5
push dword [edi + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xb8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 5
push dword [edi + 0xb8]
call ebx
push 0
push 0
push 7
push dword [edi + 0xb8]
call ebx
push dword [edi + 0xb8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [edi + 0xb1], 0
je 0x4d480d
push esi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4d480c
mov esi, dword [edi + 4]
test esi, esi
je 0x4d47ef
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x24]
cmp ecx, eax
je 0x4d47da
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4d47ef
lea eax, [ebp - 0x20]
push eax
push 0
push 0x37f
push dword [esi + 0x24]
call ebx
cmp eax, 1
je 0x4d4803
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 [edi + 0xb1], 0
jne 0x4d47a6
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi + 0xac], 1
pop edi
sete al
xor ecx, ebp
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret

Function at 0x4d5360
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x556620]
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 0x4d53e9
cmp dword [esi + 0x14], 8
jb 0x4d5388
mov eax, dword [esi]
jmp 0x4d538a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4d53e9
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004dead0
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 1
jb 0x4d53be
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 0x4d53d7
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.00401580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x4d5780
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa89
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x556620]
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 0x4d58f8
cmp dword [esi + 0x14], 8
jb 0x4d57cb
mov eax, dword [esi]
jmp 0x4d57cd
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4d58f8
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004dead0
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.0041fe68
add esp, 0x10
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4d582f
lea ecx, [edi*2 + 2]
push ecx
push 0
push eax
call fcn.004dead0
lea eax, [edi + 1]
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x14], 8
jb 0x4d5837
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 0x4d58e8
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4d5869
cmp eax, 4
jne 0x4d58e8
mov eax, 0x1bb
cmp word [ebp - 0x34], ax
jmp 0x4d586e
cmp word [ebp - 0x34], 0x50
jne 0x4d58e8
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d58be
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4d58be
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.004073d0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x54], 1
call fcn.004d5400
add esp, 4
mov byte [ebp - 0x4d], 0
test al, al
jne 0x4d58c2
mov byte [ebp - 0x4d], 1
test byte [ebp - 0x54], 1
je 0x4d58d9
cmp dword [ebp - 0x58], 8
jb 0x4d58d9
push dword [ebp - 0x6c]
call fcn.0040823e
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 0x4d58f8
push eax
call fcn.00419db5
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.00401580
mov esp, ebp
pop ebp
ret