Function at 0x1003b720
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084770
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x100bb500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x28], ebx
lea eax, [ebx + 0x24]
mov dword [ebp - 4], 0
push eax
push dword [ebx + 4]
call fcn.10019050
add esp, 8
push 0x65
push dword [0x100bfa5c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
je 0x1003b79a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x80
push dword [ebx + 4]
call esi
push edi
push 1
push 0x80
push dword [ebx + 4]
call esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
call fcn.1003e260
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1003b7be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x1008c0e4
push 0
call fcn.1003a330
mov esi, eax
test esi, esi
jns 0x1003b827
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push 0x79
push esi
push eax
call fcn.10033400
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x1003b7ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test eax, eax
je 0x1003b810
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1003b850
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x100930f4
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x1003b85b
xor esi, esi
jmp 0x1003b863
push eax
call sym.ADAL.dll_ADALGetContext
mov esi, eax
push 0
push esi
mov byte [ebp - 4], 4
call sym.ADAL.dll_ADALUICreateHostUIHandler
mov edi, eax
xor ecx, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], ecx
test edi, edi
je 0x1003b898
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
push 0x10093514
push edi
call dword [ecx]
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1003b9ce
mov eax, dword [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
cmp byte [0x100bf70c], 0
jne 0x1003b90d
push 0
push esi
mov byte [ebp - 4], 6
call sym.ADAL.dll_ADALUICreateHostServiceProvider
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1003b9ce
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10038150
mov eax, dword [ebp - 0x14]
mov edx, 0xdc
mov esi, dword [ebp - 0x2c]
test eax, eax
push esi
lea ecx, [eax + 0xb8]
cmove ecx, edx
call fcn.10038ca0
test esi, esi
je 0x1003b900
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
push ecx
mov byte [ebp - 4], 5
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x1003b91d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0
push 0
push 0x1009b058
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov eax, dword [esi]
push ecx
push 0
push dword [ebx + 4]
push str.about:blank
push esi
call dword [eax + 0x28]
mov esi, eax
test esi, esi
jns 0x1003b95a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push 0x87
push esi
push eax
jmp 0x1003b9e1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x2c]
call fcn.100381a0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test eax, eax
je 0x1003b977
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
test edi, edi
je 0x1003b985
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x1003b996
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x1003b9a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test eax, eax
je 0x1003b9b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push 0x7a
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.10033400
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [ebp - 4], 4
test eax, eax
je 0x1003b9fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
test edi, edi
je 0x1003ba08
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x1003b7ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003b7ee