Function at 0x48b920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 1
mov dword [0x5318a0], 0
mov dword [0x5318a4], 0
mov dword [0x531878], 0
mov dword [0x531880], 0
mov dword [0x53188c], 0
mov dword [0x531890], 0
mov dword [0x531898], 1
mov dword [0x53189c], 0
mov dword [0x531894], 0
mov dword [0x531870], 0
cmp dword [ebp + 0x1c], 0
je 0x48b9ee
test byte [0x52d007], 4
je 0x48b9ee
mov dword [0x5318a8], 1
jmp 0x48b9f8
mov dword [0x5318a8], 0
push 1
call fcn.0049c470
add esp, 4
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x48ba25
mov eax, 1
jmp 0x48c2b8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x56], 0x1388
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x5a], 0x1388
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x9a], 0xa
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x9e], 0xa
push 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xde]
push eax
push 0
mov eax, dword [ebp - 0x40]
push eax
call fcn.0046ee16
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48ba8c
jmp 0x48c080
mov dword [ebp - 0x38], 0
jmp 0x48ba9b
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x1e
jge 0x48bac5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov dword [ecx*8 + 0x52dc20], eax
mov eax, dword [ebp - 0x38]
mov dword [eax*8 + 0x52dc24], 5
jmp 0x48ba98
mov eax, dword [ebp - 0x40]
add eax, 0x1be
push eax
push 0x68
push 0x64
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48baf3
jmp 0x48c080
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x1be]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x1be]
push eax
call fcn.004796fa
add esp, 4
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x1be]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x67
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047aaec
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bb91
jmp 0x48c080
push 0x68
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047aaec
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bbb4
jmp 0x48c080
push 0x65
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047aaec
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bbda
mov eax, dword [ebp - 0x2c]
jmp 0x48c2b8
push 0x66
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047aaec
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bc00
mov eax, dword [ebp - 0x2c]
jmp 0x48c2b8
push 0xfffe
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x531878], eax
mov eax, dword [0x531878]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bc32
jmp 0x48c080
mov eax, dword [0x531878]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x531874], eax
push 0x7148
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x531880], eax
mov eax, dword [0x531880]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bc75
jmp 0x48c080
mov eax, dword [0x531880]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x53187c], eax
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48bcfa
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x48bcf0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x210], 0
jl 0x48bcf0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x210]
mov dword [ebp - 0x50], eax
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll__llseek]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x20], 0
je 0x48bd3a
push 0x40
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e483d
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
call fcn.004e3c2e
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bd3a
jmp 0x48c080
mov eax, dword [ebp - 0x50]
push eax
call fcn.0048c2bd
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bd58
jmp 0x48c080
cmp dword [ebp - 8], 0x6001
je 0x48be3e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x50]
push eax
call fcn.00494089
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bd8b
jmp 0x48be3e
mov eax, dword [ebp - 8]
mov dword [ebp - 0xe4], eax
jmp 0x48be05
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.0048c622
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0
jmp 0x48be2a
cmp dword [ebp - 0x34], 0
je 0x48bdce
mov dword [ebp - 0x2c], 0x5e1
jmp 0x48c080
cmp dword [ebp - 0x24], 0
je 0x48bdef
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0048ca3b
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
jmp 0x48be2a
cmp dword [ebp - 0xe4], 0x4003
je 0x48bdb8
cmp dword [ebp - 0xe4], 0x4005
je 0x48bd99
jmp 0x48be2a
cmp dword [ebp - 0x2c], 0
je 0x48be39
jmp 0x48be3e
jmp 0x48bd58
cmp dword [ebp - 0x2c], 0
je 0x48be4d
jmp 0x48c080
cmp dword [ebp - 4], 0
je 0x48be9a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
cmp dword [0x531898], 0
jne 0x48be83
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x220], 1
jmp 0x48be90
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x220], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp + 0x10], 0
je 0x48c03e
push 1
push 1
mov eax, dword [ebp - 0x40]
push eax
call fcn.004ad68d
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bec6
jmp 0x48c080
lea eax, [ebp - 0x48]
push eax
push 0x66
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047a899
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48beed
jmp 0x48c080
mov dword [ebp - 0x38], 0
jmp 0x48befc
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x48], eax
jle 0x48c03e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x38]
push eax
push 0x66
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047a9aa
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bf33
jmp 0x48c080
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0x66
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48bf5e
jmp 0x48c080
mov dword [ebp - 0x3c], 0
jmp 0x48bf6d
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0x1e
jge 0x48c021
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004d96e6
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48c010
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jne 0x48c010
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xc]
add eax, 0x50
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax + 4], 0
jl 0x48c010
mov dword [ebp - 0x44], 0
jmp 0x48bfcb
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
cmp dword [eax + 8], ecx
jle 0x48c010
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x26]
push eax
call fcn.0047554d
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48c00b
jmp 0x48c080
jmp 0x48bfc8
mov eax, dword [ebp - 0x10]
push eax
call fcn.004d9749
add esp, 4
jmp 0x48bf6a
mov eax, dword [ebp - 0x10]
push eax
call fcn.004796fa
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.0047947b
add esp, 4
jmp 0x48bef9
push 1
push 0xffffffffffffffff
push 0x6c
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00462894
add esp, 0x14
push 0
push 0xffffffffffffffff
push 0x6a
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00462894
add esp, 0x14
push 0
push 0xffffffffffffffff
push 0x6e
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00462894
add esp, 0x14
cmp dword [0x531878], 0
je 0x48c0af
mov eax, dword [0x531878]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [0x531878]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x531878], 0
cmp dword [ebp - 0x20], 0
je 0x48c0cd
cmp dword [ebp - 0x50], 0
jl 0x48c0cd
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
cmp dword [ebp - 0x2c], 0
jne 0x48c162
cmp dword [0x531898], 0
jne 0x48c0f0
mov eax, dword [ebp - 0x40]
push eax
call fcn.0049c325
add esp, 4
cmp dword [0x531898], 0
je 0x48c126
cmp dword [0x5318a0], 0
jne 0x48c117
cmp dword [0x5318a4], 0
je 0x48c126
mov eax, dword [ebp - 0x40]
push eax
call fcn.00498ae4
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x48c162
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049517e
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x48c162
cmp dword [ebp - 0x2c], 0xffffffff
je 0x48c162
mov dword [ebp - 0x2c], 0x5e3
cmp dword [ebp - 0x2c], 0
jne 0x48c18c
cmp dword [0x531898], 0
je 0x48c18c
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049a311
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [0x531880], 0
je 0x48c1bb
mov eax, dword [0x531880]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [0x531880]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x531880], 0
cmp dword [ebp - 0x2c], 0
je 0x48c27d
cmp dword [ebp - 0x2c], 0x5dd
jl 0x48c1ea
cmp dword [ebp - 0x2c], 0x60e
jg 0x48c1ea
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
jmp 0x48c240
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe8], eax
jmp 0x48c221
mov dword [ebp - 0x14], 0
jmp 0x48c240
mov dword [ebp - 0x14], 0x60
jmp 0x48c240
mov dword [ebp - 0x14], 7
jmp 0x48c240
cmp dword [ebp - 0xe8], 0xffffffff
je 0x48c1f8
cmp dword [ebp - 0xe8], 0x67
je 0x48c204
jmp 0x48c210
cmp dword [ebp - 0x2c], 0
je 0x48c25d
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x14], 0
je 0x48c27d
cmp dword [ebp + 0x18], 0
je 0x48c27d
mov eax, dword [ebp - 0x14]
push eax
call fcn.0049c6f9
add esp, 4
push 0
push 1
mov eax, dword [ebp - 0x40]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push 2
call fcn.004d52cc
add esp, 8
push 0
call fcn.0049c470
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x48c2b8
pop edi
pop esi
pop ebx
leave
ret