Function at 0x4b9540
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xcc]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x4ba09c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, dword [ebp - 0xc4]
jge 0x4b958f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0xc0]
jge 0x4b95ad
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xcc], 0
jge 0x4b95be
xor eax, eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xc8], 0
jge 0x4b95cf
xor eax, eax
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x51], 0xff
mov eax, edi
call fcn.00406df8
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x4ba09c
mov eax, dword [edi + 0xc]
sub eax, 1
jb 0x4b9602
je 0x4b994f
dec eax
je 0x4b9e16
jmp 0x4ba09c
mov byte [ebp - 0x55], 0xff
mov esi, dword [ebp - 0xc8]
add esi, dword [ebp + 8]
lea eax, [ebp - 0xcc]
xor edx, edx
call fcn.005279a8
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x84]
jge 0x4b9649
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
jmp 0x4b9655
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jl 0x4ba09c
inc eax
mov dword [ebp - 0x74], eax
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [edi + eax*4]
mov dword [ebp - 0x4c], edx
mov edx, dword [edi + eax*4 + 4]
mov dword [ebp - 0x50], edx
movzx eax, byte [edi + eax*4 + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0xcc]
xor edx, edx
call fcn.005279bc
add eax, dword [ebp + 8]
imul dword [ebp - 0x60]
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
add esi, dword [ebp - 0x68]
cmp ebx, dword [ebp - 0x5c]
jne 0x4b96fc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x8c]
jge 0x4b96e7
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x90], eax
jmp 0x4b96f3
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x90]
dec esi
jmp 0x4b9758
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x94]
jge 0x4b9726
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
jmp 0x4b9732
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
dec eax
cmp esi, eax
jge 0x4b9745
mov dword [ebp - 0x9c], esi
jmp 0x4b9752
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp - 0x9c]
mov eax, esi
sub eax, dword [ebp - 0x68]
test eax, eax
jle 0x4b9940
movzx eax, byte [ebp - 0x4c]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x20]
wait
movzx eax, byte [ebp - 0x4b]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x24]
wait
movzx eax, byte [ebp - 0x4a]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x28]
wait
cmp ebx, dword [ebp - 0x5c]
je 0x4b97b3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp esi, eax
jle 0x4b97f2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc0]
dec eax
cmp eax, dword [ebp - 0xa0]
jge 0x4b97e0
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xa4], eax
jmp 0x4b97ec
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xa4]
mov eax, esi
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ba09c
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jne 0x4b9867
movzx eax, byte [ebp - 0x4c]
mov byte [ebp - 0x52], al
movzx eax, byte [ebp - 0x4b]
mov byte [ebp - 0x53], al
movzx eax, byte [ebp - 0x4a]
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x68]
mov edx, esi
sub edx, eax
jl 0x4b9940
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00437c74
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xcc]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
call fcn.005024f8
inc dword [ebp - 0x6c]
dec dword [ebp - 0x78]
jne 0x4b9835
jmp 0x4b9940
movzx eax, byte [ebp - 0x50]
movzx edx, byte [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x14]
fdivp st(1)
fstp qword [ebp - 0x30]
wait
movzx eax, byte [ebp - 0x4f]
movzx edx, byte [ebp - 0x4b]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x14]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0x4e]
movzx edx, byte [ebp - 0x4a]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x14]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x68]
mov edx, esi
sub edx, eax
jl 0x4b9940
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], eax
fld dword [ebp - 0x20]
call fcn.0040359c
mov byte [ebp - 0x52], al
fld dword [ebp - 0x24]
call fcn.0040359c
mov byte [ebp - 0x53], al
fld dword [ebp - 0x28]
call fcn.0040359c
mov byte [ebp - 0x54], al
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00437c74
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xcc]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
call fcn.005024f8
fld dword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x24]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x24]
wait
fld dword [ebp - 0x28]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x28]
wait
inc dword [ebp - 0x6c]
dec dword [ebp - 0x78]
jne 0x4b98d4
inc ebx
dec dword [ebp - 0x74]
jne 0x4b967d
jmp 0x4ba09c
lea eax, [ebp - 0xcc]
xor edx, edx
call fcn.005279a8
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fdiv dword [0x4ba0a8]
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 4]
call fcn.00437bf0
cmp al, 7
jne 0x4b9c2a
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
call fcn.00437c74
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x5c]
test eax, eax
jl 0x4b9b98
inc eax
mov dword [ebp - 0x74], eax
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov eax, dword [edi + eax*4]
mov dword [ebp - 0x4c], eax
lea eax, [ebx + ebx*4]
mov eax, dword [edi + eax*4 + 4]
mov dword [ebp - 0x50], eax
lea eax, [ebx + ebx*4]
movzx eax, byte [edi + eax*4 + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
fild dword [ebp - 0x60]
fmul qword [ebp - 0x48]
fild dword [ebp - 0x64]
faddp st(1)
call fcn.0040359c
mov esi, eax
cmp ebx, dword [ebp - 0x5c]
jne 0x4b9a21
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xa8]
jge 0x4b9a0c
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xac], eax
jmp 0x4b9a18
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xac]
dec esi
jmp 0x4b9a7d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xb0]
jge 0x4b9a4b
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], eax
jmp 0x4b9a57
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
dec eax
cmp esi, eax
jge 0x4b9a6a
mov dword [ebp - 0xb8], esi
jmp 0x4b9a77
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb8], eax
mov esi, dword [ebp - 0xb8]
mov eax, esi
sub eax, dword [ebp - 0x64]
test eax, eax
jle 0x4b9b8e
mov eax, esi
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x4c]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x20]
wait
movzx eax, byte [ebp - 0x4b]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x24]
wait
movzx eax, byte [ebp - 0x4a]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x28]
wait
movzx eax, byte [ebp - 0x50]
movzx edx, byte [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x10]
fdivp st(1)
fstp qword [ebp - 0x30]
wait
movzx eax, byte [ebp - 0x4f]
movzx edx, byte [ebp - 0x4b]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x10]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0x4e]
movzx edx, byte [ebp - 0x4a]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x10]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x64]
mov edx, esi
sub edx, eax
jl 0x4b9b8e
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], eax
fld dword [ebp - 0x20]
call fcn.0040359c
mov byte [ebp - 0x52], al
fld dword [ebp - 0x24]
call fcn.0040359c
mov byte [ebp - 0x53], al
fld dword [ebp - 0x28]
call fcn.0040359c
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x54]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x24]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x24]
wait
fld dword [ebp - 0x28]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x28]
wait
inc dword [ebp - 0x70]
dec dword [ebp - 0x78]
jne 0x4b9b3b
inc ebx
dec dword [ebp - 0x74]
jne 0x4b99aa
lea eax, [ebp - 0xcc]
xor edx, edx
call fcn.005279a8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], 0
jle 0x4ba09c
mov eax, dword [ebp - 0xc8]
inc eax
mov edx, dword [ebp - 0xc0]
dec edx
sub edx, eax
jl 0x4ba09c
inc edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], eax
push 0xcc0020
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [ebp - 4]
call fcn.00437b04
call fcn.00432ef8
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [ebp - 4]
call fcn.00437b04
call fcn.00432ef8
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x68]
dec dword [ebp - 0x74]
jne 0x4b9bd6
jmp 0x4ba09c
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc0]
dec edx
sub edx, eax
jl 0x4ba09c
inc edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00437c74
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x5c]
test eax, eax
jl 0x4b9e05
inc eax
mov dword [ebp - 0x78], eax
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [edi + eax*4]
mov dword [ebp - 0x4c], edx
mov edx, dword [edi + eax*4 + 4]
mov dword [ebp - 0x50], edx
movzx eax, byte [edi + eax*4 + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
fild dword [ebp - 0x60]
fmul qword [ebp - 0x48]
fild dword [ebp - 0x64]
faddp st(1)
call fcn.0040359c
mov esi, eax
cmp ebx, dword [ebp - 0x5c]
jne 0x4b9cb8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, dword [ebp - 0xc4]
jle 0x4b9cb3
mov eax, dword [ebp - 0xc4]
mov esi, eax
dec esi
jmp 0x4b9cea
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, dword [ebp - 0xc4]
jle 0x4b9cce
mov eax, dword [ebp - 0xc4]
mov edx, eax
dec edx
cmp esi, edx
jge 0x4b9cdd
mov dword [ebp - 0xbc], esi
jmp 0x4b9ce4
dec eax
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
mov eax, esi
sub eax, dword [ebp - 0x64]
test eax, eax
jle 0x4b9dfb
mov eax, esi
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x4c]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x20]
wait
movzx eax, byte [ebp - 0x4b]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x24]
wait
movzx eax, byte [ebp - 0x4a]
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp dword [ebp - 0x28]
wait
movzx eax, byte [ebp - 0x50]
movzx edx, byte [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x10]
fdivp st(1)
fstp qword [ebp - 0x30]
wait
movzx eax, byte [ebp - 0x4f]
movzx edx, byte [ebp - 0x4b]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x10]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0x4e]
movzx edx, byte [ebp - 0x4a]
sub eax, edx
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fild dword [ebp - 0x10]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x64]
mov edx, esi
sub edx, eax
jl 0x4b9dfb
inc edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x70], eax
fld dword [ebp - 0x20]
call fcn.0040359c
mov byte [ebp - 0x52], al
fld dword [ebp - 0x24]
call fcn.0040359c
mov byte [ebp - 0x53], al
fld dword [ebp - 0x28]
call fcn.0040359c
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x54]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x24]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x24]
wait
fld dword [ebp - 0x28]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x28]
wait
inc dword [ebp - 0x70]
dec dword [ebp - 0x7c]
jne 0x4b9da8
inc ebx
dec dword [ebp - 0x78]
jne 0x4b9c6b
inc dword [ebp - 0x68]
dec dword [ebp - 0x74]
jne 0x4b9c46
jmp 0x4ba09c
cmp dword [ebp - 0x5c], 0xffffffff
jle 0x4b9e23
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
jmp 0x4b9e28
xor eax, eax
mov dword [ebp - 0x58], eax
mov word [ebp - 0x10e], 0xff00
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x118], eax
movzx eax, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0x114], ax
movzx eax, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0x112], ax
movzx eax, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0x110], ax
cmp dword [ebp - 0x5c], 0
jle 0x4b9e7f
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x58], eax
mov word [ebp - 0xfe], 0xff00
lea eax, [ebp - 0xcc]
xor edx, edx
call fcn.005279a8
sar eax, 1
jns 0x4b9e9c
adc eax, 0
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xcc]
xor edx, edx
call fcn.005279bc
sar eax, 1
jns 0x4b9ebc
adc eax, 0
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0x108], eax
movzx eax, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0x104], ax
movzx eax, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0x102], ax
movzx eax, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0x100], ax
cmp dword [ebp - 0x5c], 1
jle 0x4b9efe
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x58], eax
mov word [ebp - 0xee], 0xff00
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf8], eax
movzx eax, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xf4], ax
movzx eax, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xf2], ax
movzx eax, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xf0], ax
cmp dword [ebp - 0x5c], 2
jle 0x4b9f55
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x58], eax
mov word [ebp - 0xde], 0xff00
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], eax
movzx eax, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xe4], ax
movzx eax, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xe2], ax
movzx eax, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xe0], ax
cmp dword [ebp - 0x5c], 3
jle 0x4b9fac
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x58], eax
mov word [ebp - 0xce], 0xff00
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], eax
movzx eax, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xd4], ax
movzx eax, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xd2], ax
movzx eax, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xd0], ax
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x144], 2
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x13c], 2
mov dword [ebp - 0x138], 3
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], 4
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x120], 3
cmp dword [0x5d8308], 0
je 0x4ba09c
push 2
push 4
lea eax, [ebp - 0x14c]
push eax
push 5
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 4]
call fcn.00437b04
call fcn.00432ef8
push eax
call dword [0x5d8308]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8