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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x511080]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, ecx
xorps xmm0, xmm0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], edx
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
test ecx, ecx
je 0x4b94e2
cmp dword [ecx], 0x40
mov dword [esp + 0x20], 0
cmovge ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi]
cmp ecx, 0x40
jle 0x4b950f
push 0x40
push str.at_most__d_tables_in_a_join
push eax
call fcn.0041c910
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x20
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x44], ecx
lea eax, [ecx + ecx*2]
mov ecx, edx
shl eax, 5
mov dword [esp + 0x24], eax
add eax, 0x2ff
and eax, 0xfffffff8
mov dword [esp + 0x1c], eax
add eax, 0x50
push eax
call fcn.00419010
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edi
cmp byte [eax + 0x57], 0
je 0x4b957c
test edi, edi
je 0x4b9983
mov edx, edi
mov ecx, eax
call fcn.00418b80
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [edi], ecx
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov byte [edi + 0x2c], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x18]
mov word [edi + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [edi + 0x2a], ax
mov eax, dword [ecx + 0x8c]
lea ecx, [edi + 0x2f8]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x20]
add eax, 0x50
mov dword [esp + 0x2c], ecx
push eax
movups xmmword [edi + 0x2d], xmm0
push 0
movups xmmword [edi + 0x3d], xmm0
mov word [edi + 0x4d], 0
push ecx
mov byte [edi + 0x4f], 0
call fcn.004d4bd0
mov ecx, dword [esp + 0x24]
lea eax, [edi + 0x1f0]
mov dword [eax + 4], 0
lea edx, [edi + 0x50]
add ecx, edi
mov dword [eax + 8], 0xffffff9d
mov dword [esp + 0x3c], eax
add esp, 0xc
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edx
lea eax, [ecx + 0x40]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
lea eax, [edx + 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [edx], edi
mov edi, eax
mov dword [esp + 0x58], ecx
mov byte [edx + 9], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 8
test eax, eax
je 0x4b96a7
mov eax, dword [edi + 4]
test eax, 0x82000
je 0x4b96a3
test eax, 0x80000
je 0x4b969c
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 8]
jmp 0x4b969f
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4b9683
mov eax, dword [esp + 0x1c]
mov byte [edx + 8], 0x2c
test edi, edi
je 0x4b96ee
cmp byte [edi], 0x2c
je 0x4b96c8
mov edi, dword [esp + 0x54]
mov edx, eax
push 0
mov ecx, edi
call fcn.004ae3e0
add esp, 4
jmp 0x4b96f2
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x54]
push 0x2c
call fcn.004b1280
mov edx, dword [edi + 0x10]
add esp, 4
mov edi, dword [esp + 0x54]
mov ecx, edi
push 0x2c
call fcn.004b1280
add esp, 4
jmp 0x4b96f2
mov edi, dword [esp + 0x54]
cmp dword [esp + 0x40], 0
jne 0x4b973a
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4b9709
mov al, byte [eax]
mov byte [ecx + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x4b9720
mov eax, dword [esp + 0x24]
test byte [eax + 0x50], 0x10
jne 0x4b9720
mov byte [ecx + 0x2f], 1
mov edx, dword [esp + 0xc]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.00440e10
mov ecx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4b9797
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
add edx, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x2c]
mov dword [edi + ecx*4 + 8], eax
mov eax, edi
mov edi, dword [esp + 0x54]
mov ecx, esi
push edi
inc dword [eax + 4]
call fcn.004b1930
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x28]
inc eax
mov edx, dword [esp + 0x44]
add edx, 0x48
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edx
cmp eax, dword [ecx]
jl 0x4b9751
mov esi, dword [esp + 0x3c]
mov eax, dword [edi + 0xc]
sub eax, 1
mov dword [esp + 0x20], eax
js 0x4b97bd
mov esi, eax
push esi
mov edx, edi
call fcn.004afc00
mov ecx, dword [esp + 0x2c]
add esp, 4
sub esi, 1
jns 0x4b97a5
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b97d4
cmp dword [eax + 0x3c], 0
je 0x4b97d4
mov edx, eax
mov ecx, edi
call fcn.004b1480
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4b9967
cmp dword [edi + 0x14], 0
mov dword [esp + 0x1c], 0
jle 0x4b98ac
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor eax, eax
mov edi, dword [edi + 0x18]
add edi, ecx
test byte [edi + 0xa], 2
jne 0x4b988c
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x4b9888
cmp dword [esp + 0x40], eax
je 0x4b986c
mov edx, dword [edi]
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
mov eax, 1
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov word [esp + 0x84], ax
mov dword [esp + 0x74], 0x4b8da0
mov dword [esp + 0x78], 0x45abe0
test edx, edx
je 0x4b986c
lea ecx, [esp + 0x70]
call fcn.00454c50
cmp word [esp + 0x84], 0
je 0x4b9884
push 0x10
push dword [esi + 0x20]
push dword [edi]
push dword [esp + 0x18]
call fcn.00461c00
add esp, 0x10
or word [edi + 0xa], 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
inc eax
lea edi, [esi + 0x50]
add ecx, 0x30
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [edi + 0x14]
jl 0x4b9800
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x18]
test edx, 0x100
je 0x4b9912
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x50], 0x10
je 0x4b98d9
mov edi, dword [esp + 0x10]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [ebp + 0x18], edx
and word [edi + 0x28], ax
jmp 0x4b9916
push dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ecx, eax
push edi
call fcn.004b2130
mov edi, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4b98fa
mov byte [edi + 0x2f], 1
jmp 0x4b9916
cmp dword [ebp + 0xc], 0
jne 0x4b9916
mov eax, 0x80
or word [edi + 0x28], ax
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
jmp 0x4b9916
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x40], 1
jne 0x4b992a
lea ecx, [esp + 0x50]
call fcn.004b8b60
test eax, eax
jne 0x4b9999
lea ecx, [esp + 0x50]
call fcn.004b7320
test eax, eax
jne 0x4b9967
xor edx, edx
mov ecx, edi
call fcn.004b80e0
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x4b9967
cmp dword [edi + 8], 0
je 0x4b99a3
movzx edx, word [edi + 0x34]
mov ecx, edi
inc dx
call fcn.004b80e0
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x57], 0
je 0x4b999d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x8c], eax
mov edx, ecx
mov ecx, dword [esp + 0x24]
call fcn.004b4170
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
cmp dword [edi + 8], 0
jne 0x4b99be
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4b99be
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4b9967
mov al, byte [edi + 0x2c]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
cmp al, 2
jb 0x4b9a35
cmp dword [esp + 0x14], 0
je 0x4b9a21
mov eax, dword [ebp + 0x18]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x4b9a21
test dword [ecx + 0x50], 0x100
jne 0x4b9a21
sub esp, 8
mov ecx, edi
call fcn.004b8dd0
mov dword [esp + 0x4c], eax
add esp, 8
mov al, byte [edi + 0x2c]
movzx ecx, al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], ecx
cmp al, 2
jb 0x4b9a35
mov eax, dword [esp + 0x24]
test dword [eax + 0x50], 0x80000
jne 0x4b9a35
mov ecx, edi
call fcn.004b9030
mov ecx, dword [edi]
movsx eax, word [edi + 0x34]
add dword [ecx + 0x8c], eax
xor ecx, ecx
test byte [ebp + 0x18], 4
je 0x4b9ab1
mov eax, dword [edi + 0x348]
mov edx, dword [eax + 0x2c]
test edx, 0x1000
jne 0x4b9a7b
test byte [ebp + 0x18], 8
je 0x4b9ab1
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4b9ab1
test edx, 0x2000
je 0x4b9a7b
test byte [ebp + 0x18], 0x10
je 0x4b9ab1
mov eax, edx
and eax, 0x1000
neg eax
sbb al, al
xor ecx, ecx
add al, 2
mov byte [edi + 0x2e], al
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x4b9ab1
test dl, 0x40
je 0x4b9ab1
mov eax, dword [edi + 0x348]
and edx, 0xffffffbf
mov ecx, dword [ebp + 0x18]
and ecx, 8
mov dword [eax + 0x2c], edx
movzx eax, cx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x4ba296
lea edx, [edi + 0x2f8]
movzx eax, byte [edx + 0x3c]
mov edx, 0xffff8000
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4b9b22
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4b9b1e
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4b9b12
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
test dword [eax + 0x1c], 0x4000
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x30], ecx
jne 0x4b9c03
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x4b9c03
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4b9d4b
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x4b9b6e
mov eax, dword [esp + 0x24]
cmp dword [edi], eax
je 0x4b9b6e
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4b9b63
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x2c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], edx
jg 0x4b9b99
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov edx, eax
jmp 0x4b9bd0
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0xad
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4b9c03
test edx, edx
jns 0x4b9be0
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b9d34
push 0xfffffffffffffff5
push edi
mov edx, eax
mov ecx, esi
call fcn.004414b0
add esp, 8
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
test dword [eax + 0x2c], 0x200
je 0x4b9c54
mov ecx, dword [eax + 0x20]
mov eax, 0x70
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
test byte [eax + 0x1c], 0x80
je 0x4b9e88
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x4b9e8b
test al, 0x20
je 0x4b9e8b
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
js 0x4b9c9a
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
test eax, eax
cmovne edx, eax
mov eax, dword [edx + 0x58]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x18], eax
jne 0x4b9c9a
mov eax, dword [esp + 0x18]
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x4b9c9a
mov ecx, edx
call fcn.00474900
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x10
je 0x4ba276
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.00419010
mov edx, eax
mov dword [esp + 0x1c], eax
add esp, 8
test edx, edx
je 0x4b9cdf
mov ecx, dword [edi + 0x44]
mov dword [edx], ecx
mov dword [edx + 8], 0x14
mov dword [edx + 0xc], 0
mov dword [edi + 0x44], edx
add edx, 0x10
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x38], edx
test edx, edx
je 0x4ba276
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [edx], eax
mov eax, dword [ecx + 0x2c]
inc dword [ecx + 0x28]
inc eax
mov dword [ecx + 0x2c], eax
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], ecx
jg 0x4ba007
push 0
push eax
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.00440850
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4ba03e
test edi, edi
je 0x4b9c03
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf5
inc dword [edi + 0xc]
jmp 0x4b9c03
cmp al, 1
je 0x4b9c03
test cl, 0x40
jne 0x4b9d5e
test byte [ebp + 0x18], 0x20
je 0x4b9da6
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x50
jne 0x4b9daa
mov edi, dword [esp + 0xc]
cmp edx, 1
je 0x4b9c07
mov eax, dword [edi]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4b9c07
mov eax, dword [esp + 0x34]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.0046af60
add esp, 0xc
jmp 0x4b9c07
mov eax, dword [esp + 0x38]
cmp byte [edi + 0x2e], 0
mov ecx, 0x70
je 0x4b9dc0
mov eax, dword [eax + 0x2c]
mov ecx, 0x71
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x2c]
call fcn.0047f560
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x4b9e65
mov eax, dword [esp + 0x34]
cmp word [eax + 0x22], 0x40
jge 0x4b9e65
test byte [eax + 0x1c], 0xe0
jne 0x4b9e65
mov eax, dword [esp + 0x30]
test dword [eax + 0x2c], 0x404000
jne 0x4b9e65
mov eax, dword [esp + 0x38]
xor edi, edi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x4b9e21
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4b9e14
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b9e39
push edi
mov edx, 0xfffffffd
call fcn.00441340
add esp, 4
jmp 0x4b9e65
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4b9e5e
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.004414b0
add esp, 8
jmp 0x4b9e65
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0xc]
test eax, eax
jle 0x4b9c07
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4b9c07
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x2e], 0
je 0x4b9ebc
mov eax, dword [esp + 0x38]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4b9eb2
cmp eax, ecx
je 0x4b9eb2
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4b9ea6
mov dword [edx + 0x18], edi
mov edx, 0x71
jmp 0x4b9f0e
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4b9ed0
test al, 0x20
je 0x4b9ed0
mov edi, edx
mov edx, 0x65
jmp 0x4b9f0e
mov edi, dword [edi + 0x28]
mov edx, dword [esp + 0xc]
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
test dword [ecx + 0x38], 0x800
je 0x4b9f0a
mov eax, dword [esp + 0x24]
test dword [eax + 0x50], 0x1000000
jne 0x4b9f0a
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.004b91c0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
mov eax, edi
mov dword [esi + 8], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x4c], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9f3d
mov ecx, dword [esp + 0x14]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4b9f73
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov byte [eax + 1], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x18]
mov edi, dword [eax + 8]
call fcn.004751a0
mov edx, eax
test edx, edx
je 0x4b9fb5
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b9fa3
push edx
mov edx, 0xfffffff8
call fcn.00441340
add esp, 4
jmp 0x4b9fb5
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x4b9c54
mov edi, dword [esp + 0x10]
test eax, 0x188002
jne 0x4b9c58
test byte [edi + 0x28], 1
jne 0x4b9c58
cmp byte [edi + 0x2f], 2
je 0x4b9c58
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b9c58
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4b9c58
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x10000
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], ecx
jg 0x4ba071
push 0
push eax
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00440850
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4ba0a8
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
test byte [eax + 0x1c], 0x80
jne 0x4ba1a2
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x4ba0d6
push 0
push 1
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4ba109
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
push 0
push 0x19
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.00419010
mov edx, eax
add esp, 8
test edx, edx
je 0x4ba150
mov eax, dword [esp + 0x14]
lea ecx, [edx + 0x18]
mov dword [edx + 0x10], ecx
mov dword [edx + 6], 0x10001
mov al, byte [eax + 0x54]
mov byte [edx + 4], al
mov eax, dword [esp + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx], 1
mov byte [ecx], 0
jmp 0x4ba163
mov ecx, dword [esp + 0x14]
call fcn.004192e0
mov edx, eax
test edx, edx
je 0x4ba266
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4ba18b
push edx
mov edx, 0xfffffff8
call fcn.00441340
add esp, 4
jmp 0x4ba266
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
jmp 0x4ba266
mov edi, dword [eax + 8]
test edi, edi
je 0x4ba1c0
nop dword [eax]
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4ba1c0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4ba1b0
movzx eax, word [edi + 0x32]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], ecx
jg 0x4ba1e7
push 0
push eax
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4ba21a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov edx, edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, eax
call fcn.004751a0
mov edi, eax
test edi, edi
je 0x4ba262
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4ba250
push edi
mov edx, 0xfffffff8
call fcn.00441340
add esp, 4
jmp 0x4ba262
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
and dword [ecx + 0x2c], 0xffffffbf
mov byte [edi + 0x2d], 0
mov byte [edi + 0x2f], 3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x40]
add edx, 0x60
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
cmp eax, ecx
jl 0x4b9ad2
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x57], 0
jne 0x4b9967
xor edx, edx
mov dword [esp + 0x14], edx
test ecx, ecx
jle 0x4ba52e
lea eax, [edi + 0x50]
add edi, 0x334
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edi
nop dword [eax]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x24], 0
jne 0x4b9967
mov eax, dword [edi + 0x14]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
movzx eax, byte [edi]
lea eax, [eax + eax*8]
test byte [esi + eax*8 + 0x30], 0x10
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
je 0x4ba45d
test byte [eax + 0x30], 8
je 0x4ba37b
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x70], ecx
jg 0x4ba33f
push 0
push dword [esp + 0x24]
mov edx, 0xa
mov ecx, esi
push eax
call fcn.00440850
add esp, 0xc
jmp 0x4ba455
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ba459
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x20], edx
cmp dword [esi + 0x70], edx
jg 0x4ba3a2
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4ba3d5
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x70], ecx
jg 0x4ba400
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4ba433
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4ba445
mov eax, 0x514d18
jmp 0x4ba452
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
test dword [esp + 0x18], 0x404000
je 0x4ba4bf
test dword [esp + 0x18], 0x4000
lea eax, [edi - 0x3c]
je 0x4ba49c
mov edx, dword [esp + 0x28]
push eax
movzx eax, byte [edi]
push dword [esp + 0x20]
push dword [esp + 0x4c]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x58]
push eax
call fcn.004b2450
add esp, 0x10
jmp 0x4ba4b1
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x48]
push eax
call fcn.004b3400
add esp, 0xc
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x57], 0
jne 0x4b9967
push dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
add edi, 0xffffffc4
mov ecx, dword [esp + 0x10]
push edi
call fcn.004a8920
push dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, esi
push dword [esp + 0x50]
mov eax, dword [esi + 0x6c]
push edi
push dword [esp + 0x28]
mov dword [ecx - 0x1c], eax
push dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
call fcn.004aa4e0
mov edi, dword [esp + 0x48]
add esp, 0x1c
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
inc edx
mov eax, dword [edi - 0x24]
add edi, 0x60
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], edi
cmp edx, dword [esp + 0x40]
jl 0x4ba2d0
mov edi, ecx
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x3c], eax
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret