Function at 0x411f2d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47952d
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x49f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0045d570
test al, al
je 0x4121da
cmp byte [edi + 0x34], 0
je 0x4120de
push 1
mov dword [edi + 0xda0], 1
call dword [sym.imp.Sm2Lib.dll_sm2lib_94]
add esp, 4
mov dword [edi + 0xbc], 0
mov ecx, edi
push 0xffffffffffffffff
call fcn.00410f80
push 0
mov ecx, edi
call fcn.004113c0
mov eax, dword [edi + 0xc0]
lea ecx, [edi + 0xc0]
push 0
push 0x2cf0000
push 0x65
mov dword [ebp - 0xa0], ecx
mov dword [edi + 0x18], ecx
call dword [eax + 0x128]
call fcn.004106b0
mov ecx, dword [edi + 0x1c]
xorps xmm0, xmm0
xor edx, edx
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0x98], edx
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x94], ecx
movups xmm0, xmmword [eax + 0xec0]
movups xmmword [ebp - 0x80], xmm0
cmp dword [eax + 0xed0], edx
je 0x411e61
cmp ecx, 2
jne 0x411e50
or edx, ecx
mov dword [ebp - 0x98], edx
jmp 0x411e61
cmp ecx, 1
mov eax, 3
cmove ecx, eax
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x80]
call fcn.0045c830
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x8c]
movups xmm0, xmmword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push eax
push dword [edi + 0xf8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x60], 0x2c
mov dword [ebp - 0x48], ecx
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_SetWindowPlacement]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], vtable.KCommandLineInfo.0
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x493f20]
movups xmmword [ebp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push dword [edi + 0x20]
call fcn.004594a0
mov eax, dword [ebp - 0x24]
cmp eax, 3
ja case.default.0x411f04
jmp dword [eax*4 + 0x4121f8]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
cmp dword [edi + 0x18], 0
jne 0x411f3f
mov dword [edi + 0x18], 0
mov byte [ebp - 0x99], 0
jmp 0x4120a9
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
call eax
cmp dword [edi + 0x18], 0
je case.0x411f04.2
test al, al
jne case.default.0x411f04
mov dword [edi + 0x18], 0
mov byte [ebp - 0x99], 0
jmp 0x4120a9
push dword [edi + 0xf8]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor esi, esi
mov dword [0x4a1930], 0x4a2160
mov dword [0x4a1934], 0x15
mov ecx, 0x4a2168
mov dword [0x4a1944], 0x446c10
xor edx, edx
nop dword [eax]
mov eax, dword [edx + 0x4851d0]
lea ecx, [ecx + 0x18]
mov dword [ecx - 0x18], esi
add edx, 0xc
inc esi
mov dword [ecx - 0x20], eax
mov dword [ecx - 0x14], 0
cmp edx, 0xfc
jb 0x411f90
mov edi, dword [ebp - 0xa0]
mov ecx, dword [edi + 0xc0]
lea esi, [edi + 0xdc]
mov dword [edi + 0xc0], esi
mov eax, esi
test ecx, ecx
je 0x411fe1
push 0
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x412015
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push 0
call dword [eax + 0xec]
mov eax, dword [edi + 0xc0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xc0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.004599b0
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x412028
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 4]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x60], 0x4a1928
cmp dword [esi + 0x60], 0
je 0x412040
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x10]
jmp 0x412043
or eax, 0xffffffff
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.00408bc0
push 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 4
push eax
push 1
push dword [esi + 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0x1c
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp - 0x3c]
push 1
push 0
push dword [esi + 0x38]
mov dword [esi + 0x98], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004599b0
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4120a2
mov eax, dword [ecx]
push 0x9c45
call dword [eax + 4]
mov byte [ebp - 0x99], 1
push dword [ebp - 0x20]
mov dword [ebp - 0x34], vtable.KCommandLineInfo.0
call fcn.004640b0
push dword [ebp - 0x1c]
call fcn.004640b0
push dword [ebp - 0x18]
call fcn.004640b0
push dword [ebp - 0x14]
call fcn.004640b0
mov al, byte [ebp - 0x99]
add esp, 0x10
jmp 0x4121dc
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push dword [edi + 0x38]
call esi
test eax, eax
jne 0x412189
push eax
push dword [edi + 0x40]
call esi
test eax, eax
je 0x41217f
push 0
push 0
push 0
push 2
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x41217f
mov ecx, dword [edi + 0x20]
add eax, 4
je 0x41214c
test ecx, ecx
je 0x41214c
mov edx, 0x104
nop dword [eax]
movzx esi, word [ecx]
test si, si
je 0x412147
mov word [eax], si
dec edx
add eax, 2
add ecx, 2
cmp edx, 1
ja 0x412130
xor ecx, ecx
mov word [eax], cx
push dword [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2710
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [edi + 0x40]
call esi
push dword [edi + 0x38]
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call eax
cmp byte [edi + 0x34], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4121c6
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4121c6
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi + 0x48]
call esi
push dword [edi + 0x40]
call esi
push dword [edi + 0x3c]
call esi
push dword [edi + 0x38]
call esi
push dword [edi + 0x44]
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f9ee
mov esp, ebp
pop ebp
ret