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

Disassembly:
mov eax, 0x60ce6c
call fcn.005f870c
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2c]
push esi
xor esi, esi
push edi
mov edi, ecx
cmp eax, esi
jne 0x49e80d
mov eax, dword [0x6a677c]
jmp 0x49e822
cmp eax, dword [0x6a677c]
jne 0x49e822
push esi
push 1
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00420f6d
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
call fcn.0046458f
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x49e867
mov eax, dword [ecx]
push ebx
lea edx, [ebp - 0x80]
push edx
call dword [eax + 0x464]
mov ecx, dword [eax]
sub dword [ebp + 0x14], ecx
mov eax, dword [eax + 4]
sub dword [ebp + 0x18], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004123d1
mov ecx, dword [eax]
add dword [ebp + 0x14], ecx
mov eax, dword [eax + 4]
add dword [ebp + 0x18], eax
mov eax, dword [ebx + 0xf4]
cmp eax, esi
je 0x49e876
mov eax, dword [eax - 4]
jmp 0x49e878
xor eax, eax
cmp eax, esi
je 0x49e891
mov eax, dword [ebx + 0xf0]
cmp eax, esi
je 0x49e88b
mov eax, dword [eax - 4]
jmp 0x49e88d
xor eax, eax
cmp eax, esi
jne 0x49e8d1
mov eax, dword [ebx + 0xd0]
cmp eax, esi
je 0x49e8a0
mov eax, dword [eax - 4]
jmp 0x49e8a2
xor eax, eax
cmp eax, esi
je 0x49e8d1
push dword [ebp + 0xc]
lea esi, [ebx + 0x88]
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x274]
mov eax, dword [ebp - 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
xor esi, esi
mov eax, dword [edi]
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, edi
call dword [eax + 0xb0]
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xf0], 0x646408
mov dword [ebp - 0x9c], 0x646420
mov dword [ebp - 0x90], esi
call fcn.0046458f
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
call fcn.0046458f
mov dword [ebp - 0x84], esi
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [ebp - 0x28]
or dword [ebp - 0xb4], 0xffffffff
or dword [ebp - 0xb0], 0xffffffff
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov esi, dword [edi]
mov dword [ebp - 0xc8], 0x646414
mov dword [ebp - 0x14], eax
call fcn.00456a2b
push eax
mov ecx, edi
call dword [esi + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0x3c]
mov ecx, 0xff000000
cmp eax, ecx
jne 0x49e994
mov eax, ecx
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x49e9ab
mov eax, dword [eax - 4]
jmp 0x49e9ad
xor eax, eax
test eax, eax
jne 0x49ea13
cmp dword [ebp - 0x14], eax
je 0x49ea08
mov ecx, dword [ebp - 0x14]
mov esi, ebx
call fcn.00464dd3
test eax, eax
je 0x49ea08
xor esi, esi
cmp eax, esi
jle 0x49e9ff
push 2
pop ecx
cmp eax, ecx
jle 0x49e9d6
cmp eax, 4
jne 0x49e9ff
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004293b0
lea eax, [ebp - 0x54]
push eax
push edi
lea ecx, [ebp - 0x9c]
call fcn.0049dda3
mov byte [ebp - 4], 3
jmp 0x49f3a1
mov byte [ebp - 4], 4
xor esi, esi
jmp 0x49f3a1
lea eax, [ebx + 0x88]
push eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004293b0
lea ecx, [esi + 0x94]
call fcn.004863b1
mov byte [ebp - 0x10], al
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], al
test al, al
je 0x49ea59
mov eax, dword [edi]
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, edi
call dword [eax + 0xc8]
mov byte [ebp - 0x34], al
cmp byte [ebp - 0x10], 0
mov byte [ebp - 4], 5
je 0x49ea6d
cmp byte [ebp - 0x34], 0
je 0x49f35e
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x49ea97
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [ebp - 0x3c], esp
push esi
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [eax + 4], ecx
call fcn.0049e2b4
add esp, 0x1c
jmp 0x49eacd
mov eax, dword [ebp + 0x10]
push ebx
lea esi, [ebp - 0x80]
call fcn.00499a7d
mov esi, dword [ebp + 0x14]
sub esi, dword [eax]
push ecx
mov ecx, dword [ebp + 0x18]
sub ecx, dword [eax + 4]
mov edx, esp
mov dword [ebp - 0x3c], esp
push 1
push dword [ebp + 0x10]
mov dword [edx], esi
push ebx
push dword [ebp + 0xc]
mov dword [edx + 4], ecx
push edi
call fcn.0049e2b4
add esp, 0x1c
xor esi, esi
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
call fcn.0046458f
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x14], esi
je 0x49eb58
mov ecx, dword [ebp - 0x14]
mov esi, ebx
call fcn.00464dd3
test eax, eax
je 0x49eb58
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x94], ebx
call fcn.00465009
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
call fcn.0042d895
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0046458f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x70]
push eax
call fcn.004650f5
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.0042d895
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0046458f
lea eax, [ebp - 0x9c]
jmp 0x49ec78
mov eax, dword [ebp - 0x28]
add eax, 8
call fcn.00499853
test al, al
jne 0x49ec7b
mov eax, ebx
call fcn.004999cb
test al, al
je 0x49ec7b
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xcc]
push 3
mov dword [ebp - 0xb0], eax
mov eax, dword [edi]
push 0x6463fc
mov ecx, edi
call dword [eax + 0x30]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x460]
mov esi, ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x49ebdf
mov eax, dword [0x6a677c]
jmp 0x49ebf5
cmp eax, dword [0x6a677c]
jne 0x49ebf5
push 0
push 1
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00420f6d
mov eax, dword [eax + 0x4a0]
cmp eax, 0x80000000
je 0x49ec07
cmp eax, 1
jg 0x49ec13
mov esi, dword [esi + 0x20]
mov dword [ebp - 0x2c], esi
test esi, esi
jne 0x49ebd1
jmp 0x49ec72
mov eax, dword [esi]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, esi
call dword [eax + 0x460]
mov ecx, dword [eax + 4]
sub ecx, dword [ebp - 0x5c]
mov eax, dword [eax]
mov esi, dword [ebp + 0x18]
sub eax, dword [ebp - 0x60]
sub esp, 0x10
mov edx, esp
mov dword [ebp - 0x3c], esp
push ecx
push ecx
add ecx, esi
mov esi, dword [ebp + 0x14]
add esi, eax
mov eax, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x58], esp
push edx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x54]
mov dword [eax], esi
mov eax, dword [ecx]
push edx
call dword [eax + 0x47c]
mov ecx, eax
call fcn.0042941f
lea ecx, [ebp - 0xbc]
call fcn.00429445
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x44]
mov eax, ecx
sub eax, 0xff
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0x40]
cmp eax, 1
sete al
mov byte [ecx + 4], al
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, edi
call dword [eax + 0xb0]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x80], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb8]
mov ebx, dword [ebx + 0xf4]
mov byte [ebp - 0x10], al
test ebx, ebx
je 0x49ecd3
mov ebx, dword [ebx - 4]
jmp 0x49ecd5
xor ebx, ebx
and dword [ebp - 0x2c], 0
lea eax, [ebx - 1]
mov dword [ebp - 0x3c], eax
test eax, eax
jl 0x49f34d
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
shl ebx, 5
add ebx, dword [eax + 0xf4]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
lea ecx, [eax + ecx - 1]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
add dword [ebp - 0x68], eax
cmp byte [ebp - 0x10], 0
lea esi, [ecx + eax]
je 0x49ed6d
mov eax, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
call dword [eax + 0x10]
cmp dword [ebp - 0x68], esi
jg 0x49ed29
mov ecx, esi
sub ecx, dword [ebp - 0x68]
inc ecx
jmp 0x49ed2b
xor ecx, ecx
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], eax
jg 0x49ed39
sub eax, dword [ebp - 0x60]
inc eax
jmp 0x49ed3b
xor eax, eax
cmp ecx, eax
jg 0x49ed8a
push esi
push dword [ebp - 0x68]
lea eax, [ebp - 0xf8]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call fcn.0042a2fa
mov ecx, dword [ebp - 0x68]
add esp, 0x14
cmp dword [eax], ecx
jne 0x49f33e
cmp dword [eax + 4], esi
je 0x49ed8a
jmp 0x49f33e
push esi
push dword [ebp - 0x68]
push dword [ebp - 0xa0]
push dword [ebp - 0x80]
call fcn.0043989b
add esp, 0x10
test al, al
je 0x49f33e
push ecx
push ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xf0]
mov dword [ebp - 0x24], esp
mov eax, esp
test ecx, ecx
je 0x49eda3
mov edx, dword [ecx - 4]
jmp 0x49eda5
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov dword [ebp - 0x24], esp
push edi
call dword [eax + 4]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
jmp 0x49f335
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf0]
test eax, eax
je 0x49ede8
mov eax, dword [eax - 4]
jmp 0x49edea
xor eax, eax
cmp dword [ebp - 0x14], eax
jge 0x49f33e
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x1c
add eax, dword [edx + 0xf0]
cmp dword [eax + 8], 0
mov dword [ebp - 0x20], eax
jbe 0x49ee0d
mov ecx, dword [eax + 4]
jmp 0x49ee12
mov ecx, 0x6a64ec
cmp dword [ebp + 0x10], 0
movzx ecx, word [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x24], ecx
je 0x49ee41
cmp eax, edx
je 0x49f32f
mov edx, dword [eax]
push 1
push dword [ebp + 0x10]
mov ecx, eax
call dword [edx + 0x1d8]
test al, al
je 0x49f32f
jmp 0x49ee62
cmp eax, edx
je 0x49ee62
mov esi, eax
jmp 0x49ee5e
cmp esi, dword [ebp + 8]
je 0x49ee62
call fcn.00412580
test al, al
jne 0x49f32f
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x49ee49
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov esi, dword [ebp - 0x1c]
cmp eax, esi
je 0x49ef11
mov esi, eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x1c], esi
test eax, eax
jne 0x49ee85
mov eax, dword [0x6a677c]
jmp 0x49ee9b
cmp eax, dword [0x6a677c]
jne 0x49ee9b
push 0
push 1
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00420f6d
and dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0046458f
mov byte [ebp - 4], 9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.0046458f
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0046458f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 1
jne 0x49ef04
mov eax, dword [edi]
push dword [ebp + 0xc]
add eax, 0xc
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.00415c84
push eax
mov eax, dword [ebp - 0x30]
mov ecx, edi
call dword [eax]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x3c]
mov ecx, 0xff000000
cmp eax, ecx
jne 0x49eefc
mov eax, ecx
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x3c]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
cmp esi, dword [ebp + 8]
jne 0x49ef1b
mov eax, dword [ebp - 0x74]
jmp 0x49ef28
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x15c]
mov dword [ebp - 0x18], eax
cmp esi, dword [ebp + 8]
jne 0x49ef35
mov eax, dword [ebp - 0x78]
jmp 0x49ef42
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov dword [ebp - 0x30], eax
cmp esi, dword [ebp + 8]
jne 0x49ef4e
xor eax, eax
jmp 0x49ef5b
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x154]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebp + 0x18]
movzx edx, word [ecx + 0xe]
add eax, dword [ebx + 0xc]
movsx ecx, word [ecx + 0xc]
add eax, dword [ebx + 4]
add ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], ecx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0xa4], edx
call fcn.004293b0
cmp esi, dword [ebp + 8]
je 0x49eff0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x49eff0
cmp dword [eax + 0x490], 0
je 0x49eff0
mov ecx, dword [eax + 0x490]
test ecx, ecx
je 0x49efc9
cmp ecx, 0x10
jne 0x49efc9
mov eax, dword [ebx + 0xc]
add eax, dword [ebp + 0x18]
jmp 0x49efdf
mov eax, ecx
test eax, eax
je 0x49eff0
cmp eax, 0x30
jne 0x49eff0
mov eax, dword [ebx]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp + 0x18]
add eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
mov ecx, eax
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
add dword [ebp - 0x48], ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004155b0
test al, al
je 0x49f32f
cmp esi, dword [ebp + 8]
je 0x49f10e
push dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
call fcn.00499f7d
pop ecx
test al, al
jne 0x49f10b
mov ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x1d0]
test eax, eax
jne 0x49f32f
push dword [ebp + 0xc]
mov ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x3e0]
test eax, eax
je 0x49f32f
mov ecx, esi
call fcn.0041252a
test al, al
jne 0x49f32f
mov ecx, dword [ebp - 0xe8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xe0]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x24], esp
sub esp, 0x10
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push ecx
mov dword [eax], edx
mov edx, dword [ebp + 0x18]
push ecx
push ecx
mov dword [eax + 4], edx
mov eax, esp
mov dword [ebp - 0x24], esp
push eax
mov eax, esi
call fcn.004123d1
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, esi
call dword [eax + 0x220]
mov ecx, eax
call fcn.0042941f
mov ecx, eax
call fcn.0042941f
call fcn.004382db
add esp, 0x20
test al, al
je 0x49f32f
push ecx
push ecx
mov ecx, esi
mov eax, dword [ecx + 0x7c]
mov esi, dword [ecx + 0x78]
add eax, dword [ebp + 0x18]
add esi, dword [ebp + 0x14]
mov edx, esp
mov dword [ebp - 0x24], esp
push dword [ebp + 0xc]
mov dword [edx], esi
mov dword [edx + 4], eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x288]
jmp 0x49f32f
mov esi, dword [ebp - 0x1c]
mov eax, 0xad
cmp word [ebp - 0x24], ax
jne 0x49f125
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x18]
jne 0x49f32f
cmp esi, dword [ebp + 8]
jne 0x49f12f
mov eax, dword [ebp - 0x78]
jmp 0x49f13c
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x49f14d
mov eax, dword [0x6a677c]
jmp 0x49f174
cmp eax, dword [0x6a677c]
jne 0x49f171
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x490]
test eax, eax
je 0x49f171
push 0
push 1
push eax
mov ecx, esi
call fcn.00420f6d
jmp 0x49f174
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x44]
mov eax, ecx
sub eax, 0xff
neg eax
mov esi, dword [ebp - 0x20]
sbb eax, eax
and eax, ecx
cmp eax, 1
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x40]
call fcn.0049e614
add esp, 0x18
test al, al
je 0x49f32f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x49f1c6
mov eax, dword [0x6a677c]
jmp 0x49f1dc
cmp eax, dword [0x6a677c]
jne 0x49f1dc
push 0
push 1
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00420f6d
and dword [ebp - 0x20], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0046458f
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 1
jne 0x49f28e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4cc]
cmp eax, 0x80000000
je 0x49f289
test eax, eax
je 0x49f289
mov eax, dword [ebx + 0xc]
add eax, dword [ebp + 0x18]
mov ecx, dword [ebx]
mov esi, dword [edi]
push dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [eax + ecx - 1]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
add esi, 0xc
call fcn.00415c84
push eax
mov ecx, edi
call dword [esi]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov ecx, 0xff000000
mov edx, ecx
cmp eax, ecx
je 0x49f24b
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4cc]
push dword [ebx + 4]
mov eax, ecx
sub eax, 0x80000000
neg eax
sbb eax, eax
and eax, ecx
push edx
push eax
lea eax, [ebp - 0x54]
call fcn.0049d303
mov esi, dword [edi]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push dword [ebp + 0xc]
add esi, 0xc
call fcn.00415c84
push eax
mov ecx, edi
call dword [esi]
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp + 8]
je 0x49f2ac
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0046458f
mov esi, dword [esi + 0x20]
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x49f1b5
jmp 0x49f2ba
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0046458f
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x74]
push dword [eax + 0x70]
push 0
push 1
call fcn.0040ada5
add esp, 0x10
test al, al
je 0x49f32f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb8]
test al, al
je 0x49f32f
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], 6
mov eax, dword [ecx]
mov dword [ebp - 0x24], esp
call dword [eax + 0x48c]
mov ecx, dword [ebp - 0x1c]
add eax, 0x120
push eax
lea eax, [ebp - 0x58]
push eax
add ecx, 0x14
call fcn.00459a47
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc4]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00403689
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x18]
jle 0x49edd6
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jle 0x49ece7
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0046458f
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [ebx + 0xec], esi
je 0x49f389
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [ebp + 8], esp
push dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [eax + 4], ecx
push dword [ebx + 0xec]
call fcn.004990e6
mov byte [ebp - 4], 2
cmp byte [ebp - 0x34], 0
je 0x49f39d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov byte [ebp - 4], 0xc
push esi
lea ecx, [ebp - 0x88]
call fcn.0046458f
push esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call fcn.0046458f
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x28]
call fcn.0046458f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14