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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x540020]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
push edi
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x78], 0
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x8c], 0
test edi, edi
je 0x4b0247
xor ecx, ecx
cmp dword [edi], 0x40
cmovge edi, ecx
mov dword [esp + 0x20], edi
mov al, byte [eax + 0x4c]
mov ecx, dword [ebp + 0x14]
and al, 0x10
mov byte [esp + 0x4f], al
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x7c], edi
cmp byte [esp + 0x4f], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x4b02a6
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.0042fce0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x40], ecx
lea esi, [ecx + ecx*4]
mov ecx, dword [esp + 0x2c]
shl esi, 4
lea eax, [esi + 0x2f7]
and eax, 0xfffffff8
mov dword [esp + 0x4c], eax
add eax, 0x48
push eax
call fcn.0042ca80
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x51], 0
je 0x4b0374
test ecx, ecx
je 0x4b06ac
cmp dword [eax + 0x1e8], 0
je 0x4b031d
mov edx, ecx
mov ecx, eax
call fcn.0042c6f0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
cmp ecx, dword [eax + 0x138]
jb 0x4b0355
cmp ecx, dword [eax + 0x13c]
jae 0x4b0355
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x134], ecx
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
push ecx
call fcn.0042c680
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx], edx
mov dword [ecx + 8], edi
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov byte [ecx + 0x2e], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x34]
mov word [ecx + 0x2c], ax
mov eax, dword [ebp + 0x18]
mov word [ecx + 0x14], ax
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x28], eax
lea eax, [esi + 0x48]
movups xmmword [ecx + 0x2f], xmm0
push eax
movups xmmword [ecx + 0x3f], xmm0
mov byte [ecx + 0x4f], 0
add ecx, 0x2f0
push 0
push ecx
mov dword [esp + 0x68], ecx
call fcn.004e0bd0
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add ecx, esi
mov dword [esp + 0x80], ecx
lea eax, [esi + 0x50]
mov dword [esp + 0x74], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], eax
lea eax, [ecx + 0x38]
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
mov dword [ecx + 0x24], 0
lea ecx, [esi + 0x50]
mov dword [esi + 0x1ec], 0
lea eax, [ecx + 0x18]
push 0x2c
mov dword [ecx], esi
mov byte [ecx + 9], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], eax
call fcn.004aa3a0
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x4b04a7
test edi, edi
je 0x4b0480
mov al, byte [edi]
mov byte [esi + 0x2f], al
test dword [esp + 0x34], 0x100
je 0x4b048e
mov byte [esi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x20]
call fcn.0044d350
mov eax, dword [esp + 0x30]
add esp, 0xc
jmp 0x4b04ec
mov esi, dword [esp + 0x24]
xor edi, edi
add esi, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x2c]
push dword [esp + 0x50]
mov ecx, dword [edx + 0x1ec]
mov dword [edx + ecx*4 + 0x1f0], eax
inc dword [edx + 0x1ec]
mov edx, esi
mov ecx, dword [esp + 0x1c]
call fcn.004aa760
mov eax, dword [esp + 0x28]
inc edi
add esp, 4
add esi, 0x48
cmp edi, dword [eax]
jl 0x4b04b0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
mov esi, dword [esi + 0xc]
sub esi, 1
js 0x4b051a
mov edi, dword [esp + 0x50]
nop dword [eax]
push esi
mov edx, edi
mov ecx, eax
call fcn.004a94f0
mov eax, dword [esp + 0x28]
add esp, 4
sub esi, 1
jns 0x4b0500
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x51], 0
jne 0x4b0690
mov esi, dword [esp + 0x50]
cmp dword [esi + 0xc], 0
jle 0x4b05ef
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x30], ecx
nop
mov esi, dword [esi + 0x14]
add esi, ecx
test byte [esi + 0xa], 2
jne 0x4b05d6
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4b05d6
cmp dword [esp + 0x3c], eax
je 0x4b05b6
mov edx, dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], eax
mov byte [esp + 0xa4], 1
mov dword [esp + 0x94], 0x4b01a0
mov dword [esp + 0x98], 0x465590
test edx, edx
je 0x4b05b6
lea ecx, [esp + 0x90]
call fcn.00460670
cmp byte [esp + 0xa4], 0
je 0x4b05d2
mov eax, dword [esp + 0x14]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x24]
call fcn.0046b160
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
inc edi
add ecx, 0x30
mov dword [esp + 0x30], ecx
cmp edi, dword [esi + 0xc]
jl 0x4b0540
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
and eax, 0x100
mov dword [esp + 0x48], eax
je 0x4b063b
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x54]
call fcn.004aae20
add esp, 8
test eax, eax
je 0x4b0625
mov edi, dword [esp + 0x14]
mov byte [edi + 0x33], 1
jmp 0x4b063f
test edi, edi
mov edi, dword [esp + 0x14]
jne 0x4b063f
mov eax, 0x80
mov dword [edi + 8], esi
or word [edi + 0x2c], ax
jmp 0x4b063f
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 1
jne 0x4b0653
lea ecx, [esp + 0x74]
call fcn.004affe0
test eax, eax
jne 0x4b06c2
lea ecx, [esp + 0x74]
call fcn.004aeae0
test eax, eax
jne 0x4b0690
xor edx, edx
mov ecx, edi
call fcn.004af6e0
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x4b0690
cmp dword [edi + 8], 0
je 0x4b06cc
movzx edx, word [edi + 0x48]
mov ecx, edi
inc dx
call fcn.004af6e0
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x51], 0
je 0x4b06c6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x84], eax
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.004ac100
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
cmp dword [edi + 8], 0
jne 0x4b06e7
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4b06e7
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x24], 0
jne 0x4b0690
cmp byte [ecx + 0x51], 0
jne 0x4b0690
cmp byte [edi + 0x2e], 2
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
jb 0x4b087a
test esi, esi
je 0x4b087a
mov eax, 0x100
test word [ecx + 0x4c], ax
jne 0x4b087a
mov edx, esi
lea ecx, [edi + 0x1e8]
call fcn.004aa6c0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
test edx, edx
je 0x4b0758
lea ecx, [edi + 0x1e8]
call fcn.004aa6c0
or dword [esp + 0x30], eax
or dword [esp + 0x2c], edx
movzx esi, byte [edi + 0x2e]
dec esi
mov dword [esp + 0x38], esi
cmp esi, 1
jl 0x4b087a
lea eax, [esi + esi*4]
shl eax, 4
add eax, 0x2f0
add eax, edi
mov dword [esp + 0x44], eax
nop dword [eax + eax]
mov edx, dword [eax + 0x40]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x58]
movzx eax, byte [edx + 0x10]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x60], edx
lea ecx, [eax + eax*8]
mov eax, dword [edi + 4]
test byte [eax + ecx*8 + 0x2c], 8
lea eax, [eax + ecx*8]
mov dword [esp + 0x68], eax
je 0x4b0861
cmp word [esp + 0x48], 0
jne 0x4b07c8
test dword [edx + 0x24], 0x1000
je 0x4b0861
mov eax, dword [edx + 8]
mov ecx, eax
mov edx, dword [edx + 0xc]
and ecx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, edx
and eax, dword [esp + 0x2c]
or ecx, eax
mov dword [esp + 0x40], edx
jne 0x4b0861
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x14]
mov esi, edx
mov eax, dword [eax + 0xc]
lea edi, [eax + eax*2]
shl edi, 4
add edi, edx
cmp esi, edi
jae 0x4b09ff
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
and ecx, dword [esi + 0x28]
and eax, dword [esp + 0x40]
or ecx, eax
je 0x4b0829
mov eax, dword [esi]
test byte [eax + 4], 1
je 0x4b0851
mov ecx, dword [esp + 0x68]
movsx eax, word [eax + 0x24]
cmp eax, dword [ecx + 0x34]
jne 0x4b0851
add esi, 0x30
cmp esi, edi
jb 0x4b0802
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
not esi
and esi, dword [esp + 0x6c]
not eax
and eax, dword [esp + 0x70]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
jmp 0x4b0a17
cmp esi, edi
jae 0x4b09ff
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
dec esi
sub eax, 0x50
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
cmp esi, 1
jge 0x4b0780
mov ecx, dword [edi]
movsx eax, word [edi + 0x48]
mov dword [esp + 0x38], 0
add dword [ecx + 0x84], eax
mov eax, dword [esp + 0x34]
test al, 4
je 0x4b0926
mov edx, dword [edi + 0x330]
mov ecx, dword [edx + 0x24]
test ecx, 0x1000
jne 0x4b08e3
mov dword [esp + 0x38], 0
test al, 8
je 0x4b0926
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], 0
jne 0x4b0926
test ecx, 0x2000
je 0x4b08e3
test byte [esp + 0x34], 0x10
mov dword [esp + 0x38], 0
je 0x4b0926
mov eax, ecx
mov dword [esp + 0x38], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x31], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4b0926
mov dword [esp + 0x38], 0
test cl, 0x40
je 0x4b0926
mov eax, dword [esp + 0x34]
and ecx, 0xffffffbf
and eax, 8
mov dword [edx + 0x24], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0x4b0c73
mov esi, dword [esp + 0x5c]
add esi, 0x40
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], esi
movzx eax, byte [esi - 0x14]
mov edx, 0xfff0bdc0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
lea eax, [eax + eax*8]
mov edi, dword [ecx + eax*8 + 0x18]
lea eax, [ecx + eax*8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], edi
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4b098c
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4b098c
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4b0980
mov dword [esp + 0x20], edx
test byte [edi + 0x24], 2
mov eax, dword [esi]
mov dword [esp + 0x44], eax
jne 0x4b0bd6
cmp dword [edi + 0xc], 0
jne 0x4b0bd6
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4b0ace
mov esi, dword [edi + 0x40]
test esi, esi
je 0x4b09cb
mov eax, dword [esp + 0x28]
nop
cmp dword [esi], eax
je 0x4b09cb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4b09c0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx + 0x6c]
mov edi, dword [eax + 0x34]
mov dword [esp + 0x5c], edi
cmp dword [ecx + 0x70], edx
jg 0x4b0a7f
push 0
push 0
push edi
mov edx, 0xa3
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x4b0ab6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
not eax
and dword [esp + 0x54], eax
not ecx
and dword [esp + 0x58], ecx
cmp edx, edi
jae 0x4b0a3c
mov esi, dword [esp + 0x60]
nop dword [eax + eax]
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x4b0a35
or word [edx + 0xa], 4
add edx, 0x30
cmp edx, edi
jb 0x4b0a20
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov cl, byte [edi + 0x2e]
movzx edx, cl
lea eax, [edx - 1]
cmp esi, eax
je 0x4b0a71
mov ecx, dword [esp + 0x44]
sub edx, esi
lea eax, [edx + edx*4]
shl eax, 4
sub eax, 0x50
push eax
lea eax, [ecx + 0x50]
push eax
push ecx
call fcn.004df730
mov cl, byte [edi + 0x2e]
add esp, 0xc
dec cl
dec dword [esp + 0x3c]
mov byte [edi + 0x2e], cl
jmp 0x4b0861
mov edi, dword [esp + 0x5c]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0xa3
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x1c]
push 0xfffffffffffffff4
push esi
call fcn.0044dad0
mov edi, dword [esp + 0x68]
add esp, 8
jmp 0x4b0bd6
cmp dword [edi + 0x38], 0
jne 0x4b0bd6
test al, 0x40
jne 0x4b0bc3
test byte [esp + 0x34], 0x20
jne 0x4b0bc3
mov esi, dword [esp + 0x14]
mov ecx, 0x6c
cmp byte [esi + 0x31], 0
je 0x4b0b09
mov eax, dword [esp + 0x40]
mov ecx, 0x6d
mov eax, dword [eax + 0x34]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push edx
mov edx, dword [eax + 0x34]
call fcn.004836f0
add esp, 0xc
cmp byte [esi + 0x31], 0
jne 0x4b0ba3
cmp word [edi + 0x2a], 0x40
jge 0x4b0ba3
test byte [edi + 0x24], 0x20
jne 0x4b0ba3
mov eax, dword [esp + 0x40]
xor esi, esi
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov eax, edx
or eax, ecx
je 0x4b0b55
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4b0b48
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
je 0x4b0b71
push esi
mov edx, 0xfffffffd
call fcn.0044d880
add esp, 4
jmp 0x4b0ba3
mov eax, dword [eax + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4b0b9c
mov ecx, dword [esp + 0x1c]
lea edx, [eax - 0x14]
push 0xfffffffffffffffd
push esi
call fcn.0044da00
add esp, 8
jmp 0x4b0ba3
mov dword [eax - 4], esi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x4b0bd6
mov edx, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4b0bd6
push dword [edi]
mov ecx, dword [esp + 0x1c]
push 0
push dword [edi + 0x1c]
call fcn.00472090
add esp, 0xc
mov edx, dword [esp + 0x44]
test dword [edx + 0x24], 0x200
je 0x4b0c1f
test byte [edi + 0x24], 0x20
mov esi, dword [edx + 0x20]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x2c], 0x6c
je 0x4b0d63
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x34]
jne 0x4b0d67
test al, 0x20
je 0x4b0d67
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0x3c]
mov dword [ecx - 0x38], eax
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x4b0c59
mov eax, dword [esi + 0x74]
mov edx, esi
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x4b0c59
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4b0c59
mov ecx, edx
call fcn.00479fd0
mov esi, dword [esp + 0x30]
add esi, 0x50
sub dword [esp + 0x48], 1
mov dword [esp + 0x30], esi
jne 0x4b0941
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x38], eax
cmp byte [esi + 0x51], 0
jne 0x4b0690
mov dword [esp + 0x48], 0
test ecx, ecx
jle 0x4b0d4d
add edi, 0x31c
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x4b0ce4
mov ecx, dword [esp + 0x24]
lea eax, [edi - 0x2c]
mov edx, dword [esp + 0x50]
push eax
movzx eax, byte [edi]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004ab150
add esp, 0x10
cmp byte [esi + 0x51], 0
jne 0x4b0690
push dword [esp + 0x34]
mov edx, dword [esp + 0x28]
lea esi, [edi - 0x2c]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004a4290
push dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov edx, ecx
push dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x5c]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x2c]
push esi
push dword [esp + 0x2c]
mov dword [edi - 0xc], eax
call fcn.004a5700
mov ecx, dword [edi - 0x14]
inc esi
mov dword [esp + 0x70], eax
add esp, 0x1c
mov eax, dword [esp + 0x14]
add edi, 0x50
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [eax + 0x20], ecx
jl 0x4b0ca1
mov edi, eax
mov ecx, dword [esp + 0xbc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x31], 0
je 0x4b0d9c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4b0d8f
cmp eax, esi
je 0x4b0d8f
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x4b0d83
mov dword [esp + 0x2c], 0x6d
mov dword [ecx + 0x1c], edx
jmp 0x4b0dc3
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4b0db6
test al, 0x20
je 0x4b0db6
mov edx, ecx
mov dword [esp + 0x2c], 0x6a
mov eax, ecx
jmp 0x4b0dc5
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword [ecx - 0x38], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x2c]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4b0df2
mov ecx, dword [esp + 0x20]
push ecx
push edi
push edx
mov edx, dword [esp + 0x38]
mov ecx, eax
call fcn.0044d060
add esp, 0xc
jmp 0x4b0e32
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
mov edx, esi
mov esi, eax
mov ecx, esi
mov edi, dword [eax + 8]
call fcn.0047a960
mov edx, eax
test edx, edx
je 0x4b0e74
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4b0e62
push edx
mov edx, 0xfffffff7
call fcn.0044d880
add esp, 4
jmp 0x4b0e74
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x24]
test al, 0xf
je 0x4b0c23
mov edi, dword [esp + 0x14]
test eax, 0x8002
jne 0x4b0c27
test byte [edi + 0x2c], 1
jne 0x4b0c27
cmp byte [edi + 0x33], 2
je 0x4b0c27
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4b0c27
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4b0c27