Function at 0x4955a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x1c]
xor eax, eax
push ebp
push 0x4960ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
add eax, 0x2c
push eax
mov eax, dword [esi]
add eax, 0x16d
push eax
mov eax, dword [esi]
add eax, 0x24
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
mov eax, dword [esi]
lea ecx, [eax + 0x15d]
mov eax, dword [esi]
lea edx, [eax + 0x3c]
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
call fcn.004ae110
mov eax, dword [esi]
mov eax, dword [eax + 0x171]
mov dword [ebp - 0x70], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0xa4]
test ebx, ebx
je 0x495640
lea edx, [ebp - 0x60]
mov eax, ebx
call fcn.004f5190
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
call fcn.004e1d90
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
call fcn.004e1dcc
add ebx, eax
add ebx, dword [ebp - 0x5c]
add ebx, dword [ebp - 0x54]
add dword [ebp - 0x70], ebx
jmp 0x495651
push 0
lea eax, [ebp - 0x60]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00417c94
mov eax, dword [esi]
mov eax, dword [eax + 0x16d]
mov dword [ebp - 0x74], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x25], al
mov eax, dword [esi]
mov ebx, dword [eax + 0xa4]
test ebx, ebx
je 0x495694
cmp byte [ebp - 0x25], 0
jne 0x495694
mov eax, ebx
call fcn.004e1dcc
add eax, eax
add eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x58]
add dword [ebp - 0x74], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x54]
cmp dword [ebx + 0x38], 0
jne 0x4956c8
mov eax, dword [esi]
cmp dword [eax + 0xa4], 0
je 0x4956ba
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x74]
call fcn.004d2824
mov dword [ebx + 0x38], eax
jmp 0x4956c8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x74]
call fcn.004d27e4
mov dword [ebx + 0x38], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
call fcn.004e1d3c
mov edi, eax
mov dl, 1
mov eax, dword [esi]
call fcn.00494be8
add edi, eax
mov ebx, dword [ebp - 0x5c]
add edi, ebx
mov dword [ebp - 0x50], edi
cmp byte [ebp - 0x25], 0
je 0x495715
mov eax, dword [ebp - 0x50]
inc eax
sub eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x60]
call fcn.00417c94
jmp 0x495730
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x60]
call fcn.00417c94
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
cmp byte [eax + 0x2d], 0
je 0x4960d6
mov eax, dword [esi]
mov byte [eax + 0x15c], 1
mov byte [ebp - 0x2c], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x1c]
call fcn.004fca00
test al, al
je 0x4960cd
mov eax, dword [esi]
cmp dword [eax + 0xa4], 0
je 0x4957ad
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x88]
cmp word [eax + 0x30], 1
je 0x4957b1
xor eax, eax
jmp 0x4957b3
mov al, 1
mov byte [ebp - 0x1d], al
cmp byte [ebp - 0x1d], 0
je 0x495813
mov eax, dword [esi]
call fcn.00494f48
and eax, 0x7f
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.00417c6c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x38]
push eax
mov eax, edi
call fcn.004da15c
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xff00ff
mov ecx, dword [0x520f3c]
mov eax, dword [esi]
mov ebx, dword [eax + 0x54]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x1c]
call fcn.004ca1d4
jmp 0x495859
mov eax, dword [esi]
call fcn.00494f48
and eax, 0x7f
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.00417c6c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
push eax
push 0
push 0
push 0
mov edx, dword [0x520f3c]
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
xor ecx, ecx
call fcn.004cb868
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
call fcn.004951b8
push eax
mov eax, dword [esi]
call fcn.0049516c
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
pop ecx
call fcn.004f6b38
cmp byte [ebp - 0x1d], 0
jne 0x495889
push ebp
call fcn.0049522c
pop ecx
mov eax, dword [esi]
cmp dword [eax + 0xa4], 0
je 0x496080
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
sub ebx, dword [ebp - 0x54]
dec ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
sub ebx, eax
jl 0x4958fb
inc ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x6c]
call fcn.00428844
mov edx, eax
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
sub eax, ebx
jl 0x4958f3
inc eax
mov byte [edx + ebx*4 + 3], 0xff
inc ebx
dec eax
jne 0x4958ea
inc dword [ebp - 0x6c]
dec dword [ebp - 0x80]
jne 0x4958cd
mov eax, dword [esi]
call fcn.00494f48
test al, al
je 0x495923
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x138]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
mov dword [edx + 0x1c], eax
jmp 0x49593e
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x13c]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
mov dword [edx + 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x496080
cmp byte [ebp - 0x1d], 0
je 0x495b57
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov ebx, eax
movsx edi, word [ebx + 0x9a]
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00417c94
lea eax, [ebp - 0x98]
push eax
imul eax, edi, 0xd
mov edx, dword [ebx + 0x8c]
movsx eax, word [edx + eax*4 + 0x32]
push eax
lea eax, [ebp - 0xa8]
push eax
imul eax, edi, 0xd
mov edx, dword [ebx + 0x8c]
movsx ecx, word [edx + eax*4 + 0x30]
imul eax, edi, 0xd
mov edx, dword [ebx + 0x8c]
movsx eax, word [edx + eax*4 + 0x2e]
push eax
imul eax, edi, 0xd
mov edx, dword [ebx + 0x8c]
movsx eax, word [edx + eax*4 + 0x2c]
pop edx
call fcn.00417c94
lea eax, [ebp - 0xa8]
push eax
push 0xff
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0xff
mov edx, 0xff
mov eax, 0xff
call fcn.00417c94
lea eax, [ebp - 0xb8]
push eax
push 1
lea eax, [ebp - 0xc8]
push eax
mov ecx, 1
mov edx, 1
mov eax, 1
call fcn.00417c94
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.00417c94
lea ecx, [ebp - 0xd8]
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.004cbf88
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x74]
call fcn.004d2824
mov dword [ebp - 0x7c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.004286d4
call fcn.00423d24
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x74]
push eax
push 0
push 0
mov eax, dword [ebp - 0x7c]
call fcn.004286d4
call fcn.00423d24
push eax
call sub.gdi32.dll_BitBlt
push ebp
call fcn.0049522c
pop ecx
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
call fcn.0042a884
mov ebx, eax
dec ebx
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
mov dword [ebp - 0x68], eax
test ebx, ebx
jl 0x495b4a
inc ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x7c]
call fcn.00428844
mov dword [ebp - 0x78], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x6c]
call fcn.00428844
mov edx, eax
mov eax, dword [ebp - 0x68]
test eax, eax
jl 0x495b42
inc eax
xor ebx, ebx
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx + ebx*4]
cmp ecx, dword [edx + ebx*4]
je 0x495b3e
mov byte [edx + ebx*4 + 3], 0xff
inc ebx
dec eax
jne 0x495b2e
inc dword [ebp - 0x6c]
dec dword [ebp - 0x80]
jne 0x495b04
mov eax, dword [ebp - 0x7c]
call fcn.004039dc
jmp 0x496080
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00417c94
lea eax, [ebp - 0x98]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
add eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
add eax, dword [ebp - 0x58]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
add eax, dword [ebp - 0x5c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
add eax, dword [ebp - 0x60]
pop edx
pop ecx
call fcn.00417c94
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0xb8]
push eax
mov ecx, 1
mov edx, 1
mov eax, 1
call fcn.00417c94
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.00417c94
lea ecx, [ebp - 0xc8]
mov edx, ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.004cbf88
cmp dword [ebp - 0x24], 0xffffffff
jle 0x495c7e
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov eax, dword [eax + 0x94]
imul edx, dword [ebp - 0x24], 0x23
mov eax, dword [eax + edx*4 + 0x78]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x495da6
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [ebp - 0x24]
call fcn.00502d4c
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [ebp - 0x24]
call fcn.00502d94
add eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [ebp - 0x24]
call fcn.00502ce8
mov ecx, eax
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call fcn.00417c94
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [esi]
mov edi, dword [eax + 0x54]
mov eax, edi
call fcn.004da15c
push eax
push 0xd
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 0x1c]
mov eax, dword [edi + 0x38]
call fcn.0049febc
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [ebp - 0x24]
call fcn.00502d94
add eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
sub eax, ebx
mov edx, dword [ebp - 0x5c]
pop ecx
call fcn.00417c94
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
sub eax, ebx
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x5c]
call fcn.00417c6c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
push eax
push 0xe
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.0049febc
jmp 0x495eec
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502d4c
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502d94
mov edx, 8
call fcn.0042a884
add eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502ce8
mov edx, 8
call fcn.0042a884
mov ecx, eax
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call fcn.00417c94
lea eax, [ebp - 0x60]
push eax
mov eax, dword [esi]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x18]
push eax
mov eax, edi
call fcn.004da15c
push eax
push 0xd
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 0x1c]
mov eax, dword [edi + 0x38]
call fcn.0049febc
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502d94
add eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
sub eax, ebx
mov edx, dword [ebp - 0x5c]
pop ecx
call fcn.00417c94
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
sub eax, ebx
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x5c]
call fcn.00417c6c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
push eax
push 0xe
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edx, dword [eax + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.0049febc
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502ca0
mov dword [ebp - 0x6c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502d4c
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + 0x18]
call fcn.00502ce8
add eax, dword [ebp - 0x60]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x60]
pop ecx
call fcn.00417c94
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edi, dword [eax + 0x1c]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x60]
call fcn.00417c6c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
push eax
push 0x10
lea ecx, [ebp - 0x18]
mov edx, edi
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.0049febc
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
sub eax, ebx
pop edx
pop ecx
call fcn.00417c94
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xa4]
mov edi, dword [eax + 0x1c]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x58]
sub eax, ebx
lea ecx, [ebp - 0x88]
pop edx
call fcn.00417c6c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
call fcn.004da15c
push eax
push 0x11
lea ecx, [ebp - 0x18]
mov edx, edi
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.0049febc
mov eax, dword [esi]
mov ebx, dword [eax + 0x54]
mov eax, ebx
call fcn.004da15c
mov edx, eax
mov eax, dword [ebx + 0x18]
call fcn.004e1ed4
test al, al
je 0x4960b9
mov eax, dword [esi]
mov edi, dword [eax + 0x178]
test edi, edi
je 0x4960b2
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, dword [ebp - 0x74]
je 0x4960b9
mov eax, dword [esi]
call fcn.004950a4
mov dl, 1
mov eax, dword [esi]
call fcn.00494be8
test eax, eax
je 0x4960cd
mov eax, dword [esi]
call fcn.00496294
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x2d], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4960f3
lea eax, [ebp - 0x64]
call fcn.0040472c
ret