Function at 0x4215e0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a6a2
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x45c020]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x44f8a4
lea ecx, [esp + 0x9c]
mov dword [esp + 0xec], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0xe8], 1
mov ecx, dword [ebx + 0x18]
mov esi, dword [sym.imp.MSVCR80.dll__itoa]
push 0xa
lea eax, [esp + 0xd4]
push eax
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x9c]
call dword [0x44d25c]
push 0x44f848
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [ebx + 0x1c]
push 0xa
lea eax, [esp + 0xd4]
push eax
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edi, dword [ebp + 8]
cmp edi, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
je 0x4216eb
cmp edi, dword [ebx + 0x40]
je 0x4216eb
cmp edi, dword [ebx + 0x44]
je 0x4216eb
cmp edi, dword [ebx + 0x4c]
je 0x4216eb
cmp edi, dword [ebx + 0x54]
je 0x4216eb
cmp edi, dword [ebx + 0x58]
jne 0x42173d
xor ecx, ecx
cmp dword [ebx + 0x78], ecx
jne 0x421720
mov edx, dword [ebx - 0x40]
mov eax, dword [edx + 8]
lea ecx, [ebx - 0x40]
call eax
movzx edx, byte [ebx + 0x7d]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [ebx + 0x70]
push eax
call fcn.0040e380
add esp, 0xc
mov dword [ebx + 0x78], eax
xor ecx, ecx
sub esi, dword [ebx - 0x30]
cmp byte [ebx + 0x7d], 0
mov dword [esp + 0x18], esi
je 0x421734
sub dword [esp + 0x1c], 0x31
jmp 0x42173f
mov edx, dword [ebx - 0x2c]
add dword [esp + 0x1c], edx
jmp 0x42173f
xor ecx, ecx
cmp edi, dword [ebx + 0x3c]
mov eax, 0xc
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], 9
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
jne 0x421885
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp byte [ebx + 0x7c], 0
je 0x42180d
mov eax, dword [ebx + 0x78]
lea esi, [eax + 0x9c]
mov ecx, 0xc
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x58], 0
jne 0x421809
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0
push 0
add eax, 4
push 0x402
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
jmp 0x421ee1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, 1
sub esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x78]
sub esp, 0x30
mov edi, esp
mov ecx, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], 5
mov dword [esp + 0x7c], 0xa
rep movsd dword es:[edi], dword [esi]
call fcn.0040ea70
mov esi, dword [ebx + 0x3c]
push 0x753d
push 0
mov byte [ebx + 0x7c], 1
call fcn.0040f790
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x40]
jne 0x42195f
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp byte [ebx + 0x7c], 0
je 0x4218e7
mov eax, dword [ebx + 0x78]
lea esi, [eax + 0x9c]
mov ecx, 0xc
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x58], 1
jne 0x4218e3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
call fcn.004258e0
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x421ee1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, 1
sub esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
mov eax, esp
add esi, 0x58
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x78]
sub esp, 0x30
mov edi, esp
mov ecx, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], 5
mov dword [esp + 0x7c], 0xa
rep movsd dword es:[edi], dword [esi]
call fcn.0040ea70
mov esi, dword [ebx + 0x40]
push 0x7540
push 0
mov byte [ebx + 0x7c], 1
call fcn.0040f790
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x44]
jne 0x421a40
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp byte [ebx + 0x7c], 0
mov edx, 2
je 0x4219c5
mov eax, dword [ebx + 0x78]
lea esi, [eax + 0x9c]
mov ecx, 0xc
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x58], edx
jne 0x4219c1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
call fcn.004258e0
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
jmp 0x421ee1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, 1
sub esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
mov eax, esp
add esi, 0x84
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x78]
sub esp, 0x30
mov edi, esp
mov dword [esp + 0x60], edx
mov ecx, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], 5
mov dword [esp + 0x7c], 0xa
rep movsd dword es:[edi], dword [esi]
call fcn.0040ea70
mov esi, dword [ebx + 0x44]
push 0x7543
push 0
mov byte [ebx + 0x7c], 1
call fcn.0040f790
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x4c]
jne 0x421b1b
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp byte [ebx + 0x7c], 0
je 0x421aa2
mov eax, dword [ebx + 0x78]
lea esi, [eax + 0x9c]
mov ecx, 0xc
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x58], 5
jne 0x421a9e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
call fcn.004258e0
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
jmp 0x421ee1
mov esi, dword [esp + 0x18]
mov eax, 5
mov ecx, 1
sub esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
add esi, 0x2c
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x78]
sub esp, 0x30
mov edi, esp
mov ecx, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x68], 3
mov dword [esp + 0x7c], 0xa
rep movsd dword es:[edi], dword [esi]
call fcn.0040ea70
mov esi, dword [ebx + 0x4c]
push 0x7556
push 0
mov byte [ebx + 0x7c], 1
call fcn.0040f790
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x54]
jne 0x421bea
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp byte [ebx + 0x7c], 0
je 0x421b7d
mov eax, dword [ebx + 0x78]
lea esi, [eax + 0x9c]
mov ecx, 0xc
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x58], 4
jne 0x421b79
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
call fcn.004258e0
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
jmp 0x421ee1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 8
mov eax, esp
add esi, 0xb0
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x78]
sub esp, 0x30
mov edi, esp
mov ecx, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x60], 4
mov dword [esp + 0x7c], 0xa
mov dword [esp + 0x80], 2
rep movsd dword es:[edi], dword [esi]
call fcn.0040ea70
mov esi, dword [ebx + 0x54]
push 0x95
push 0
mov byte [ebx + 0x7c], 1
call fcn.0040f790
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x58]
jne 0x421caf
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp byte [ebx + 0x7c], 0
je 0x421c50
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x421c50
lea esi, [eax + 0x9c]
mov ecx, 0xc
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x58], 7
jne 0x421c4c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
call fcn.004258e0
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
jmp 0x421ee1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 8
mov eax, esp
add esi, 0xdc
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x78]
sub esp, 0x30
mov edi, esp
mov ecx, 0xc
lea esi, [esp + 0x60]
mov dword [esp + 0x60], 7
mov dword [esp + 0x78], 2
rep movsd dword es:[edi], dword [esi]
call fcn.0040ea70
mov esi, dword [ebx + 0x58]
push 0x77
push 0
mov byte [ebx + 0x7c], 1
call fcn.0040f790
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x5c]
jne 0x421ccf
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
mov ebx, dword [ebx + 0x70]
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x34]
jne 0x421cef
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
mov ebx, dword [ebx + 0x70]
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
jmp 0x421ee1
cmp edi, dword [ebx + 0x30]
je 0x421ebf
cmp edi, dword [ebx + 0x64]
je 0x421ebf
cmp edi, dword [ebx + 0x28]
je 0x421e73
cmp edi, dword [ebx + 0x68]
je 0x421e73
cmp edi, dword [ebx + 0x6c]
je 0x421e73
cmp edi, dword [ebx + 0x2c]
jne 0x421d38
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
mov ebx, dword [ebx + 0x70]
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
jmp 0x421edb
cmp edi, dword [ebx + 0x60]
jne 0x421e52
lea edi, [ebx - 0x40]
push ecx
call fcn.004214b0
cmp dword [0x45f940], 0
jne 0x421d84
mov esi, dword [ebx + 0x60]
push 0x7569
push 0
call fcn.0040f790
cmp byte [ebx + 0x7c], 0
je 0x421d84
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, eax
call fcn.004258e0
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x7c], 0
mov ecx, dword [0x45fa9c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
sub edi, 0xae
cmp byte [ebx + 0x7d], 0
je 0x421dd2
lea eax, [esi - 0xb8]
test eax, eax
jge 0x421dce
add esi, dword [ebx - 0x2c]
jmp 0x421e0d
mov esi, eax
jmp 0x421e0d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edx, [esp + 0x88]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x24]
sub eax, dword [esp + 0x8c]
lea ecx, [esi + 0xb8]
cmp ecx, eax
jle 0x421e0d
mov esi, dword [esp + 0x1c]
add esi, 0xffffff48
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
mov edx, dword [ebx - 0x40]
mov eax, dword [edx + 8]
lea ecx, [ebx - 0x40]
mov dword [esp + 0x1c], esp
call eax
mov ecx, dword [eax]
mov edx, dword [ebx + 0x60]
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [ebx + 0x70]
push eax
call fcn.004129a0
add esp, 0x14
jmp 0x421ee1
cmp edi, dword [ebx + 0x38]
jne 0x421ee1
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
mov ebx, dword [ebx + 0x70]
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
mov ecx, ebx
call eax
jmp 0x421ee1
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
cmp dword [0x45fa9c], 0
je 0x421ee1
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 0x6c]
jne 0x421ea4
mov dword [0x46045c], 6
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x421ee1
cmp eax, dword [ebx + 0x68]
jne 0x421eb3
mov dword [0x46045c], 7
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x421ee1
push 1
lea edi, [ebx - 0x40]
call fcn.004214b0
mov dword [0x46045c], 9
mov ebx, dword [ebx + 0x70]
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push 0
mov ecx, ebx
call eax
lea ecx, [esp + 0x98]
mov byte [esp + 0xe8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb4]
mov dword [esp + 0xe8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0044664e
mov esp, ebp
pop ebp
ret 4