Function at 0x1024821
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
push 1
push 0x1725
push 0x10042d8
lea ecx, [ebp - 0x4c]
call fcn.01055826
mov eax, 0x1010420
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
xor edi, edi
lea eax, [ebp - 0xc]
push eax
push 0x100a3d8
push 1
push edi
push 0x100a388
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x1736
jge 0x102488d
mov word [ebp - 0x46], ax
jmp 0x1024b9d
mov esi, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0x100eb94
push dword [esi + 0x2c]
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x1738
jl 0x1024884
mov edx, dword [ebp - 4]
push ebx
mov word [ebp - 0x48], ax
mov edx, dword [edx]
lea ebx, [ebp - 8]
push ebx
lea eax, [esi + 0x158]
push eax
lea ecx, [esi + 0x154]
push ecx
push dword [ebp - 4]
call dword [edx + 0x18]
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x1739
jl 0x1024aa4
mov edx, dword [ebp - 8]
lea ecx, [esi + 0x15c]
mov word [ebp - 0x48], ax
call fcn.0106470b
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x173a
jl 0x1024aa4
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x17f1
push dword [ebp + 0xc]
mov word [ebp - 0x48], ax
call ebx
cmp dword [esi + 0x14], edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x10], eax
je 0x102494e
push 5
push eax
call esi
push 1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 1
push 0x8ae
push dword [ebp + 0xc]
call fcn.0106140f
jmp 0x102495c
push edi
push eax
call esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 8]
add eax, 0x158
cmp dword [eax], edi
jne 0x1024995
mov eax, dword [ebp + 8]
add eax, 0x154
cmp dword [eax], edi
jne 0x1024995
push edi
push 0xbd1
push dword [ebp + 0xc]
call ebx
push eax
call esi
push edi
push 0xbd2
push dword [ebp + 0xc]
call ebx
push eax
call esi
jmp 0x1024b2e
lea ecx, [ebp - 0x28]
call fcn.010635d7
mov eax, dword [ebp + 8]
add eax, 0x158
mov eax, dword [eax]
cmp eax, edi
je 0x1024a28
mov ecx, dword [ebp + 8]
add ecx, 0x154
cmp dword [ecx], edi
je 0x10249db
push 0x17f2
push dword [0x1077408]
lea eax, [ebp - 0x1c]
push eax
call fcn.01064856
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x1751
jmp 0x1024a24
cmp eax, edi
je 0x1024a28
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x1024a03
test byte [eax + 0x1c], 0x80
je 0x1024a03
push 0x1003b90
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016edb
push 0xc1c
push dword [0x1077408]
lea eax, [ebp - 0x1c]
push eax
call fcn.01064856
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x1758
jge 0x1024a6f
jmp 0x1024aa4
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x1024a4c
test byte [eax + 0x1c], 0x80
je 0x1024a4c
push 0x1003b90
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016edb
push 0xc1d
push dword [0x1077408]
lea eax, [ebp - 0x1c]
push eax
call fcn.01064856
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x175e
jl 0x1024aa4
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov word [ebp - 0x48], ax
call fcn.01064416
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
push 0xc1e
push dword [0x1077408]
push eax
call fcn.01064856
add esp, 0x10
mov dword [ebp - 0x4c], eax
cmp eax, edi
mov eax, 0x1762
jge 0x1024aad
mov word [ebp - 0x46], ax
jmp 0x1024b9c
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov word [ebp - 0x48], ax
call fcn.01064416
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push dword [ebp - 0x28]
mov edi, eax
neg edi
sbb edi, edi
xor ecx, ecx
add edi, 0xbd2
test eax, eax
setne cl
push edi
push dword [ebp + 0xc]
add ecx, 0xbd1
mov dword [ebp - 0x10], ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
jne 0x1024b07
call fcn.0105d3b8
mov dword [ebp - 0x4c], eax
mov eax, 0x176a
mov word [ebp - 0x46], ax
xor edi, edi
jmp 0x1024b9c
and dword [ebp - 0x4c], 0
push 5
push edi
push dword [ebp + 0xc]
mov eax, 0x176a
mov word [ebp - 0x48], ax
call ebx
push eax
call esi
push 0
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call ebx
push eax
call esi
xor edi, edi
push 0xbca
push dword [ebp + 0xc]
call ebx
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], edi
je 0x1024b54
cmp dword [eax + 0x124], edi
jne 0x1024b54
push edi
push ebx
call esi
push edi
jmp 0x1024b5b
push 5
push ebx
call esi
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push edi
push edi
push 0x470
push dword [ebp + 0xc]
call esi
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 0x15
push 4
push 0x48a
push dword [ebp + 0xc]
call ebx
push eax
call esi
push 4
push 4
push 0x48b
push dword [ebp + 0xc]
call ebx
push eax
call esi
pop ebx
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
call fcn.010635b3
lea ecx, [ebp - 0x28]
call fcn.010635b3
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x1024bbd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x1024bca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4c]
call fcn.01055a3c
pop edi
mov eax, esi
pop esi
leave
ret 8