Function at 0x42d640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push esi
push edi
push ecx
lea edi, [ebp - 0x8c]
mov ecx, 0x23
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
je 0x42d671
mov dword [ebp - 0x44], 1
jmp 0x42d678
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42d698
push 0x7cd
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
call fcn.004053b0
test eax, eax
je 0x42d698
int3
cmp dword [ebp - 8], 0
jne 0x42d6a4
call fcn.004d7c10
nop
xor edx, edx
jne 0x42d662
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ecx + 0x178]
mov dword [ebp - 0x48], edx
mov edi, esp
mov ecx, dword [ebp - 0x48]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x48]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
push 0x7d1
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047ca40
nop
cmp dword [ebp - 0xc], 0
jne 0x42d6fa
call fcn.004d7c10
nop
xor ecx, ecx
jne 0x42d6da
cmp dword [ebp + 8], 0
je 0x42d757
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xac], 0
je 0x42d757
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0x50], edx
mov esi, esp
push 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov edi, esp
mov ecx, dword [ebp - 0x54]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x4c]
call dword [ebp - 0x54]
cmp esi, esp
call fcn.00784930
nop
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.004132d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d896
mov ecx, dword [ebp - 4]
add ecx, 0xb0
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.00426140
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0x7db
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0047ca40
nop
cmp dword [ebp - 0x20], 0
jne 0x42d7b6
call fcn.004d7c10
nop
xor edx, edx
jne 0x42d796
mov esi, esp
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xe800
jb 0x42d891
cmp dword [ebp - 0x24], 0xe81f
ja 0x42d891
mov ecx, dword [ebp - 0x24]
sub ecx, 0xe800
mov edx, 1
shl edx, cl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ecx + 0x198]
mov dword [ebp - 0x5c], edx
mov edi, esp
mov ecx, dword [ebp - 0x5c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x20]
call dword [ebp - 0x5c]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x42d83c
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [edx + 0x1a0]
mov dword [ebp - 0x60], eax
mov edi, esp
mov ecx, dword [ebp - 0x60]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x20]
call dword [ebp - 0x60]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x42d878
cmp dword [ebp - 0x24], 0xe81f
je 0x42d891
push 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
and edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
call fcn.0042fdb0
nop
jmp 0x42d76f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], edx
cmp dword [ebp + 8], 0
je 0x42da99
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
je 0x42d8c9
push 0x7ec
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
call fcn.004053b0
test eax, eax
je 0x42d8c9
int3
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xe0], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.004300c0
mov esi, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42d91b
push 0x7f4
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
call fcn.004053b0
test eax, eax
je 0x42d91b
int3
mov esi, esp
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00784930
mov edx, dword [ebp - 4]
cmp dword [edx + 0x100], 1
jne 0x42d957
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x64], eax
jmp 0x42d963
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x104]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42d9c8
push 1
mov ecx, dword [ebp - 4]
call fcn.0041e5e0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x68], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov edi, esp
mov ecx, dword [ebp - 0x6c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x6c]
cmp esi, esp
call fcn.00784930
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x118]
and eax, 0xfffffffe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x118], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x8c]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], 0
push 0x7915
mov ecx, dword [ebp - 4]
call fcn.00429830
nop
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xe900
je 0x42da1b
mov esi, esp
push 0xe900
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42da3c
mov esi, esp
push 0xea21
push 0xfffffffffffffff4
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.00784930
nop
mov esi, esp
push 0xfffffffffffffff0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp esi, esp
call fcn.00784930
and eax, 0x300000
je 0x42da94
push 0x811
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
lea ecx, [ebp - 0x40]
call fcn.00405460
mov dword [ebp - 0x70], eax
mov ecx, 0x888338
call fcn.0041c4b0
mov dword [ebp - 0x74], eax
push str.Warning:_scroll_bars_in_frame_windows_may_cause_unusual_behaviour._n
push 0
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0040bcd0
add esp, 0x10
jmp 0x42dcb7
mov edx, dword [ebp - 4]
mov dword [edx + 0xe0], 0
mov esi, esp
push 0xea21
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42db24
mov esi, esp
push 0xe900
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42db09
mov esi, esp
push 0xea21
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.00784930
nop
mov esi, esp
push 0xe900
push 0xfffffffffffffff4
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.00784930
nop
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42db7f
push 1
mov ecx, dword [ebp - 4]
call fcn.0041e5e0
nop
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x100], 1
jne 0x42db64
mov esi, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetMenu]
cmp esi, esp
call fcn.00784930
nop
jmp 0x42db7f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x100], 2
jne 0x42db7f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + 0x104], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xac], 0
je 0x42dbd2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xac]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xac]
mov eax, dword [edx]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x7c], ecx
mov esi, esp
push 1
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov edi, esp
mov ecx, dword [ebp - 0x80]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x78]
call dword [ebp - 0x80]
cmp esi, esp
call fcn.00784930
nop
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x180]
mov dword [ebp - 0x84], edx
mov esi, esp
push 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov edi, esp
mov ecx, dword [ebp - 0x88]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 4]
call dword [ebp - 0x88]
cmp esi, esp
call fcn.00784930
nop
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x42dc43
mov esi, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42dc55
mov dword [ebp - 0x8c], 1
jmp 0x42dc5f
mov dword [ebp - 0x8c], 0
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0x35], al
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
jne 0x42dc84
push 0x83c
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFCwinfrm.cpp
call fcn.004053b0
test eax, eax
je 0x42dc84
int3
xor eax, eax
jne 0x42dc43
mov esi, esp
push 5
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00784930
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x8c], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.004300c0
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x42dce0]
call fcn.007848d0
pop eax
pop edx
pop edi
pop esi
add esp, 0x8c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8