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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x2128
call fcn.005d98a8
sub esp, eax
mov eax, dword [esp + 0x2128]
mov ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp], 0x40
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov dword [esp + 0x9c], eax
mov ecx, 4
mov edi, eax
mov esi, dword [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0x12
mov dword [eax + 0x14], 0
mov esi, dword [esp + 0x38]
mov esi, dword [esi + 8]
mov dword [esp + 0xd4], esi
lea edi, [esp + 0x1c4]
mov dword [esp + 8], edi
mov esi, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.004bd6dc
test eax, eax
je 0x4c0314
mov edx, dword [esi + 8]
test edx, edx
jne 0x4c0314
mov ebx, dword [esp + 0x1d0]
xor esi, esi
test ebx, ebx
je 0x4c029b
mov dword [esp + 0x40], ebp
jmp 0x4c020d
test eax, eax
je 0x4c030d
add esi, edx
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x4c0293
mov edx, dword [ebx + 8]
test edx, edx
jg 0x4c01f8
mov edx, dword [ebx]
cmp edx, 0x618620
je 0x4c0226
cmp edx, 0x618660
jne 0x4c0202
mov edx, dword [ebx + 0xc]
mov ebp, dword [edx + 0x98]
test ebp, ebp
je 0x4c0202
mov ebp, dword [edx + 8]
mov ecx, dword [esp + 0x2118]
inc dword [ecx + ebp*4]
mov ebp, dword [edx + 8]
mov dword [esp + 0x44], ebp
shl ebp, 2
mov dword [esp + 0x3c], ebp
test byte [ecx + ebp], 1
je 0x4c025e
mov ecx, dword [esp + 0x211c]
mov dword [ecx + ebp], edx
mov ecx, dword [esp + 0x1cc]
cmp dword [esp + 0x44], ecx
jl 0x4c0202
cmp dword [ebx], 0x618620
je 0x4c169a
mov eax, dword [edx + 0x9c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1cc], ebp
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4c020d
mov ebp, dword [esp + 0x40]
test eax, eax
je 0x4c0314
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x10], esi
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4c0300
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xa0]
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + ecx*8 + 4], ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + ecx*8]
test edx, edx
je 0x4c0300
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004bcd6c
mov dword [esp], edi
call fcn.004bd9c0
jmp 0x4c0f47
mov ebp, dword [esp + 0x40]
lea esi, [esi]
mov dword [esp], edi
call fcn.004bd9c0
lea esi, [esp + 0xf4]
mov dword [esp + 0x34], esi
mov ecx, 4
mov edi, esi
mov esi, dword [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xa8], 0xffffffff
xor ebx, ebx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
lea edi, [esp + 0x114]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0xe8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x94], eax
mov ecx, edx
mov ebx, dword [esp + 0x9c]
jmp 0x4c0422
mov edx, ecx
test edx, edx
jle 0x4c0487
mov esi, dword [eax + 8]
cmp esi, edx
jg 0x4c13bb
mov ecx, edx
sub ecx, esi
mov eax, dword [eax + 4]
test eax, eax
jne 0x4c0420
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0xf8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004bcc70
test eax, eax
je 0x4c168a
inc dword [ebx + 0x14]
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], eax
mov eax, dword [eax + 8]
mov edx, dword [esp + 0xe8]
mov ecx, edx
test edx, edx
jg 0x4c0426
mov dword [esp + 0x94], eax
mov dword [esp + 0xe8], ecx
test eax, eax
je 0x4c168a
lea esi, [esi]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4c04c5
mov esi, dword [esp + 0x98]
test esi, esi
je 0x4c04c5
mov ebx, dword [esp + 0x98]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x4c12da
mov ebx, dword [esp + 0x94]
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x4c11fc
mov esi, dword [esp + 0x88]
test esi, esi
je 0x4c13ce
lea esi, [esp + 0xec]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
lea edi, [esp + 0xf4]
mov dword [esp], edi
call fcn.004bd4d8
mov esi, eax
mov ecx, 0x54
xor eax, eax
mov edi, dword [esp + 0x30]
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x148], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x14c], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x158], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x164], eax
mov ebx, dword [esp + 0xec]
test ebx, ebx
jle 0x4c092a
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
xor edi, edi
mov eax, ebp
mov ebp, esi
mov esi, eax
jmp 0x4c08eb
test eax, eax
je 0x4c064c
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x38]
jle 0x4c064c
mov dword [esp + 0x114], eax
mov dword [esp + 0x38], ecx
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4c0684
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
cmp byte [eax], 0
je 0x4c0684
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x90]
jle 0x4c0684
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x90], eax
nop
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4c06b1
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x3c]
jle 0x4c06b1
mov edx, dword [esp + 0x114]
test edx, edx
je 0x4c0f5c
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4c06d2
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x80]
jle 0x4c06d2
mov dword [esp + 0x120], eax
mov dword [esp + 0x80], ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4c06ed
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x40]
jle 0x4c06ed
mov dword [esp + 0x124], eax
mov dword [esp + 0x40], ecx
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4c0708
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x44]
jle 0x4c0708
mov dword [esp + 0x128], eax
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4c0729
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x84]
jle 0x4c0729
mov dword [esp + 0x12c], eax
mov dword [esp + 0x84], ecx
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4c0747
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x50]
jle 0x4c0747
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4c0765
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x58]
jle 0x4c0765
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4c0783
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x5c]
jle 0x4c0783
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4c07a1
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x54]
jle 0x4c07a1
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x54], eax
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x4c07bf
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x70]
jle 0x4c07bf
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x70], eax
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x4c07dd
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x60]
jle 0x4c07dd
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x4c07fb
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x64]
jle 0x4c07fb
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x4c0819
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x68]
jle 0x4c0819
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4c0837
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x6c]
jle 0x4c0837
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x4c085b
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x74]
jle 0x4c085b
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x88]
cmp eax, 2
je 0x4c087a
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x78]
jle 0x4c087a
mov dword [esp + 0x158], eax
mov dword [esp + 0x78], ecx
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4c089e
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x48]
jle 0x4c089e
mov ecx, dword [ebx + 0x90]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x98]
test eax, eax
je 0x4c08c2
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x4c]
jle 0x4c08c2
mov ecx, dword [ebx + 0x9c]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x94]
cmp eax, 3
je 0x4c08e1
mov ecx, dword [ebx + 8]
cmp ecx, dword [esp + 0x7c]
jle 0x4c08e1
mov dword [esp + 0x164], eax
mov dword [esp + 0x7c], ecx
inc edi
cmp edi, dword [esp + 0xec]
jge 0x4c0924
mov ebx, dword [ebp + edi*4]
mov eax, dword [ebx + 0x14]
cmp ebx, dword [esi + 0xa4]
jne 0x4c0634
test byte [esi + 0x164], 4
jne 0x4c0634
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x4c0638
inc edi
cmp edi, dword [esp + 0xec]
jl 0x4c08eb
nop
mov eax, esi
mov esi, ebp
mov ebp, eax
test esi, esi
je 0x4c0939
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov eax, dword [ebp + 0xa0]
lea edx, [esp + 0xf0]
mov dword [esp + 8], edx
lea ecx, [esp + 0x114]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [eax + 0x30]
mov ebx, eax
mov esi, dword [esp + 0xf0]
test esi, esi
jne 0x4c101c
mov edi, dword [eax + 0xc]
inc dword [edi]
mov eax, dword [esp + 0x88]
mov dword [eax + 8], edi
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x4c]
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x4c0fc8
mov ebx, dword [esp + 0x94]
mov edx, dword [ebx + 8]
sub edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov dword [eax], ebx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x4bf04c
mov dword [eax + 0x18], 0x4bf020
mov dword [esp + 0x3c], edx
mov eax, edx
xor ebx, ebx
xor ecx, ecx
nop
mov esi, dword [esp + 0x98]
test esi, esi
je 0x4c1238
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x98]
mov dword [esi + 4], edi
add dword [esp + 0x8c], ecx
test edx, edx
jle 0x4c0a4a
lea edi, [esp + 0x104]
mov ecx, 4
mov esi, dword [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xb8], edx
cmp eax, dword [esp + 0x3c]
jne 0x4c157b
test ebx, ebx
je 0x4c0c1c
cmp dword [esp + 0xa8], 0xffffffff
je 0x4c0aba
lea edx, [ebp + 0x74]
lea eax, [ebp + 0x54]
mov ecx, dword [esp + 0xbc]
add ecx, 0x2c
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xbc]
add ecx, 4
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ecx, dword [esp + 0xac]
call fcn.004bfe08
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 0x2c]
add eax, edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4c11c4
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx]
test eax, eax
je 0x4c11c4
xor edi, edi
mov edx, dword [esp + 0xa8]
add edx, 2
imul edx, edi
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
lea ebx, [ecx + esi*8 + 0x20]
fld dword [0x6189bc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
mov ebp, esi
jmp 0x4c0b37
cmp ebp, eax
jge 0x4c0f6c
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp dword [esp + 0x8c], esi
jl 0x4c0b55
add dword [esp + 0x40], edi
add ebx, 8
cmp dword [esp + 0xa4], 1
jne 0x4c0b5c
inc ebp
test ecx, ecx
je 0x4c0b42
mov eax, dword [ecx]
test eax, eax
jne 0x4c0b10
mov esi, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x8c], esi
jge 0x4c0b26
fstp st(0)
jmp 0x4c0b5e
fstp st(0)
jmp 0x4c0b5e
fstp st(0)
mov dword [esp + 0xa8], ebp
mov ecx, eax
mov ebp, dword [esp + 0x3c]
cmp eax, 2
je 0x4c1278
dec ecx
je 0x4c1124
cmp dword [esp + 0x8c], esi
jge 0x4c1124
sub esi, dword [esp + 0x8c]
mov eax, dword [ebp + 0x54]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 1
xor ecx, ecx
mov edx, 0x618743
call fcn.004bf3c8
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xb0], esi
cmp esi, eax
jge 0x4c0be1
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa0]
test eax, eax
js 0x4c12c4
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0xb0]
jle 0x4c1670
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xbc], esi
add dword [esp + 0xfc], eax
add eax, dword [esp + 0xe8]
mov dword [esp + 0xe8], eax
mov ebx, dword [esp + 0x94]
cmp eax, dword [ebx + 8]
jl 0x4c0c62
mov dword [esp + 0xe8], 0
mov ebx, dword [ebx + 4]
mov dword [esp + 0x94], ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c0c62
test ebx, ebx
je 0x4c155c
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4c04a0
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4c14d7
mov edi, dword [esp + 0xb8]
test edi, edi
je 0x4c1613
mov esi, dword [esp + 0xb8]
cmp dword [esp + 0x98], esi
je 0x4c1637
mov ebx, dword [esp + 0xb8]
mov esi, dword [ebx + 4]
lea ebx, [ebp + 0x1c]
test esi, esi
je 0x4c0d06
mov edi, dword [esp + 0xb8]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.004bf930
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4c0cf4
mov dword [esp + 4], esi
mov dword [esp], ebp
call eax
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov esi, dword [edi + 4]
test esi, esi
jne 0x4c0cd4
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0xb8]
cmp dword [esi + 0x1c], ebx
je 0x4c15ff
mov esi, dword [esp + 0xb8]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4c0d34
mov dword [esp + 4], esi
mov dword [esp], ebp
call eax
lea eax, [esp + 0xe8]
mov dword [esp + 4], eax
lea ebx, [esp + 0x104]
mov dword [esp], ebx
call fcn.0048df54
mov edx, dword [eax]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
call dword [edx + 0x18]
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x3c], 0
cmp dword [esp + 0xa8], 0xffffffff
je 0x4c0e00
mov ebx, dword [esp + 0xbc]
test ebx, ebx
je 0x4c0e00
lea edx, [ebp + 0x74]
lea eax, [ebp + 0x54]
mov ecx, dword [esp + 0xbc]
add ecx, 0x2c
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xbc]
add ecx, 4
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ecx, dword [esp + 0xac]
call fcn.004bfe08
cmp dword [esp + 0xc4], 1
je 0x4c158e
mov esi, dword [esp + 0x98]
mov esi, dword [esi + 0x2c]
mov dword [esp + 0x38], esi
mov ebp, dword [esp + 0x98]
mov eax, dword [ebp]
mov edx, esi
add edx, eax
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x30], edx
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x4c1555
mov edi, dword [esp + 0xa0]
sub edi, edx
cmp dword [esp + 0xcc], 1
je 0x4c0e5f
mov edx, edi
shr edx, 0x1f
add edi, edx
sar edi, 1
mov ebx, dword [esp + 0x9c]
mov ebp, dword [ebx + 0x34]
test ebp, ebp
je 0x4c1665
mov ecx, dword [ebx + 0x10]
mov eax, ebp
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x9c]
lea esi, [esi]
add dword [eax], edi
add ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
cmp ebx, edx
jge 0x4c0e96
mov ebx, edx
mov edx, dword [eax + 0x24]
cmp esi, edx
jge 0x4c0e9f
mov esi, edx
mov edx, dword [eax + 0x28]
cmp edx, dword [ebp + 0x20]
jle 0x4c0eaa
mov dword [ebp + 0x20], edx
mov edx, dword [eax + 8]
mov edx, dword [edx + 0xc]
cmp dword [edx + 4], 0
jle 0x4c0ec1
mov edx, dword [edx + 8]
test edx, edx
je 0x4c0ec1
or dword [ebp + 0x3c], 1
mov eax, dword [eax + 4]
test eax, eax
jne 0x4c0e88
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x10], ecx
lea edx, [ebx + esi]
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
mov edi, dword [esp + 0x9c]
mov ecx, dword [edi + 0x20]
cmp ecx, edx
jge 0x4c1537
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov ebx, dword [esp + 0x9c]
mov esi, dword [ebx + 8]
test esi, esi
jne 0x4c14f8
mov edx, dword [ecx + 0x34]
mov dword [ebx + 0x28], edx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x4c151c
mov ecx, dword [ecx + 0x3c]
mov edi, dword [esp + 0x9c]
mov dword [edi + 0x2c], ecx
add ecx, edx
mov ebx, dword [esp + 0x9c]
add dword [ebx + 0x20], ecx
add dword [ebx + 0x24], edx
add eax, dword [esp + 0x38]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x9c]
add esp, 0x212c
pop ebx
pop esi
pop edi
pop ebp
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x114], ecx
jmp 0x4c06a3
lea esi, [ebp + 1]
sub esi, eax
mov dword [esp + 0xdc], esi
fild dword [esp + 0xdc]
fmul qword [ecx + 0x10]
fadd qword [ecx + 8]
fadd st(1)
fnstcw word [esp + 0xda]
mov si, word [esp + 0xda]
mov edx, esi
mov dh, 0xc
mov word [esp + 0xd8], dx
fldcw word [esp + 0xd8]
fistp dword [esp + 0xdc]
fldcw word [esp + 0xda]
mov esi, dword [esp + 0xdc]
mov eax, dword [ecx + eax*8 + 0x14]
jmp 0x4c0b1d
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x4c112c
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 8]
sub ebx, ecx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x94]
mov esi, dword [ebx]
cmp esi, 0x6186a0
je 0x4c1378
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov dword [eax], ebx
xor ebx, ebx
jmp 0x4c1409
mov dword [esp], 0x14
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov edi, eax
mov dword [eax], 1
mov eax, dword [esp + 0x114]
test eax, eax
je 0x4c12b0
mov dword [esp], eax
call fcn.00476854
mov eax, dword [eax]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x120]
test eax, eax
je 0x4c122c
mov dword [esp + 0x198], eax
mov dword [esp + 0x188], 2
mov eax, 0x904
lea esi, [esp + 0x168]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00435a4c
mov dword [edi + 4], eax
mov eax, dword [esp + 0x128]
mov dword [esp], eax
call fcn.0042f8a0
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x124]
mov eax, dword [eax]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x4c1218
mov dword [esp + 0x198], eax
mov dword [esp + 0x188], 2
mov eax, 0x4904
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00435a4c
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xa0]
mov eax, dword [eax + 0x28]
cmp eax, 1
je 0x4c1224
inc eax
je 0x4c1224
lea eax, [ebx + 0x10]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebx
mov dword [ebx + 0xc], edi
jmp 0x4c0971
xor esi, esi
jmp 0x4c0b8f
mov ecx, dword [eax + 0x40]
mov dword [esp + 0xac], ecx
mov ebx, dword [eax + 0x44]
mov dword [esp + 0xa4], ebx
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0xcc], ebx
mov ebx, dword [eax + 0x30]
mov dword [esp + 0xc8], ebx
mov ebx, dword [eax + 0x50]
mov dword [esp + 0xc4], ebx
mov edx, dword [esp + 0xd4]
test edx, edx
jne 0x4c1250
mov eax, dword [eax + 0x20]
mov dword [esp + 0x8c], eax
cmp dword [esp + 0xc4], 1
je 0x4c1268
mov eax, dword [ebp + 0xa0]
mov ebx, dword [eax + 0x54]
mov esi, dword [eax + 0x4c]
sub ebx, esi
mov edi, dword [esp + 0xc8]
sub ebx, edi
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x8c], ebx
jle 0x4c0fd7
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ebx
jmp 0x4c0fd7
mov dword [esp + 8], 1
mov dword [esp + 4], 0x618741
mov eax, dword [ebp + 0x54]
mov dword [esp], eax
call fcn.0042fd7c
mov edi, eax
shl edi, 3
jne 0x4c0adc
mov edi, 1
jmp 0x4c0adc
mov ebx, dword [esp + 0x94]
nop
mov ebx, dword [ebx + 4]
mov dword [esp + 0x94], ebx
mov dword [esp + 0xe8], 0
jmp 0x4c0c7b
mov eax, 0x4004
jmp 0x4c10e2
mov eax, dword [ebx + 0x10]
jmp 0x4c1114
mov eax, 4
jmp 0x4c1079
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x9c]
mov dword [edi + 0x34], esi
jmp 0x4c0a18
mov eax, dword [eax + 0x24]
mov dword [esp + 0x8c], eax
cmp dword [esp + 0xc4], 1
jne 0x4c1185
mov dword [esp + 0xa0], 0xffffffff
jmp 0x4c0fd7
mov edx, dword [esp + 0xa0]
sub edx, esi
mov eax, esi
sub eax, dword [esp + 0x8c]
cmp edx, eax
jge 0x4c1124
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x8c]
sub esi, dword [esp + 0xa0]
lea esi, [eax + esi*2]
jmp 0x4c0b8f
mov dword [edi + 4], 0
lea esi, [esp + 0x168]
jmp 0x4c1096
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xbc], ebx
jmp 0x4c0c1c
mov ebx, dword [esp + 0x94]
mov eax, dword [ebx + 8]
sub eax, dword [esp + 0xe8]
test eax, eax
jle 0x4c15b1
add dword [esp + 0xfc], eax
mov esi, dword [esp + 0x98]
add eax, dword [esi + 0x1c]
mov dword [esp + 0xc0], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0xe8], 0
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x94], ebx
test ebx, ebx
jne 0x4c04a0
mov eax, dword [esp + 0xf8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004bcc70
test eax, eax
je 0x4c0c8a
mov esi, dword [esp + 0x9c]
inc dword [esi + 0x14]
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], eax
jmp 0x4c03fc
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x4c13f7
mov ebx, dword [esp + 0x94]
lea eax, [ebx + ecx + 0xc]
mov dl, byte [ebx + ecx + 0xc]
test dl, dl
jne 0x4c139f
jmp 0x4c13f7
inc eax
mov dl, byte [eax]
test dl, dl
je 0x4c13f7
cmp dl, 9
jne 0x4c1398
sub eax, dword [esp + 0x94]
sub eax, 0xb
sub eax, ecx
mov dword [esp + 0x3c], eax
mov ebx, 1
jmp 0x4c13f9
mov dword [esp + 0x94], eax
mov dword [esp + 0xe8], ecx
jmp 0x4c04a0
mov dword [esp], 0x38
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov dword [esp + 0x88], eax
mov dword [eax + 4], 0
mov dword [eax + 0x34], 0
jmp 0x4c04e8
xor ebx, ebx
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov dword [eax], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x1c], edx
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea edi, [esp + 0xf4]
mov dword [esp + 4], edi
mov dword [esp], ebp
call dword [esi + 0x18]
mov esi, eax
test eax, eax
jle 0x4c149c
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x2c]
mov esi, edx
mov edx, dword [edx + 0x30]
test eax, eax
jle 0x4c09f8
mov dword [esp + 0xd0], esi
mov dword [esp + 0xb4], 0
jmp 0x4c09f8
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 8]
lea eax, [ebp + 0x1c]
call fcn.004bf930
test esi, esi
jne 0x4c11f4
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4c0c99
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
jmp 0x4c0f47
mov edx, dword [ecx + 0x38]
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
sar ebx, 1
sub edx, ebx
mov esi, dword [esp + 0x9c]
mov dword [esi + 0x28], edx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x4c0f24
mov ecx, dword [ecx + 0x38]
mov ebx, ecx
shr ebx, 0x1f
add ecx, ebx
sar ecx, 1
mov ebp, dword [esp + 0x9c]
mov dword [ebp + 0x2c], ecx
jmp 0x4c0f31
sub ecx, ebx
sub ecx, esi
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
add edx, ebx
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x24], edx
jmp 0x4c0efa
xor edi, edi
jmp 0x4c0e5f
mov eax, dword [esp + 0xf8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004bcc70
test eax, eax
jne 0x4c1704
mov eax, dword [esp + 0x88]
mov dword [esp + 0x98], eax
jmp 0x4c0c8a
mov eax, dword [ebp + 0xa0]
mov ebp, dword [eax + 0x54]
mov edx, dword [eax + 0x4c]
sub ebp, edx
mov ebx, dword [esp + 0xc8]
sub ebp, ebx
mov dword [esp + 0xa0], ebp
jmp 0x4c0e0e
mov ebx, dword [esp + 0x94]
mov eax, dword [ebx]
cmp eax, 0x618620
je 0x4c15cc
cmp eax, 0x618660
jne 0x4c1311
mov ebx, dword [esp + 0x94]
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0x98]
test ecx, ecx
je 0x4c1311
xor ebx, ebx
cmp eax, 0x618620
sete bl
mov esi, dword [edx + 0x9c]
xor ebx, esi
mov dword [esp + 0x38], ebx
jmp 0x4c1311
mov dword [esp + 0x98], esi
mov dword [esp + 0x3c], 0
jmp 0x4c0db3
mov ebx, dword [esp + 0xd0]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xb8], ebx
jmp 0x4c0ca8
mov esi, dword [esp + 0xc0]
mov ebx, dword [esp + 0x98]
cmp dword [ebx + 0x1c], esi
jne 0x4c0cbc
xor ebx, ebx
mov esi, dword [esp + 0x94]
test esi, esi
sete bl
mov dword [esp + 0x3c], ebx
jmp 0x4c0db3
xor edx, edx
xor esi, esi
xor ebx, ebx
jmp 0x4c0ee2
mov eax, dword [esp + 0x88]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x98], eax
jmp 0x4c0c8a
mov dword [esp + 0x94], 0
jmp 0x4c0c8a
cmp dword [esp + 0x44], ecx
je 0x4c16b6
mov dword [esp], str.Bad_tag_priority_being_toggled_off
mov eax, dword [0x68bb7c]
call dword [eax + 0x10]
mov ecx, dword [esp + 0x1cc]
mov ebp, dword [esp + 0x2118]
dec ecx
lea eax, [ecx*4]
mov dword [esp + 0x1cc], ecx
test ecx, ecx
jle 0x4c16e8
lea edx, [eax - 4]
test byte [ebp + eax], 1
jne 0x4c16ef
mov eax, edx
dec ecx
mov dword [esp + 0x1cc], ecx
test ecx, ecx
jg 0x4c16d0
xor eax, eax
jmp 0x4c0202
mov edx, dword [esp + 0x211c]
mov eax, dword [edx + eax]
mov eax, dword [eax + 0x9c]
jmp 0x4c0202
mov esi, dword [esp + 0x9c]
inc dword [esi + 0x14]
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], eax
mov edi, dword [esp + 0x88]
mov dword [esp + 0x98], edi
mov dword [esp + 0x88], 0
jmp 0x4c03fc