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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d322
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x553948]
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
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x50], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0x556c34
call esi
test eax, eax
jne 0x4c269d
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0CommonInstallRoot
push 0x80000002
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040aa40
lea ecx, [ebp - 0x48]
push ecx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 1
call fcn.0041fe50
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c25d3
cmp dword [ebp - 0x38], ebx
je 0x4c25d3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4c25c8
lea eax, [ebp - 0x48]
push eax
call edi
mov byte [ebp - 0x49], 1
test eax, eax
jne 0x4c25d6
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040abf0
cmp byte [ebp - 0x49], bl
je 0x4c25ef
push ebx
push 1
jmp 0x4c265f
push 0x20019
push 0x5354a0
push 0x80000002
lea ecx, [ebp - 0x58]
call fcn.0040aa40
lea edx, [ebp - 0x2c]
push edx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 2
call fcn.0041fe50
test eax, eax
jne 0x4c2641
cmp dword [ebp - 0x1c], ebx
je 0x4c2641
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4c2636
lea eax, [ebp - 0x2c]
push eax
call edi
mov byte [ebp - 0x49], 1
test eax, eax
jne 0x4c2644
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040abf0
push ebx
cmp byte [ebp - 0x49], bl
je 0x4c265d
push 1
jmp 0x4c265f
push 2
push 0x556c34
call esi
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x4c267c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x4c269d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406fa9
add esp, 4
push ebx
push ebx
push 0x556c34
call esi
dec eax
neg eax
sbb eax, eax
inc eax
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.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4c5c20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xb4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xb4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xb4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 5
push edx
call ebx
mov eax, dword [esi + 0xb4]
push 0
push 0
push 7
push eax
call ebx
mov ecx, dword [esi + 0xb4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [esi + 0xad], 0
je 0x4c5ce9
push edi
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4c5ce8
mov edi, dword [esi + 4]
test edi, edi
je 0x4c5ccb
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0x24]
cmp ecx, eax
je 0x4c5cb5
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4c5ccb
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x37f
push ecx
call ebx
cmp eax, 1
je 0x4c5cdf
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0xad], 0
jne 0x4c5c81
pop edi
xor eax, eax
cmp dword [esi + 0xa8], 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c68a0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x4c6912
cmp dword [esi + 0x14], 8
jb 0x4c68bc
mov eax, dword [esi]
jmp 0x4c68be
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4c6912
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004e41d0
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
jb 0x4c68f2
mov esi, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4c6914
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
pop edi
mov dword [edx], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c6e90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d960
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x40]
mov esi, 1
mov dword [ebp - 4], esi
test eax, 0x100000
jne 0x4c6fd0
test eax, 0x20000
je 0x4c6ee2
test eax, 0x10000
je 0x4c6fd0
cmp dword [ebp + 0x18], 0
je 0x4c6fd0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4c6ef8
lea eax, [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsURLW]
push eax
call ebx
test eax, eax
je 0x4c6fd0
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004e41d0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], esi
jae 0x4c6f2f
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edx
push eax
call esi
test eax, eax
je 0x4c6fd0
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4c6f57
cmp eax, 4
jne 0x4c6fd0
cmp dword [ebp + 0x34], 0
je 0x4c6fd0
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x4c6f69
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
je 0x4c6fd0
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004e41d0
mov eax, dword [ebp + 0x24]
add esp, 0xc
cmp dword [ebp + 0x38], 8
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
jae 0x4c6f9a
lea eax, [ebp + 0x24]
mov edx, dword [ebp + 0x34]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edx
push eax
call esi
test eax, eax
je 0x4c6fd0
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x4c6fb8
cmp eax, 4
jne 0x4c6fd0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb8]
push 1
lea eax, [ebp + 8]
push eax
push edx
call fcn.00498fb0
add esp, 0xc
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4c6fe6
mov eax, dword [ebp + 8]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], esi
jb 0x4c700b
mov edx, dword [ebp + 0x24]
push edx
call fcn.00406fa9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x4ccb60
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dd78
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x553948]
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]
mov edi, ecx
cmp byte [edi + 0xaf], 0
je 0x4ccd1b
cmp dword [esi + 0x10], 0
je 0x4ccd1b
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4ccbb8
mov eax, dword [esi]
jmp 0x4ccbba
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4ccd1b
push 0x3c
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004e41d0
mov ecx, dword [esi + 0x10]
mov eax, 1
add esp, 0xc
mov dword [ebp - 0xc0], 0x3c
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xac], eax
cmp dword [esi + 0x14], ebx
jb 0x4ccc03
mov eax, dword [esi]
jmp 0x4ccc05
mov eax, esi
lea edx, [ebp - 0xc0]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ccd1b
mov eax, dword [ebp - 0xb4]
cmp eax, 3
je 0x4ccc32
cmp eax, 4
jne 0x4ccd1b
mov eax, dword [ebp - 0xbc]
xor bl, bl
test eax, eax
je 0x4ccd05
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x4ccd05
cmp dword [ebp - 0xb0], 0
je 0x4ccd05
cmp dword [ebp - 0xac], 0
jbe 0x4ccd05
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004761f0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.004761f0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.004ccae0
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
lea ecx, [edi + 0xbc]
mov byte [ebp - 4], 2
call fcn.004cbb20
lea ecx, [ebp - 0x80]
call fcn.0040a2e0
mov eax, dword [ebp - 0x84]
cmp eax, dword [edi + 0xc0]
je 0x4cccf1
add eax, 0x44
cmp dword [eax + 0x14], 8
jb 0x4ccce1
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, 1
lea ecx, [ebp - 0x48]
call fcn.0040a440
lea ecx, [ebp - 0x2c]
call fcn.0040a440
test bl, bl
jne 0x4ccd1b
cmp dword [esi + 0x14], 8
jb 0x4ccd0d
mov esi, dword [esi]
mov ecx, dword [edi + 0xb4]
push esi
push ecx
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.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x4d2290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x557d38]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4d2458
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d2458
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4d2458
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4d2306
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4d2443
mov edx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x114], edx
cmp cx, ax
jne 0x4d2396
push 3
lea edx, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.004d12d0
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x110]
push eax
mov eax, dword [edx + 4]
push 0
push 0x143
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4d2374
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4d2417
push eax
call fcn.00402d0e
add esp, 4
jmp 0x4d2417
mov edx, 0x1234
cmp dx, ax
jne 0x4d2417
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.004d12d0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4d23ed
push eax
call fcn.00402d0e
add esp, 4
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x40b
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x4d2417
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x4d2300
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x4d46f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.004cd990
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push ebx
push esi
mov dword [ebp - 8], 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4d47be
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x4d4744
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4d47a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4d47a7
push ebx
push edi
call fcn.004d0450
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4d4793
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x4d47b0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4d47b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d47be
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d5080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503d08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x553948]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0x104], 0
mov dword [ebp - 0x30], eax
mov eax, 2
mov dword [esi + 0x128], eax
mov dword [esi + 0x10c], edi
je 0x4d51a7
push 0
push edi
call fcn.004d4b90
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d5174
test edi, edi
je 0x4d50f8
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 5
push ecx
mov byte [esi + 0x124], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call ebx
test eax, eax
je 0x4d515d
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004d10e0
test eax, eax
jne 0x4d5144
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x124], 0
je 0x4d515d
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4d5121
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x4d5174
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004d47d0
mov ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.00406360
cmp dword [ebp - 0x18], 8
jb 0x4d51a1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406fa9
add esp, 4
mov eax, dword [esi + 0x128]
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.00401316
mov esp, ebp
pop ebp
ret 8
Function at 0x4d72e0
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push 0x7f02
push 0
mov ebx, ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4d7309
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], eax
jmp 0x4d7310
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0xb4]
push esi
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [ebx + 0xad], 0
mov edi, eax
je 0x4d737c
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4d737c
call esi
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x4d737c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [ebx + 0xad], 0
jne 0x4d7334
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x4d738c
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
cmp dword [ebx + 0xa8], 1
pop ebx
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4d74e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [esi + 0x10], 0
je 0x4d7566
cmp dword [esi + 0x14], 8
jb 0x4d74fd
mov eax, dword [esi]
jmp 0x4d74ff
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4d7566
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004e41d0
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x3c
jb 0x4d752e
mov eax, dword [esi]
jmp 0x4d7530
mov eax, esi
lea edx, [ebp - 0x3c]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4d7566
cmp dword [ebp - 0x30], 4
jne 0x4d7566
mov eax, 0x1bb
cmp word [ebp - 0x24], ax
jne 0x4d7566
push esi
call fcn.00493c80
mov ecx, eax
call fcn.0049c850
test al, al
mov al, 1
jne 0x4d7568
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d8210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x28], 0
jne 0x4d8297
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov bl, 1
mov byte [esi + 0x28], bl
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x34], 0
test eax, eax
je 0x4d8297
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
je 0x4d8296
test eax, eax
je 0x4d8296
lea edi, [esi + 0x20]
push edi
push 0
push esi
push 0x4d7f20
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi], 0
mov dword [esi + 0x24], eax
je 0x4d8296
test eax, eax
je 0x4d8296
mov byte [esi + 0x29], bl
pop edi
mov bl, byte [esi + 0x29]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x4db3d0
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ee28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [ebp + 8], bl
je 0x4db408
lea ecx, [esi + 4]
call fcn.004dac30
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
sar eax, 2
test eax, eax
jne 0x4db50a
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
push 0x536fac
push 1
push ebx
push 0x53a754
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x4db45d
cmp ecx, ebx
je 0x4db45d
mov edx, dword [ecx]
push ebx
lea eax, [ebp + 8]
push eax
push 0x53a764
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4db4e5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 2
call eax
test eax, eax
jne 0x4db4cc
lea ecx, [ecx]
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [esi + 4]
call fcn.004db2c0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4db4af
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 2
call eax
test eax, eax
je 0x4db490
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4db4df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x4db4f7
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4db50a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dc910
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50efe0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], vtable.BrokerMAPIObject.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ebx
mov dword [ebp - 4], ebx
mov word [esi + 0x1c], cx
xor edx, edx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], dx
mov dword [esi + 0x68], eax
xor eax, eax
mov dword [esi + 0x64], ebx
mov word [esi + 0x54], ax
mov eax, 0xf
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], ebx
mov byte [esi + 0x70], bl
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb8], ebx
mov byte [esi + 0xa8], bl
push str.MAPI32.DLL
mov byte [ebp - 4], 6
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
call fcn.0042bc80
add esp, 4
mov dword [esi + 0xf8], eax
cmp eax, ebx
je 0x4dcad0
push 8
call fcn.004051ca
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4dca70
mov ecx, dword [esi + 0xf8]
push str.MAPIFreeBuffer
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xf8]
push str.MAPIAllocateBuffer
push edx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
jmp 0x4dca72
xor edi, edi
mov ecx, dword [esi + 0xf8]
push str.MAPIInitialize
mov dword [esi + 0xc4], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
call edi
mov edx, dword [esi + 0xf8]
push str.MAPIUninitialize
push edx
mov dword [esi + 4], eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
cmp ecx, ebx
je 0x4dcad0
cmp eax, ebx
je 0x4dcad0
push ebx
call ecx
test eax, eax
mov eax, esi
js 0x4dcadc
mov dword [esi + 0xd0], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov dword [esi + 0xd0], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret