Function at 0x5bad7a2c
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54c
mov eax, dword [0x5bb70c3c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
xor edx, edx
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x50c], edx
mov eax, dword [ecx + 0x18]
push edi
mov dword [ebp - 0x508], eax
xor eax, eax
cmp dword [ecx + 0x28], edx
lea edi, [ebp - 0x528]
mov dword [ebp - 0x52c], edx
stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x5bad7a95
push edx
push 0xb1
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0xb5
push dword [esi + 4]
call edi
push eax
call ebx
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 1
jne 0x5bad7b8b
lea eax, [ebp - 0x54c]
push eax
push 0xb7
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x54c]
push eax
push dword [esi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x53c]
push eax
push 0xb6
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x53c]
push eax
push dword [esi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
push 0xb6
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0xb7
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0xdac
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0xba
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0xbb
push dword [esi + 4]
call edi
push eax
call ebx
push 0x15
xor eax, eax
push eax
push eax
push dword [ebp - 0x538]
push dword [ebp - 0x53c]
push eax
push 0xb8
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call ebx
push 0x15
xor eax, eax
push eax
push eax
push dword [ebp - 0x548]
push dword [ebp - 0x54c]
push eax
push 0xb9
push dword [esi + 4]
call edi
push eax
call ebx
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0
jne 0x5bad7ba3
movzx eax, byte [eax + 0x10]
and eax, 8
or eax, 0x70
shr eax, 3
jmp 0x5bad7bb1
mov al, byte [eax + 0x10]
and al, 8
neg al
sbb eax, eax
neg eax
add eax, 0x13
movzx eax, ax
push eax
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0x172
push 0xab
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp dword [ebp - 0x508], 0
je 0x5bad7c0a
lea eax, [ebp - 0x50c]
push eax
push 0
push 5
push 0xffffffffffffffff
push dword [ebp - 0x508]
call sub.INETCOMM.dll_MimeOleGetBodyPropA
test eax, eax
mov eax, dword [ebp - 0x50c]
jl 0x5bad7c18
mov dword [ebp - 0x52c], eax
jmp 0x5bad7c18
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x50c], eax
test eax, eax
mov ebx, 0x100
je 0x5bad7c26
cmp byte [eax], 0
jne 0x5bad7c4b
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x10ab
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
mov dword [ebp - 0x50c], eax
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push eax
push 0xac
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x508]
test eax, eax
je 0x5bad7c8c
mov ecx, dword [eax]
lea edx, [ebp - 0x50c]
push edx
push 2
push 1
push eax
call dword [ecx + 0xd0]
test eax, eax
jne 0x5bad7ca8
mov eax, dword [ebp - 0x50c]
mov dword [ebp - 0x528], eax
jmp 0x5bad7c9d
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5bad7ca8
mov eax, dword [eax + 4]
test eax, eax
je 0x5bad7ca8
push eax
push 0xad
push dword [esi + 4]
call edi
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0
push ebx
lea eax, [ebp - 0x104]
push eax
jne 0x5bad7cc0
push 0x1821
jmp 0x5bad7cc5
push 0x1820
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
push 0xb2
push dword [esi + 4]
call edi
mov eax, dword [esi + 0xc]
test byte [eax + 0x10], 8
je 0x5bad7d0d
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x11e2
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
jmp 0x5bad7d10
push dword [eax + 0x14]
push 0xb3
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x508]
test eax, eax
je 0x5bad7d84
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x514]
push edx
push eax
call dword [ecx + 0x28]
cmp dword [ebp - 0x514], 0
jne 0x5bad7d6f
mov eax, dword [ebp - 0x508]
lea edx, [ebp - 0x524]
push edx
push 0
push 0x46
mov word [ebp - 0x524], 0x13
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
test eax, eax
jl 0x5bad7d6f
mov eax, dword [ebp - 0x51c]
mov dword [ebp - 0x514], eax
push ebx
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x514]
call fcn.5baa598a
jmp 0x5bad7db9
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5bad7da0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5bad7da0
push ebx
lea ecx, [ebp - 0x104]
push ecx
push eax
jmp 0x5bad7d7d
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x11e2
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
push 0xaf
push dword [esi + 4]
call edi
xor ecx, ecx
cmp dword [ebp - 0x508], ecx
mov dword [ebp - 0x510], ecx
je 0x5bad7dee
lea eax, [ebp - 0x510]
push eax
push dword [ebp - 0x508]
call fcn.5babcb8f
jmp 0x5bad7e11
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, ecx
je 0x5bad7e32
mov eax, dword [eax + 0x10]
push ecx
push eax
push 0xb5
push dword [esi + 4]
mov dword [ebp - 0x510], eax
call dword [sym.imp.USER32.dll_SetDlgItemInt]
cmp dword [ebp - 0x510], 0
je 0x5bad7e32
push 0
push dword [ebp - 0x510]
push 0xb5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x5bad7e5c
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x11e0
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
push 0xb5
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x508]
test eax, eax
mov word [ebp - 0x524], 0x13
je 0x5bad7e8f
mov ecx, dword [eax]
lea edx, [ebp - 0x524]
push edx
push 0
push 0x36
push eax
call dword [ecx + 0x9c]
test eax, eax
jl 0x5bad7e8f
mov eax, dword [ebp - 0x51c]
jmp 0x5bad7e98
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x14]
dec eax
je 0x5bad7eae
sub eax, 4
je 0x5bad7ea7
mov eax, 0x12e7
jmp 0x5bad7eb3
mov eax, 0x12e5
jmp 0x5bad7eb3
mov eax, 0x12e6
push ebx
lea ecx, [ebp - 0x104]
push ecx
push eax
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
push 0xb7
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x508]
test eax, eax
je 0x5bad7f4a
and word [ebp - 0x504], 0
lea edx, [ebp - 0x524]
push edx
push 0
push 0x34
mov word [ebp - 0x524], 0x40
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
push 0x5bb3ed1a
push 0x5ba8b5d4
push 0x5ba8b5c8
push 2
push 0x200
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x51c]
push eax
call sub.MSOERT2.dll_CchFileTimeToDateTimeW
lea eax, [ebp - 0x504]
push eax
push 0xb9
push dword [esi + 4]
call sub.SHLWAPI.dll_Ordinal_138
jmp 0x5bad7ff0
mov eax, dword [esi + 0xc]
test byte [eax + 0x10], 8
je 0x5bad7fe0
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x11e2
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
push 0xb9
push dword [esi + 4]
call edi
mov eax, dword [esi + 0xc]
test byte [eax + 0x10], 8
je 0x5bad7fb4
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x11e2
push dword [0x5bb73708]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x104]
push eax
push 0xbb
push dword [esi + 4]
call edi
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0x52c]
test ecx, ecx
je 0x5bad7fcd
mov eax, dword [0x5bb73714]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
inc esi
cmp esi, 2
jl 0x5bad7fb6
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.5bb3f314
leave
ret
mov eax, dword [eax + 0x1c]
push dword [eax + 8]
push 0xb9
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x508]
test eax, eax
je 0x5bad7f81
and word [ebp - 0x504], 0
lea edx, [ebp - 0x524]
push edx
push 0
push 0x35
mov word [ebp - 0x524], 0x40
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
push 0x5bb3ed1a
push 0x5ba8b5d4
push 0x5ba8b5c8
push 2
push 0x200
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x51c]
push eax
call sub.MSOERT2.dll_CchFileTimeToDateTimeW
lea eax, [ebp - 0x504]
push eax
push 0xbb
push dword [esi + 4]
call sub.SHLWAPI.dll_Ordinal_138
jmp 0x5bad7fb4