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

Disassembly:
push 0xffffffffffffffff
push 0x538c37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
mov eax, dword [0x682948]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
push str.Called_Shell_ComicCollection___without_shell_initialised
setne al
push eax
call fcn.004015b0
xor edi, edi
push 0x34
mov dword [esp + 0x20], edi
call fcn.00455390
add esp, 0xc
mov dword [esp + 0x60], eax
cmp eax, ebp
mov dword [esp + 0x354], ebp
je 0x49b2dd
push ebp
push 0xf
push 0x1e
push ebp
push ebp
push 0x22
push 0x2d
push 0x32
push 0x20
mov ecx, eax
call fcn.0047ae80
jmp 0x49b2df
xor eax, eax
mov ebx, eax
push 1
push str.comics
mov dword [esp + 0x35c], 0xffffffff
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
call fcn.004cab50
add esp, 8
mov dword [esp + 0xa0], eax
xor eax, eax
lea ecx, [esp + 0x24c]
mov dword [ecx], eax
sub eax, 0x3c
add ecx, 4
cmp eax, 0xfffff880
jg 0x49b313
push 0x1a4
call fcn.00455390
mov esi, eax
add esp, 4
mov dword [esp + 0x60], esi
cmp esi, ebp
mov dword [esp + 0x354], 1
je 0x49b3a5
mov ecx, esi
call fcn.00460720
push 0x5487f8
mov ecx, esi
mov byte [esp + 0x358], 2
mov dword [esi], 0x53bfc0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], 0x1f4000
call fcn.00460020
mov cx, word [esi + 4]
mov eax, 0x800
and ecx, 0xfb7d
mov word [esi + 0x1a], 5
or ch, 2
mov dword [esi + 0x3c], ebp
mov word [esi + 4], cx
mov word [esi + 0x28], ax
mov word [esi + 0x2a], ax
mov word [esi + 0x2c], ax
mov dword [esp + 0x24], esi
mov ecx, esi
jmp 0x49b3ab
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, 0x400
mov dword [esp + 0x354], 0xffffffff
mov word [ecx + 0x28], ax
mov word [ecx + 0x2a], ax
mov word [ecx + 0x2c], ax
mov dword [0x56f1b4], ebp
mov dword [0x56f1b8], ebp
mov dword [0x56f1bc], ebp
mov word [0x56f1dc], bp
mov word [0x56f1de], bp
mov word [0x56f1e0], bp
mov dword [0x56f1b0], ebp
mov dword [esp + 0x50], ebp
mov dword [0x5512ec], 0x180
call fcn.00430880
call fcn.00430630
call fcn.004553e0
mov edx, dword [0x6b4ca0]
mov al, byte [0xac08c4]
test al, al
mov dword [esp + 0x60], edx
jne 0x49b430
push 0xffffffffffffffff
push 1
call fcn.00505e00
add esp, 8
cmp dword [0x6a7780], ebp
jne 0x49b44a
push 0x6a7780
push str.menubg
call fcn.004cb5b0
add esp, 8
mov eax, dword [0x6a7780]
push 0x80
push 0xf0
push 0x200
mov ecx, dword [eax + 4]
push ebp
push ebp
push ecx
push 0xbf800000
call fcn.00509d20
mov edx, dword [str.comic_collection]
mov eax, dword [esp + 0x6c]
push 0x1d
push 0xffffffffffffffeb
push 0x96
push ebp
push 1
push edx
push 0x26
push eax
call fcn.0048d9c0
push 0x56f1e4
push 0x56f1dc
call fcn.0046e730
add esp, 0x44
push 0x56f1b4
push 0x56f1e4
call fcn.0046cfa0
mov ecx, dword [0x56fb2c]
mov edx, dword [ecx + 0x70]
push edx
push 0x54d490
push 0x56f1b0
call fcn.00472dc0
add esp, 0x14
cmp ebx, ebp
je 0x49b4da
mov ecx, ebx
call fcn.0047af10
jmp 0x49bc21
mov ecx, dword [esp + 0xa0]
xor esi, esi
lea eax, [esp + 0x24c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
jmp 0x49b500
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov eax, esi
and eax, 7
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
lea ebp, [eax + eax + 0x20]
mov eax, esi
sar eax, 3
cmp esi, edi
lea ecx, [eax + eax*4]
lea ebx, [ecx*8 + 0x32]
jne 0x49b53e
push 0
push 0
push 0
push 0
push 0x22
push 0x2d
push ebx
push ebp
call fcn.0047a700
add esp, 0x20
mov eax, dword [0x6828e4]
mov edx, 1
mov ecx, esi
shl edx, cl
test edx, eax
mov eax, dword [esp + 0x34]
je 0x49b56f
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
push ecx
inc ebx
push edx
add ebp, 3
push ebx
push ebp
call fcn.0049b1f0
add esp, 0x10
jmp 0x49bbf1
mov esi, dword [eax]
test esi, esi
jl 0x49bbf1
mov ecx, esi
lea eax, [esi + esi*4]
shl ecx, 4
add ecx, esi
push 1
shl ecx, 1
sar ecx, 9
lea eax, [eax + eax*8]
push 0xffe
push 0xf
push 5
sar eax, 9
lea edx, [ecx + ecx]
push 5
push edx
lea edx, [eax + eax]
push edx
mov edx, ebx
sub edx, ecx
mov ecx, ebp
sub ecx, eax
add edx, 0x11
add ecx, 0x16
push edx
push ecx
push 0xc0000000
call fcn.00462d60
add esp, 0x28
cmp esi, 0x100
jne 0x49bbf1
lea eax, [esp + 0x14c]
mov ecx, 0x56e578
mov edx, 4
mov esi, dword [ecx - 8]
add ecx, 0x10
mov dword [eax], esi
mov esi, dword [ecx - 0x14]
mov dword [eax + 4], esi
mov esi, dword [ecx - 0x10]
mov dword [eax + 8], esi
mov esi, dword [ecx - 0xc]
mov dword [eax + 0xc], esi
add eax, 0x10
dec edx
jne 0x49b5dd
lea eax, [esp + 0x20c]
mov ecx, 0x56e700
mov edx, 4
mov esi, dword [ecx - 8]
add ecx, 0x10
mov dword [eax], esi
mov esi, dword [ecx - 0x14]
mov dword [eax + 4], esi
mov esi, dword [ecx - 0x10]
mov dword [eax + 8], esi
mov esi, dword [ecx - 0xc]
mov dword [eax + 0xc], esi
add eax, 0x10
dec edx
jne 0x49b60e
lea eax, [esp + 0x18c]
mov ecx, 0x56e780
mov edx, 4
mov esi, dword [ecx - 8]
add ecx, 0x10
mov dword [eax], esi
mov esi, dword [ecx - 0x14]
mov dword [eax + 4], esi
mov esi, dword [ecx - 0x10]
mov dword [eax + 8], esi
mov esi, dword [ecx - 0xc]
mov dword [eax + 0xc], esi
add eax, 0x10
dec edx
jne 0x49b63f
fild dword [0x568154]
mov edx, dword [0x61b5fc]
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], edx
add ebp, 0xffffff17
fstp dword [esp + 0x18]
fild qword [esp + 0xe8]
mov ecx, 5
mov esi, 0x54d490
lea edi, [esp + 0xf8]
fstp dword [esp + 0x10]
fld dword [esp + 0x18]
fdiv dword [esp + 0x10]
mov dword [esp + 0x10], ebp
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
call fcn.00529c7c
mov ecx, dword [0x54d494]
mov dword [esp + 0x28], eax
mov eax, dword [0x54d490]
and ecx, 0xffff
and eax, 0xffff
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
call fcn.00529c7c
fild dword [0x568158]
mov edx, dword [0x628614]
xor esi, esi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], esi
fstp dword [esp + 0x18]
fild qword [esp + 0xf0]
add ebx, 0xffffffa7
mov dword [esp + 0x9c], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x18]
fdiv dword [esp + 0x10]
mov dword [esp + 0x10], ebx
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
call fcn.00529c7c
mov dword [esp + 0x2c], eax
xor eax, eax
mov ax, word [0x54d492]
xor ecx, ecx
mov cx, word [0x54d496]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
call fcn.00529c7c
xor edx, edx
mov dword [esp + 0xa4], eax
mov dx, word [str.0u_t]
mov eax, dword [0x54d498]
mov dword [esp + 0x18], edx
and eax, 0xffff
fild dword [esp + 0x18]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
fdivr dword [esp + 0x18]
fstp dword [esp + 0x30]
fld dword [0x550064]
mov ecx, dword [0x54d49c]
push esi
fmul qword [0x53b5d0]
and ecx, 0xffff
push 0x3f800000
mov dword [esp + 0x20], ecx
push esi
fild dword [esp + 0x24]
push esi
lea ecx, [esp + 0xd8]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
fstp qword [esp + 0x28]
fdiv qword [esp + 0x28]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fmul dword [esp + 0x20]
fchs
fstp dword [esp + 0x154]
fild dword [esp + 0xb4]
fstp dword [esp + 0x28]
fild dword [esp + 0xac]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [0x53b390]
fstp dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [0x53b390]
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xcc], eax
fstp dword [esp + 0x28]
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fadd dword [esp + 0x20]
fstp dword [esp + 0x38]
fild dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x3c]
call fcn.00402620
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0x3f800000
push esi
push edx
push eax
lea ecx, [esp + 0xe8]
call fcn.00402620
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], esi
fld dword [esp + 0x74]
fadd dword [esp + 0x7c]
mov dword [esp + 0x58], esi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x64], esi
xor edx, edx
mov dword [esp + 0x98], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x144]
fmul dword [esp + 0xd4]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x94], edx
fadd dword [esp + 0x58]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x78], eax
fadd dword [esp + 0x64]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x6c], esi
fadd dword [esp + 0x98]
push ecx
fstp dword [esp]
fld dword [esp + 0x148]
fmul dword [esp + 0xd4]
push ecx
fadd dword [esp + 0x48]
fadd dword [esp + 0x54]
fadd dword [esp + 0x98]
fstp dword [esp]
fld dword [esp + 0x14c]
fmul dword [esp + 0xd4]
push ecx
fadd dword [esp + 0x74]
fadd dword [esp + 0x68]
fadd dword [esp + 0xa0]
fstp dword [esp]
fld dword [esp + 0x150]
fmul dword [esp + 0xd4]
push ecx
fadd dword [esp + 0x64]
fadd dword [esp + 0x28]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x40]
push ecx
fadd dword [esp + 0xf8]
fadd dword [esp + 0x6c]
fadd dword [esp + 0x78]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x44]
push ecx
fadd dword [esp + 0x58]
fadd dword [esp + 0x64]
fadd dword [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x48]
push ecx
fadd dword [esp + 0x84]
fadd dword [esp + 0x78]
fadd dword [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x4c]
push ecx
fadd dword [esp + 0x74]
fadd dword [esp + 0x9c]
fadd dword [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x40]
push ecx
fadd dword [esp + 0x9c]
fadd dword [esp + 0x7c]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x44]
push ecx
fadd dword [esp + 0x98]
fadd dword [esp + 0x68]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x48]
push ecx
fadd dword [esp + 0xac]
fadd dword [esp + 0x94]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x4c]
push ecx
fadd dword [esp + 0x9c]
fadd dword [esp + 0x48]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x50]
push ecx
fadd dword [esp + 0xac]
fadd dword [esp + 0x98]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x54]
push ecx
fadd dword [esp + 0xa8]
fadd dword [esp + 0x84]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x58]
push ecx
fadd dword [esp + 0xbc]
fadd dword [esp + 0x98]
fstp dword [esp]
fld dword [esp + 0xe4]
fmul dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30c]
fadd dword [esp + 0xac]
fadd dword [esp + 0x94]
fadd dword [esp + 0xb4]
fstp dword [esp]
call fcn.00476710
push eax
lea ecx, [esp + 0x1d0]
call fcn.00478140
lea ecx, [esp + esi + 0x1cc]
push ecx
lea ecx, [esi + 0x56e570]
call fcn.00402600
add esi, 0x10
cmp esi, 0x40
jl 0x49bb26
push 0x56e570
lea edx, [esp + 0x310]
push 0x56e778
push edx
call fcn.00476a00
mov esi, 0x56e6f8
mov edi, eax
add esp, 0xc
sub edi, esi
mov ebx, 4
lea eax, [edi + esi]
mov ecx, esi
push eax
call fcn.00402600
add esi, 0x10
dec ebx
jne 0x49bb69
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004739a0
add esp, 4
xor esi, esi
lea edx, [esp + esi + 0x14c]
lea ecx, [esi + 0x56e570]
push edx
call fcn.00402600
add esi, 0x10
cmp esi, 0x40
jl 0x49bb89
xor esi, esi
lea eax, [esp + esi + 0x20c]
lea ecx, [esi + 0x56e6f8]
push eax
call fcn.00402600
add esi, 0x10
cmp esi, 0x40
jl 0x49bba6
mov ecx, 5
lea esi, [esp + 0xf8]
mov edi, 0x54d490
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea ecx, [esp + esi + 0x18c]
push ecx
lea ecx, [esi + 0x56e778]
call fcn.00402600
add esi, 0x10
cmp esi, 0x40
jl 0x49bbd6
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
inc eax
add esi, 8
add edx, 4
cmp eax, 0x20
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], edx
jl 0x49b4f8
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
call fcn.004737f0
call fcn.0050c470
mov al, byte [0xac08c4]
test al, al
je 0x49bc3e
push 1
call fcn.00506160
add esp, 4
mov edx, dword [esp + 0x50]
push 0xa0
push edx
call fcn.0047a570
mov dword [esp + 0x58], eax
add esp, 8
lea eax, [esp + 0x24c]
mov ecx, 0x20
mov esi, dword [eax]
add esi, 0x3c
mov edx, esi
mov dword [eax], esi
cmp edx, 0x100
jle 0x49bc77
mov dword [eax], 0x100
add eax, 4
dec ecx
jne 0x49bc60
test edi, edi
jge 0x49bc8e
push 0x661100
call fcn.00479470
add esp, 4
call fcn.00505720
mov eax, dword [0x54d38c]
test eax, eax
jne 0x49c181
call fcn.0050c5d0
test al, al
je 0x49bd04
xor esi, esi
mov eax, esi
mov ebp, 1
and eax, 7
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, esi
mov ecx, esi
sar eax, 3
shl ebp, cl
mov ecx, dword [0x6828e4]
lea eax, [eax + eax*4]
lea edx, [edx + edx + 0x20]
lea eax, [eax*8 + 0x32]
test ebp, ecx
je 0x49bcfa
lea ecx, [eax + 0x22]
push ecx
lea ecx, [edx + 0x2d]
push ecx
push eax
push edx
call fcn.0050c5f0
add esp, 0x10
test al, al
je 0x49bcfa
mov edi, esi
inc esi
cmp esi, 0x20
jl 0x49bcab
mov dword [esp + 0x14], edi
call fcn.0048ea90
push 1
push 1
push 0x20220
call fcn.0050c180
add esp, 0xc
test al, al
jne 0x49c107
test ebx, ebx
je 0x49bd47
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x49c08c
mov ecx, dword [esp + 0x38]
push 1
mov edx, dword [ecx]
call dword [edx]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], 0
push 0
push 0
push 0xf00f
mov ebx, edi
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49c03a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x49bd7b
cmp eax, 0x14
jle 0x49be03
test al, 1
jne 0x49be03
push 0
mov esi, edi
mov ebp, edi
push 0
push 0x4004
and esi, 7
sar ebp, 3
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49bda3
test esi, esi
je 0x49bda3
dec edi
mov dword [esp + 0x14], edi
push 0
push 0
push 0x8008
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49bdc2
cmp esi, 7
je 0x49bdc2
inc edi
mov dword [esp + 0x14], edi
push 0
push 0
push 0x1001
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49bde2
test ebp, ebp
je 0x49bde2
sub edi, 8
mov dword [esp + 0x14], edi
push 0
push 0
push 0x2002
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49be03
cmp ebp, 3
je 0x49be03
add edi, 8
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x3c]
inc eax
cmp ebx, edi
mov dword [esp + 0x3c], eax
je 0x49be21
push 0
push 0x3fff
push 0x29
call fcn.00471c50
add esp, 0xc
push 1
push 1
push 0x100
xor bl, bl
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49be87
mov eax, edi
mov esi, 1
and eax, 7
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, edi
mov ecx, edi
sar eax, 3
shl esi, cl
mov ecx, dword [0x6828e4]
lea eax, [eax + eax*4]
lea edx, [edx + edx + 0x20]
lea eax, [eax*8 + 0x32]
test esi, ecx
je 0x49be87
lea ecx, [eax + 0x22]
push ecx
lea ecx, [edx + 0x2d]
push ecx
push eax
push edx
call fcn.0050c5f0
add esp, 0x10
test al, al
je 0x49be87
mov bl, 1
test edi, edi
jl 0x49c08c
test bl, bl
jne 0x49beac
push 1
push 1
push 0x10010
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49c08c
mov esi, dword [esp + 0x14]
mov byte [0x6611e1], 0
mov byte [0x661131], 0
mov eax, dword [0x6828e4]
mov edx, 1
mov ecx, esi
push 0
shl edx, cl
push 0x2000
test eax, edx
je 0x49c082
push 0x1f
call fcn.00471c50
mov al, byte [0x55512c]
mov edx, dword [0x555128]
mov byte [esp + 0x98], al
mov eax, 0x66666667
mov dword [esp + 0x94], edx
imul esi
mov ecx, dword [str.cb.bmp]
sar edx, 2
mov eax, edx
mov dword [esp + 0x90], ecx
shr eax, 0x1f
add edx, eax
xor ecx, ecx
add dl, 0x30
mov word [esp + 0x99], cx
mov eax, esi
mov byte [esp + 0x92], dl
mov byte [esp + 0x9b], cl
mov ecx, 0xa
cdq
idiv ecx
add dl, 0x30
mov byte [esp + 0x93], dl
lea edx, [esp + 0x90]
push edx
call fcn.004151d0
push 0x661100
xor edi, edi
call fcn.00479470
add esp, 0x14
call fcn.00505720
mov eax, dword [0x54d38c]
test eax, eax
jne 0x49c181
push 1
push 1
push 0x30330
call fcn.0050c180
add esp, 0xc
test al, al
jne 0x49c047
push 1
push 1
push 0x8008
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49bfe0
inc esi
mov byte [0x661191], 0
cmp esi, 0x20
mov dword [esp + 0x14], esi
jge 0x49bfca
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [0x6828e4], eax
jne 0x49c05e
push 0
dec esi
push 0x2000
push 0x1b
mov dword [esp + 0x20], esi
call fcn.00471c50
add esp, 0xc
push 1
push 1
push 0x4004
call fcn.0050c180
add esp, 0xc
test al, al
je 0x49c02b
dec esi
mov byte [0x661181], 0
mov dword [esp + 0x14], esi
js 0x49c015
mov eax, dword [0x6828e4]
mov edx, 1
mov ecx, esi
shl edx, cl
test edx, eax
jne 0x49c05e
push 0
inc esi
push 0x2000
push 0x1b
mov dword [esp + 0x20], esi
call fcn.00471c50
add esp, 0xc
push 2
call fcn.004e5d60
add esp, 4
jmp 0x49bf64
mov dword [esp + 0x3c], 0
jmp 0x49be21
mov byte [0x661121], 0
mov byte [0x661131], 0
mov byte [0x6611e1], 0
jmp 0x49c063
mov edi, 1
push 0x661100
call fcn.00479470
add esp, 4
test edi, edi
jne 0x49bebe
push edi
push 0x2000
push 0x23
jmp 0x49c084
push 0x1b
call fcn.00471c50
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x60]
mov eax, dword [0x6b4ca0]
cmp eax, ecx
jne 0x49c0ac
push 1
call fcn.004e5d60
add esp, 4
mov dword [0x5598b8], 0
push 1
call fcn.004e5d60
mov al, byte [0x54d341]
add esp, 4
test al, al
jne 0x49c0d6
push str.stubbed_out:_DrawSync
call fcn.0046cb90
add esp, 4
call fcn.00430680
mov eax, dword [0x5598b8]
test eax, eax
jne 0x49c0f3
call fcn.004e5c10
mov dword [0x5598b8], 1
call fcn.0050df80
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
xor ebp, ebp
jmp 0x49b402
push 0
push 0x2000
push 0x23
mov byte [0x661121], 0
call fcn.00471c50
add esp, 0xc
test ebx, ebx
je 0x49c12b
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x49c139
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
call fcn.004e5d60
mov al, byte [0x54d341]
add esp, 4
test al, al
jne 0x49c159
push str.stubbed_out:_DrawSync
call fcn.0046cb90
add esp, 4
call fcn.00430680
mov al, byte [0x54d341]
test al, al
jne 0x49c174
push str.stubbed_out:_DrawSync
call fcn.0046cb90
add esp, 4
push 0x661100
call fcn.00479470
add esp, 4
mov ecx, dword [esp + 0x34c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x348
ret