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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abafb
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4d8684]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x3c], esi
call 0x52cc48
push eax
lea ecx, [esp + 0x20]
call fcn.004bf36f
mov dword [esp + 0x70], esi
call 0x52cc48
push eax
lea ecx, [esp + 0x3c]
call fcn.004bf36f
mov byte [esp + 0x70], 1
call 0x52cc48
push eax
lea ecx, [esp + 0x38]
call fcn.004bf36f
mov byte [esp + 0x70], 2
call 0x52cc48
push eax
lea ecx, [esp + 0x2c]
call fcn.004bf36f
mov byte [esp + 0x70], 3
call 0x52cc48
push eax
lea ecx, [esp + 0x1c]
call fcn.004bf36f
mov byte [esp + 0x70], 4
call 0x52cc48
push eax
lea ecx, [esp + 0x24]
call fcn.004bf36f
mov byte [esp + 0x70], 5
call 0x52cc48
push eax
lea ecx, [esp + 0x30]
call fcn.004bf36f
mov byte [esp + 0x70], 6
call 0x52cc48
push eax
lea ecx, [esp + 0x28]
call fcn.004bf36f
mov byte [esp + 0x70], 7
call 0x52cc48
push eax
lea ecx, [esp + 0x34]
call fcn.004bf36f
mov byte [esp + 0x70], 8
call dword [fcn.004af368]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x284], esi
mov dword [0x4dd27c], eax
jne 0x50043e
cmp dword [ebx + 0x124], esi
jne 0x50043e
cmp dword [ebx + 0x260], esi
jne 0x50043e
cmp dword [ebx + 0x498], esi
je 0x4ff51d
mov edi, dword [ebx + 0x274]
lea eax, [esp + 0x44]
push eax
call fcn.004caedc
lea ecx, [ebx + 0x58]
push eax
mov byte [esp + 0x74], 9
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
mov edi, dword [ebx + 0x274]
cmp dword [edi + 0x34], esi
je 0x4ff56b
cmp dword [ebx + 0xa24], esi
jne 0x4ff56b
lea eax, [esp + 0x44]
push eax
call fcn.004cb6d9
mov byte [esp + 0x70], 0xa
mov ecx, eax
mov dword [esp + 0x3c], 1
call 0x51a9fe
test eax, eax
je 0x4ff56b
lea eax, [ebx + 0x54]
push 0x4b9b18
push eax
call 0x51efe2
test eax, eax
pop ecx
pop ecx
mov byte [esp + 0x14], 1
jne 0x4ff570
mov byte [esp + 0x14], 0
mov dword [esp + 0x70], 8
test byte [esp + 0x3c], 1
je 0x4ff590
mov ecx, dword [esp + 0x44]
and dword [esp + 0x3c], 0xfffffffe
add ecx, 0xfffffff0
call fcn.004bf355
cmp byte [esp + 0x14], 0
jne 0x50043e
mov ecx, dword [ebx + 0x274]
mov eax, ecx
call fcn.004cbda8
test eax, eax
jne 0x4ff604
cmp dword [ebx + 0x498], esi
jne 0x4ff604
cmp dword [ebx + 0x21c], esi
jne 0x4ff604
cmp dword [ebx + 0x118], esi
jne 0x4ff604
cmp dword [ebx + 0x438], esi
jne 0x4ff604
mov edi, dword [ecx + 0x68]
mov esi, dword [ecx + 0x6c]
call fcn.004c8bd2
cmp eax, edi
jne 0x4ff602
cmp edx, esi
jne 0x4ff602
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x6c], 0
mov ecx, dword [eax + 0x68]
jl 0x4ff602
jg 0x4ff5f4
test ecx, ecx
jbe 0x4ff602
push 0
mov ecx, ebx
call fcn.004e80c2
jmp 0x50043e
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x4f4], esi
call fcn.0050056a
mov esi, 0x4b742c
lea eax, [ebx + 0x54]
push esi
push eax
mov dword [ebx + 0x110], 1
call 0x51efe2
test eax, eax
pop ecx
pop ecx
je 0x4ff6a6
mov edi, dword [ebx + 0x274]
lea eax, [esp + 0x44]
push eax
call fcn.004cacc4
lea edi, [ebx + 0x54]
push eax
mov ecx, edi
mov byte [esp + 0x74], 0xb
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
push esi
push edi
call 0x51efe2
test eax, eax
pop ecx
pop ecx
je 0x4ff69d
mov edi, dword [ebx + 0x274]
lea eax, [esp + 0x44]
push eax
call fcn.004cae60
push eax
lea ecx, [ebx + 0x54]
mov byte [esp + 0x74], 0xc
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
push 0
mov ecx, ebx
call fcn.005023ae
push 0
mov edi, 0x8ca
push edi
mov esi, ebx
call fcn.004fd795
and dword [ebx + 0x128], 0
push 0
push edi
call fcn.004fd7df
cmp dword [ebx + 0x260], 0
jne 0x50043e
push 3
push 0x8c7
call fcn.004fd7df
cmp dword [ebx + 0x260], 0
jne 0x50043e
lea eax, [ebx + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.004bf4cc
lea ecx, [esp + 0x1c]
call 0x51f4c8
test eax, eax
je 0x4ff762
mov edi, dword [ebx + 0x274]
lea eax, [esp + 0x44]
push eax
call fcn.004cacc4
lea esi, [ebx + 0x54]
push eax
mov ecx, esi
mov byte [esp + 0x74], 0xd
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
push esi
lea ecx, [esp + 0x20]
call fcn.004bf4cc
mov esi, dword [esi]
lea eax, [ebx + 0x4bc]
push eax
lea eax, [ebx + 0x4a8]
push eax
lea eax, [ebx + 0x4b8]
push eax
lea edi, [ebx + 0x4a4]
push esi
call fcn.0050bfe5
lea ecx, [ebx + 0x4a4]
call 0x51f4c8
test eax, eax
je 0x4ff7a1
lea ecx, [ebx + 0x54]
call 0x51f4c8
test eax, eax
jne 0x4ff7a1
mov eax, dword [ebx + 0x54]
lea ecx, [ebx + 0x4bc]
push ecx
lea ecx, [ebx + 0x4a8]
push ecx
lea ecx, [ebx + 0x4b8]
push ecx
push eax
lea edi, [ebx + 0x4a4]
call fcn.0050bfe5
xor ecx, ecx
lea edi, [ebx + 0x4b8]
mov eax, dword [edi]
inc ecx
cmp eax, ecx
jne 0x4ff7b6
mov dword [ebx + 0x4c0], ecx
cmp eax, 3
jne 0x4ff7c5
mov dword [ebx + 0x4c0], 7
cmp eax, 0x100c
jne 0x4ff7d6
mov dword [ebx + 0x4c0], 8
lea esi, [ebx + 0x6b4]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov eax, 0x1f40
cmp ecx, eax
jle 0x4ff815
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.004c1b97
push eax
mov ecx, esi
mov byte [esp + 0x74], 0xe
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x34], 0
je 0x4ff82a
cmp dword [ebx + 0xa24], 0
je 0x4ff867
xor eax, eax
inc eax
cmp dword [ebx + 0x44c], eax
jne 0x4ff83e
cmp dword [ebx + 0x4c0], 7
je 0x4ff840
xor eax, eax
push eax
push ebx
call fcn.00500988
test eax, eax
jne 0x4ff867
push 1
mov ecx, ebx
call fcn.00501dac
push 0
push 0x8b0
mov esi, ebx
call fcn.004fd795
jmp 0x50043e
cmp dword [ebx + 0x260], 0
jne 0x50043e
cmp dword [ebx + 0x284], 0
jne 0x4ff8a8
push 0x40
call 0x5265bf
pop ecx
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0x70], 0xf
je 0x4ff89b
mov esi, eax
call fcn.004bfb36
jmp 0x4ff89d
xor eax, eax
mov byte [esp + 0x70], 8
mov dword [ebx + 0x284], eax
and dword [ebx + 0x144], 0
cmp dword [edi], 0x100c
jne 0x4ff8c8
mov eax, dword [ebx + 0x284]
test eax, eax
je 0x4ff8c8
mov dword [eax + 0x28], 8
push 0
push 0x4ba7e8
push 1
push 1
lea ecx, [esp + 0x60]
call 0x530b5f
push 1
lea eax, [esp + 0x54]
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x78], 0x10
call fcn.005104a3
mov byte [esp + 0x70], 0x11
mov eax, dword [ebx + 0x284]
test eax, eax
je 0x4ff906
mov ecx, dword [ebx + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x284]
xor esi, esi
push esi
push 0x3f
push 1
push esi
call 0x52ec92
test eax, eax
jne 0x4ffa3b
cmp dword [ebx + 0x118], esi
je 0x4ff953
push esi
push esi
mov ecx, ebx
call fcn.004f1b83
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 0x10
call fcn.0051052b
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 8
call 0x530baa
jmp 0x50043e
call dword [fcn.004af354]
mov dword [ebx + 0x500], eax
lea eax, [esp + 0x44]
push 0x72
push eax
call 0x51ff94
mov byte [esp + 0x78], 0x12
push dword [eax]
lea eax, [esp + 0x28]
push eax
call fcn.004bf640
mov byte [esp + 0x80], 0x11
mov ecx, dword [esp + 0x54]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004bf355
cmp dword [ebx + 0x284], esi
je 0x4ff9c6
push dword [ebx + 0x12c]
mov ecx, dword [ebx + 0x500]
lea edi, [esp + 0x20]
lea ebx, [esp + 0x48]
call fcn.004c092e
pop ecx
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [ebx + 0x260], esi
jne 0x4ff932
push 1
mov ecx, ebx
call fcn.00501dac
cmp dword [ebx + 0x260], esi
jne 0x4ff932
mov esi, ebx
call fcn.004e940e
test eax, eax
jne 0x4ff9fd
push eax
push 0x8c6
call fcn.004fd795
lea eax, [esp + 0x44]
push 0x175
push eax
call 0x51ff94
mov byte [esp + 0x78], 0x13
push dword [ebx + 0x1c0]
push eax
call fcn.004e4ec0
mov ecx, dword [esp + 0x54]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004bf355
mov dword [ebx + 0x2d4], 1
jmp 0x4ff932
mov eax, dword [ebx + 0x284]
cmp eax, esi
mov dword [esp + 0x40], 1
je 0x4ffa59
lea ecx, [esp + 0x40]
push ecx
push 4
call fcn.004c1172
mov eax, dword [ebx + 0x284]
cmp eax, esi
je 0x4ffa6f
lea ecx, [esp + 0x40]
push ecx
push 8
call fcn.004c1172
mov eax, dword [ebx + 0x284]
cmp eax, esi
je 0x4ffa88
lea ecx, [esp + 0x40]
push ecx
push 0xffffff7f
call fcn.004c1172
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 0x10
call fcn.0051052b
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 8
call 0x530baa
cmp dword [edi], 3
mov esi, 0x4b679c
je 0x4ffc45
push 0
push 0x4bb00c
call 0x518858
test eax, eax
pop ecx
pop ecx
je 0x4ffad2
push ebx
call fcn.004e79db
test eax, eax
jne 0x4ffc45
cmp dword [edi], 1
jne 0x4ffbed
push 0
push 0x4baff8
call 0x518858
test eax, eax
pop ecx
pop ecx
je 0x4ffbed
push ebx
call fcn.004e79db
test eax, eax
je 0x4ffbed
mov eax, dword [ebx + 0x284]
test eax, eax
mov dword [edi], 3
je 0x4ffb16
mov dword [eax + 0x28], 7
push esi
lea eax, [esp + 0x48]
push 0x4ba224
push eax
call 0x51892e
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 0x15
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
lea ecx, [ebx + 0x4ac]
push 0x4b9ae8
call fcn.004c1bf4
test eax, eax
jne 0x4ffba2
mov edi, dword [0x4dd494]
call 0x530a1e
mov eax, dword [eax + 4]
push 0x4b9af4
push 0x4b9b00
push edi
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call 0x530009
mov byte [esp + 0x70], 0x16
push dword [eax]
or dword [esp + 0x40], 2
lea ecx, [ebx + 0x4b0]
call fcn.004c1bf4
test eax, eax
mov byte [esp + 0x14], 1
je 0x4ffba7
mov byte [esp + 0x14], 0
mov dword [esp + 0x70], 8
test byte [esp + 0x3c], 2
je 0x4ffbc7
mov ecx, dword [esp + 0x44]
and dword [esp + 0x3c], 0xfffffffd
add ecx, 0xfffffff0
call fcn.004bf355
cmp byte [esp + 0x14], 0
je 0x4ffc93
lea ecx, [ebx + 0x4ac]
call fcn.004bf584
lea ecx, [ebx + 0x4b0]
call fcn.004bf584
jmp 0x4ffc93
mov eax, dword [edi]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x4ffc2b
mov eax, dword [ebx + 0x284]
test eax, eax
je 0x4ffc03
mov dword [eax + 0x28], ecx
push ebx
call fcn.004e79db
test eax, eax
je 0x4ffc93
push esi
lea eax, [esp + 0x48]
push 0x4ba224
push eax
call 0x51892e
add esp, 0xc
mov byte [esp + 0x70], 0x17
jmp 0x4ffc78
cmp eax, 0x100c
jne 0x4ffc93
mov eax, dword [ebx + 0x284]
test eax, eax
je 0x4ffc93
mov dword [eax + 0x28], 8
jmp 0x4ffc93
mov eax, dword [ebx + 0x284]
test eax, eax
je 0x4ffc56
mov dword [eax + 0x28], 7
push ebx
call fcn.004e79db
test eax, eax
je 0x4ffc93
push esi
lea eax, [esp + 0x48]
push 0x4b6b88
push eax
call 0x51892e
add esp, 0xc
mov byte [esp + 0x70], 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
cmp dword [ebx + 0x260], 0
jne 0x50043e
mov edi, dword [0x4dd494]
call 0x530a1e
mov eax, dword [eax + 4]
push 0x3c
push 0x4b83e0
push edi
mov ecx, eax
call 0x52fe67
push esi
mov dword [ebx + 0x2b8], eax
lea eax, [esp + 0x48]
push 0x4b618c
push eax
call 0x51892e
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0x18
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
lea ecx, [esp + 0x18]
call 0x51f4c8
test eax, eax
jne 0x4ffee5
push ebx
call fcn.004e79db
test eax, eax
je 0x4ffee5
lea esi, [ebx + 0x4b8]
mov eax, dword [esi]
cmp eax, 0x100c
je 0x4ffee5
cmp eax, 3
je 0x4ffe0f
push 0
push 0x4bb00c
call 0x518858
test eax, eax
pop ecx
pop ecx
jne 0x4ffe0f
cmp dword [esi], 1
jne 0x4ffe4e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x24]
lea edi, [esp + 0x30]
call fcn.0050bfe5
test eax, eax
jne 0x4ffe4e
lea eax, [esp + 0x48]
push 0x4bae08
push eax
lea ecx, [esp + 0x20]
call fcn.004c2a78
pop ecx
pop ecx
mov byte [esp + 0x70], 0x20
push eax
lea ecx, [esp + 0x1c]
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x24]
lea edi, [esp + 0x30]
call fcn.0050bfe5
test eax, eax
jne 0x4ffe4e
push 0x6f
mov eax, ebx
call fcn.004fd769
push eax
call 0x51647b
cmp dword [ebx + 0x260], 0
pop ecx
pop ecx
jne 0x50043e
mov esi, ebx
call fcn.004e940e
test eax, eax
jne 0x4ffe01
push eax
push 0x8c6
call fcn.004fd795
push 1
mov ecx, ebx
call fcn.00501dac
jmp 0x50043e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x24]
lea edi, [esp + 0x30]
call fcn.0050bfe5
test eax, eax
jne 0x4ffe4e
lea eax, [esp + 0x48]
push 0x4b5f78
push eax
lea ecx, [esp + 0x20]
call fcn.004c2a78
pop ecx
pop ecx
mov byte [esp + 0x70], 0x1f
jmp 0x4ffd8e
lea eax, [esp + 0x48]
push 0x6e
push eax
call 0x51ff94
pop ecx
pop ecx
lea edi, [ebx + 0x5c]
push eax
mov ecx, edi
mov byte [esp + 0x74], 0x21
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.004bf355
push 0
push 0x8b1
mov esi, ebx
call fcn.004fd7df
push 0x4b9fd8
lea eax, [esp + 0x48]
push edi
push eax
call fcn.004bf05d
add esp, 0xc
xor edi, edi
push edi
push edi
push edi
mov ecx, eax
mov byte [esp + 0x7c], 0x22
call fcn.004faeae
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
mov eax, dword [ebx + 0x284]
cmp eax, edi
je 0x500054
push dword [ebx + 0x4b8]
movzx ecx, word [esp + 0x18]
push ecx
push dword [esp + 0x28]
mov edi, eax
jmp 0x50004d
lea eax, [esp + 0x48]
push 0x6e
push eax
call 0x51ff94
pop ecx
pop ecx
lea ecx, [ebx + 0x5c]
push eax
mov byte [esp + 0x74], 0x19
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.004bf355
xor edi, edi
push edi
push 0x8b1
mov esi, ebx
call fcn.004fd7df
cmp dword [ebx + 0xaec], edi
je 0x4fff48
lea eax, [esp + 0x50]
push 0x4b83d4
push eax
call 0x51ff3b
pop ecx
pop ecx
mov esi, eax
mov byte [esp + 0x70], 0x1a
or dword [esp + 0x3c], 4
jmp 0x4fff4e
lea esi, [ebx + 0x4b4]
push 0x4bb884
lea eax, [ebx + 0x5c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004bf05d
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x7c], 0x1b
call fcn.004c0eeb
add esp, 0xc
push 0x4bb880
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x7c], 0x1c
call fcn.004bf05d
add esp, 0xc
push 0x4b9fd8
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x7c], 0x1d
call fcn.004bf05d
add esp, 0xc
push edi
push edi
push edi
mov ecx, eax
mov esi, ebx
mov byte [esp + 0x7c], 0x1e
call fcn.004faeae
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.004bf355
mov dword [esp + 0x70], 8
test byte [esp + 0x3c], 4
je 0x50000c
mov ecx, dword [esp + 0x50]
and dword [esp + 0x3c], 0xfffffffb
add ecx, 0xfffffff0
call fcn.004bf355
cmp dword [ebx + 0x284], edi
je 0x500054
lea esi, [ebx + 0x4b4]
mov ecx, esi
call 0x51f4c8
test eax, eax
push dword [ebx + 0x4b8]
mov edi, dword [ebx + 0x284]
jne 0x50003e
movzx eax, word [ebx + 0x4bc]
mov esi, dword [esi]
push eax
push esi
jmp 0x50004d
movzx ecx, word [ebx + 0x4bc]
mov eax, dword [ebx + 0x4a4]
push ecx
push eax
call fcn.004bfbbe
jmp 0x500056
xor eax, eax
xor esi, esi
cmp dword [ebx + 0x260], esi
jne 0x50043e
cmp eax, esi
jne 0x5003b9
call dword [fcn.004af354]
cmp eax, 0x2733
mov dword [ebx + 0x500], eax
je 0x5003b9
cmp eax, 0x57
je 0x5003b9
cmp eax, esi
je 0x5003b9
cmp eax, 0xffff
je 0x5003b9
push ecx
mov dword [esp + 0x54], esp
mov ecx, esp
lea edi, [ebx + 0x4a4]
push edi
call fcn.004bf622
call fcn.004febcf
cmp dword [ebx + 0x118], esi
je 0x5000cd
push esi
push esi
mov ecx, ebx
call fcn.004f1b83
jmp 0x50043e
cmp dword [ebx + 0x438], esi
je 0x5000e1
push 0x14
push 0x8e7
jmp 0x4ff85b
mov ecx, edi
call 0x51f4c8
test eax, eax
je 0x50014e
lea esi, [ebx + 0x54]
mov ecx, esi
call 0x51f4c8
test eax, eax
jne 0x50014e
mov esi, dword [esi]
lea eax, [ebx + 0x4bc]
push eax
lea eax, [ebx + 0x4a8]
push eax
lea eax, [ebx + 0x4b8]
push eax
push esi
call fcn.0050bfe5
mov ecx, edi
call 0x51f4c8
test eax, eax
jne 0x50014e
push 0x1f4
push 4
mov esi, ebx
mov dword [ebx + 0x144], 1
call fcn.004e7a36
test eax, eax
jne 0x50043e
mov ecx, ebx
call fcn.004ff0fc
jmp 0x50043e
mov ecx, ebx
call fcn.004fd565
test eax, eax
je 0x500350
cmp dword [ebx + 0x21c], 0
jne 0x500350
mov eax, dword [ebx + 0xaec]
add eax, 0x4ba7f8
mov edi, 0x4ba800
je 0x500195
lea eax, [esp + 0x50]
push edi
push eax
call 0x51ff3b
pop ecx
pop ecx
mov byte [esp + 0x70], 0x23
or dword [esp + 0x3c], 8
jmp 0x50019b
lea eax, [ebx + 0x4a4]
push eax
lea ecx, [ebx + 0x5c]
call fcn.004bf4cc
mov dword [esp + 0x70], 8
test byte [esp + 0x3c], 8
je 0x5001c4
mov ecx, dword [esp + 0x50]
and dword [esp + 0x3c], 0xfffffff7
add ecx, 0xfffffff0
call fcn.004bf355
push 0
push 0x8b1
mov esi, ebx
call fcn.004fd7df
push 0
push 0x8cd
call fcn.004fd7df
push 1
mov ecx, ebx
call fcn.00501dac
cmp dword [ebx + 0x260], 0
jne 0x50043e
cmp dword [ebx + 0xaec], 0
je 0x500218
lea eax, [esp + 0x4c]
push edi
push eax
call 0x51ff3b
pop ecx
pop ecx
mov byte [esp + 0x70], 0x24
or dword [esp + 0x3c], 0x10
mov esi, dword [eax]
jmp 0x50021e
mov esi, dword [ebx + 0x4a4]
lea eax, [esp + 0x50]
push 0x6c
push eax
call 0x51ff94
mov dword [esp + 0x78], 0x25
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004bf640
mov ecx, dword [esp + 0x64]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.004bf355
mov dword [esp + 0x70], 8
test byte [esp + 0x3c], 0x10
je 0x50026a
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [ebx + 0x500]
push 0
lea edi, [esp + 0x20]
lea ebx, [esp + 0x54]
call fcn.004c092e
pop ecx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0x26
call fcn.004bf4cc
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.004bf355
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x28]
xor ebx, ebx
cmp dword [esi + 0x12c], ebx
mov dword [esp + 0x44], 2
je 0x5002d0
push 0xb4
push 0x105
push edi
call 0x5166a6
add esp, 0xc
mov dword [esp + 0x44], eax
cmp dword [esi + 0x260], ebx
je 0x50031c
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004bf355
lea ecx, [edi - 0x10]
jmp 0x500481
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.004faeae
cmp dword [esp + 0x44], 4
jne 0x50034e
xor eax, eax
cmp dword [esi + 0x498], eax
push eax
je 0x500344
push 0x8f1
jmp 0x4ff85d
push 0x46a
jmp 0x4ff85d
mov ebx, esi
lea eax, [esp + 0x50]
push 0x176
push eax
call 0x51ff94
mov byte [esp + 0x78], 0x27
push dword [ebx + 0x1c0]
push eax
call fcn.004e4ec0
mov byte [esp + 0x80], 8
mov ecx, dword [esp + 0x60]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004bf355
xor eax, eax
inc eax
xor ecx, ecx
cmp dword [0x4dd264], ecx
mov dword [ebx + 0x2d4], eax
jne 0x5003ac
cmp dword [ebx + 0x140], ecx
jne 0x5003ac
cmp dword [ebx + 0x21c], ecx
jne 0x5003ac
xor eax, eax
push eax
mov edi, ebx
call fcn.00502be6
jmp 0x50043e
cmp dword [ebx + 0x118], esi
jne 0x5003e3
lea edi, [ebx + 0x54]
mov ecx, edi
call 0x51f4c8
test eax, eax
jne 0x5003e3
cmp dword [ebx + 0xaec], esi
jne 0x5003e3
push edi
push dword [ebx + 0x274]
call fcn.004c82b0
mov esi, dword [0x4dd494]
call 0x530a1e
mov eax, dword [eax + 4]
push 0x14
push 0x4b83e0
push esi
mov ecx, eax
call 0x52fe67
mov dword [ebx + 0x2b8], eax
call dword [fcn.004af368]
and dword [ebx + 0x108], 0
xor edi, edi
inc edi
push edi
push 0x8c4
mov esi, ebx
mov dword [ebx + 0x3e0], eax
call fcn.004fd795
cmp dword [ebx + 0x4b8], 3
mov dword [ebx + 0x10c], edi
jne 0x50043e
push ebx
call fcn.004f924a
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4