Function at 0x4101a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov ebx, eax
push edi
mov esi, ecx
test ebx, ebx
jne 0x4101ba
mov ebp, dword [esi + 0xa8]
jmp 0x410241
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4101c0
mov ecx, dword [esi + 0xac]
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esi + 0xb0]
lea edx, [edi + ecx + 1]
cmp edx, eax
jl 0x410212
mov ecx, dword [esi + 0xa8]
lea eax, [eax + edi + 0x4010]
mov dword [esi + 0xb0], eax
add eax, eax
push eax
push ecx
call fcn.004327e4
add esp, 8
test eax, eax
je 0x410712
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
lea edx, [eax + edx*2]
mov eax, edi
mov ecx, ebx
call fcn.00410060
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
lea ebp, [edx + ecx*2]
add ecx, eax
mov dword [esi + 0xac], ecx
test ebp, ebp
je 0x410712
cmp word [ebp], 0
je 0x4105f1
cmp dword [esi + 0x98], 0
mov dword [esi + 0x88], 0
mov ebx, 1
jle 0x410272
mov dword [esi + 0x88], ebx
cmp dword [esi + 0x9c], 0
jle 0x410285
mov dword [esi + 0x88], 2
cmp dword [esi + 0xa0], 0
jle 0x410298
mov dword [esi + 0x88], 3
push 0xe790
push ebp
call fcn.00431793
mov edi, eax
add esp, 8
test edi, edi
je 0x4105d8
cmp ebp, edi
je 0x4102d0
push 0
sub eax, ebp
push 0
mov ecx, ebp
sub ecx, dword [esi + 0xa8]
shr eax, 1
push eax
shr ecx, 1
push ecx
push ebp
mov eax, esi
call fcn.0040faa0
add edi, 2
cmp word [edi], 0x2f
jne 0x41039f
push 5
add edi, 2
push 0x482f64
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x410313
mov edx, dword [esi + 0x94]
lea ebp, [edi + 0xa]
mov dword [esi + 0x8c], edx
cmp word [ebp], 0
jne 0x410254
jmp 0x4105f1
push 2
push 0x482f70
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x410332
dec dword [esi + 0x98]
lea ebp, [edi + 4]
jmp 0x410303
push 2
push 0x482f78
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x410351
dec dword [esi + 0x9c]
lea ebp, [edi + 4]
jmp 0x410303
push 2
push 0x482f80
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x410370
dec dword [esi + 0xa0]
lea ebp, [edi + 4]
jmp 0x410303
movzx eax, word [edi]
mov ebp, edi
test ax, ax
je 0x410303
movzx eax, ax
lea ecx, [ecx]
mov ecx, 0xe791
add ebp, 2
cmp ax, cx
je 0x410303
movzx eax, word [ebp]
test ax, ax
jne 0x410380
jmp 0x4105f1
push 4
push 0x482f88
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x410429
push 8
add edi, 8
push 0x482f94
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x4105a3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
add edi, 0x10
push eax
mov dword [esp + 0x18], edi
call fcn.0040ffc0
mov edi, dword [esp + 0x18]
add esp, 8
test al, al
je 0x4105a3
push 2
push 0x482fa8
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x4105a3
mov ecx, dword [esi + 0x8c]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x94], ecx
mov dword [esi + 0x8c], edx
lea ebp, [edi + 4]
jmp 0x410303
push 7
push 0x482fb0
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x41051a
add edi, 0xe
push 0xe791
push edi
call fcn.00431793
add esp, 8
cmp word [edi], 0x22
mov ebx, eax
jne 0x4105a3
test ebx, ebx
je 0x4105a3
lea eax, [ebx - 2]
cmp eax, edi
jbe 0x4105a3
cmp word [ebx - 2], 0x22
jne 0x4105a3
add ebx, 2
push 0x482fc0
push ebx
add edi, 2
call fcn.00432cee
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4105a3
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x14], ecx
mov edx, ebp
lea ecx, [esp + 0x24]
push ecx
sub edx, ebx
mov eax, ebx
sub eax, dword [esi + 0xa8]
shr edx, 1
push edx
shr eax, 1
push eax
push ebx
mov eax, esi
mov dword [esi + 0x8c], 0xc00000
mov dword [esi + 0x88], 3
call fcn.0040faa0
mov eax, ebx
mov ebx, dword [esp + 0x18]
sub eax, edi
lea ecx, [esp + 0x20]
push ecx
sub eax, 4
shr eax, 1
push edi
call fcn.0040f980
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x88], eax
add ebp, 8
jmp 0x410303
push 2
push 0x482f70
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x41053c
add dword [esi + 0x98], ebx
lea ebp, [edi + 4]
jmp 0x410303
push 2
push 0x482f78
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x41055e
add dword [esi + 0x9c], ebx
lea ebp, [edi + 4]
jmp 0x410303
push 2
push 0x482f80
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x410580
add dword [esi + 0xa0], ebx
lea ebp, [edi + 4]
jmp 0x410303
push 3
push 0x482fcc
push edi
call fcn.004327ad
add esp, 0xc
test eax, eax
jne 0x4105a3
mov eax, esi
lea ebp, [edi + 6]
call fcn.0040fe10
jmp 0x410303
movzx eax, word [edi]
mov ebp, edi
test ax, ax
je 0x410303
movzx eax, ax
jmp 0x4105c0
add ebp, 2
cmp ax, 0x3e
je 0x410303
movzx eax, word [ebp]
test ax, ax
jne 0x4105c0
jmp 0x4105f1
push 0
push 0
mov ecx, ebp
sub ecx, dword [esi + 0xa8]
push 0xffffffffffffffff
shr ecx, 1
push ecx
push ebp
mov eax, esi
call fcn.0040faa0
mov edx, dword [esi + 0x68]
sub edx, dword [esi + 0x60]
mov bl, byte [esi + 0xc4]
add edx, dword [esi + 0x78]
mov ebp, dword [sym.imp.user32.dll_GetSystemMetrics]
cmp edx, dword [esi + 0x58]
jle 0x4106c9
push 2
call ebp
mov edi, eax
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x410657
push eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x10]
push 0
push eax
push ecx
push edi
push 0
sub edx, edi
push edx
push 0x50000001
push 0
push 0x482fd4
push 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esi + 0xc0], eax
jmp 0x410660
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [esi + 0x6c]
xor ecx, ecx
mov byte [esi + 0xc4], 1
mov dword [esp + 0x20], 0x1c
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], ecx
cmp eax, dword [esi + 0x74]
je 0x410688
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x58]
add ecx, eax
add ecx, dword [esi + 0x78]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xbc]
cdq
inc ecx
idiv ecx
push 1
lea edx, [esp + 0x24]
push edx
push 2
add eax, 7
and eax, 0xfffffff8
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0xc0]
push eax
call dword [sym.imp.user32.dll_SetScrollInfo]
jmp 0x4106e3
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4106dc
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov byte [esi + 0xc4], 0
mov al, byte [esi + 0xc4]
cmp bl, al
je 0x410712
test al, al
je 0x4106f7
push 2
call ebp
jmp 0x4106f9
xor eax, eax
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x5c]
add ecx, ecx
sub edx, ecx
sub edx, eax
mov dword [esi + 0x54], edx
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x44
ret