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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
movzx eax, word [ecx]
push esi
push edi
cmp ax, 0x40
jle 0x4c1b1e
push 0x40
push str.at_most__d_tables_in_a_join
push ebx
call fcn.00467ca0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x1c], 0x40
je 0x4c1b2e
mov dword [esp + 0x20], 1
jmp 0x4c1b35
movsx edx, ax
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x20]
mov esi, dword [ebx]
lea edi, [edi + edi*4]
shl edi, 4
add edi, 0x3f
and edi, 0xfffffff8
lea ecx, [edi + 0x26c]
mov dword [esp + 0x2c], esi
call fcn.00465d60
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x4c1b72
lea eax, [edi + 0x26c]
push eax
push 0
push esi
call fcn.004da450
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x36], 0
je 0x4c1b90
mov ecx, dword [esp + 0x2c]
mov eax, esi
call fcn.00465b20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
mov dword [esi], ebx
mov dword [esi + 0xc], edx
call fcn.00481820
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov ax, word [ebp + 0x1c]
add edi, esi
mov dword [esi + 0x20], edi
mov word [esi + 4], ax
fld qword [ebx + 0x1b8]
fstp qword [esi + 0x28]
test byte [ecx + 0x18], 0x80
mov dword [esp + 0x3c], edi
je 0x4c1bd6
mov dword [ebp + 0x18], 0
push 0x104
lea eax, [edi + 0x168]
push 0
push eax
call fcn.004da450
mov cx, word [ebp + 0x1c]
lea eax, [edi + 0x168]
mov dword [edi + 4], eax
xor eax, eax
lea edx, [edi + 0x28]
add esp, 0xc
mov dword [edi], ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 8
mov dword [edi + 0x20], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov word [edi + 0x16], cx
cmp dword [ebx + 0x15c], eax
jne 0x4c1c57
mov edx, dword [ebx]
test byte [edx + 0x18], 0x40
jne 0x4c1c57
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], 0x4949d0
mov dword [esp + 0x98], ebx
call fcn.0048ecd0
add esp, 8
mov edx, dword [ebp + 0x10]
push 0x45
push edx
push edi
call fcn.004bc6e0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4c1c92
cmp dword [esp + 0x20], 0
je 0x4c1c7f
mov eax, dword [ebp + 0x10]
call fcn.00491f30
test eax, eax
je 0x4c1c92
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0x10]
push 8
push eax
push ecx
push ebx
call fcn.00494fe0
add esp, 0x10
mov esi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
cmp dx, word [esi]
jge 0x4c1cf4
add esi, 0x14
jmp 0x4c1cb0
mov ecx, dword [edi + 0x168]
mov edx, dword [esi + 0x14]
mov dword [edi + ecx*4 + 0x16c], edx
inc dword [edi + 0x168]
mov eax, dword [esi]
test eax, eax
je 0x4c1ce6
test byte [eax + 0x22], 0x10
je 0x4c1ce6
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.004f0960
or dword [edi + 8], eax
or dword [edi + 0xc], edx
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
inc ebx
add esi, 0x40
cmp ebx, ecx
jl 0x4c1cb0
mov esi, dword [edi + 0x18]
dec esi
js 0x4c1d0e
mov ebx, dword [ebp + 0xc]
lea ecx, [ecx]
push esi
push edi
push ebx
call fcn.004bd520
add esp, 0xc
dec esi
jns 0x4c1d00
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x36], 0
jne 0x4c21f2
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp eax, esi
je 0x4c1d49
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.004bdeb0
add esp, 0xc
test eax, eax
je 0x4c1d49
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x18], esi
mov byte [edx + 8], 1
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
add eax, 0x38
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], esi
jle 0x4c219c
jmp 0x4c1d80
xor eax, eax
fld qword [0x522318]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
xor edx, edx
dec eax
cmp dword [esp + 0x34], eax
mov dword [esp + 0x28], 0xffffffff
setl dl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov eax, edx
mov dword [esp + 0x48], eax
cmp eax, ecx
jl 0x4c2058
cmp dword [esp + 0x28], 0
jge 0x4c2058
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
mov eax, ebx
shl eax, 6
lea edx, [eax + ecx + 8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x14], edx
cmp ebx, dword [esp + 0x20]
jge 0x4c204e
mov ecx, dword [esp + 0x10]
mov eax, ebx
lea eax, [eax + eax*4]
add eax, eax
lea edx, [ecx + eax*8 + 0x80]
mov dword [esp + 0x5c], edx
nop
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0xa
mov eax, 0
setne al
mov dword [esp + 0x38], eax
cmp ebx, dword [esp + 0x34]
je 0x4c1e52
test eax, eax
jne 0x4c204e
mov esi, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esi + 0x168], ecx
jle 0x4c1e80
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x20]
lea eax, [esi + 0x16c]
lea ecx, [ecx]
cmp dword [eax], edx
je 0x4c1eae
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x168]
jl 0x4c1e70
xor edi, edi
xor esi, esi
mov eax, edi
and eax, dword [esp + 0x18]
mov ecx, esi
and ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], esi
or eax, ecx
jne 0x4c1ec0
cmp ebx, dword [esp + 0x34]
jne 0x4c2035
inc dword [esp + 0x34]
jmp 0x4c2035
mov eax, 1
xor edx, edx
call fcn.004f0960
mov edi, eax
mov esi, edx
jmp 0x4c1e84
cmp dword [esp + 0x48], 0
je 0x4c1ecb
mov edx, edi
jmp 0x4c1ed3
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4c1ee6
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4c1ee6
mov ecx, dword [ecx]
jmp 0x4c1ee8
xor ecx, ecx
mov ebx, dword [esp + 0x14]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x18]
cmp dword [ebx + 0x3c], 0
jne 0x4c1eff
inc dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x4c1f3b
mov eax, dword [esp + 0x5c]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push esi
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.004bf200
jmp 0x4c1f64
lea ebx, [esp + 0x98]
push ebx
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push esi
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.004bf3f0
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xb4]
add esp, 0x28
cmp dword [esp + 0x48], 0
je 0x4c1f8c
test esi, 0x100f3000
jne 0x4c1f8c
or dword [esp + 0x50], edi
or dword [esp + 0x54], edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
and eax, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
or eax, ecx
jne 0x4c202a
mov ecx, dword [esp + 0x28]
test ecx, ecx
js 0x4c1fd2
and edi, dword [esp + 0x50]
and edx, dword [esp + 0x54]
mov eax, edi
or eax, edx
jne 0x4c1fd2
test dword [esp + 0x60], 0x100f3000
je 0x4c1fd2
test esi, 0x100f3000
je 0x4c202a
cmp dword [esp + 0x58], 0
je 0x4c1feb
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x3c], 0
je 0x4c1feb
test esi, 0x100f3000
je 0x4c202a
test ecx, ecx
js 0x4c20c8
fld qword [esp + 0x78]
fld qword [esp + 0xb0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x4c20c4
fcompp
fnstsw ax
test ah, 0x41
jp 0x4c202a
fld qword [esp + 0x68]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
je 0x4c20c8
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x38], 0
jne 0x4c204e
add dword [esp + 0x5c], 0x50
add dword [esp + 0x14], 0x40
inc ebx
mov dword [esp + 0x4c], ebx
cmp ebx, dword [esp + 0x20]
jl 0x4c1e30
dec dword [esp + 0x48]
jns 0x4c1dec
mov ecx, dword [esp + 0x60]
test ecx, 0x1000000
je 0x4c2071
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c2071
mov dword [eax], 0
test ecx, 0x40000000
je 0x4c2081
mov eax, dword [esp + 0x10]
mov byte [eax + 8], 2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
and dword [esp + 0x44], ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], edx
test ecx, 0x200f0000
je 0x4c20e7
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x20], ecx
inc dword [edi + 0x48]
jmp 0x4c20ee
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x4c]
mov ecx, 0xa
lea esi, [esp + 0x98]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], ebx
jmp 0x4c202e
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [eax + 0x168], ecx
jle 0x4c2120
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
shl edx, 6
mov esi, dword [edx + esi + 0x28]
lea edx, [eax + 0x16c]
cmp dword [edx], esi
je 0x4c215a
inc ecx
add edx, 4
cmp ecx, dword [eax + 0x168]
jl 0x4c2110
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x28]
fld qword [esp + 0x68]
not eax
and dword [esp + 0x18], eax
fcom st(1)
mov eax, dword [esp + 0x24]
mov byte [eax + 0x34], cl
not edx
and dword [esp + 0x1c], edx
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4c2168
fmul qword [edi + 0x1b8]
fstp qword [edi + 0x1b8]
jmp 0x4c216a
mov eax, 1
xor edx, edx
call fcn.004f0960
jmp 0x4c2124
fstp st(0)
mov edx, dword [ebp + 0xc]
shl ecx, 6
mov eax, dword [ecx + edx + 0x44]
test eax, eax
je 0x4c2182
test dword [esp + 0x60], 0xf0000
je 0x4c21e1
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], 0x50
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x20]
jl 0x4c1d80
xor esi, esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44], esi
jne 0x4c21f2
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x36], 0
jne 0x4c21f2
mov eax, dword [esp + 0x44]
and eax, 0x4000000
je 0x4c21c6
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4c21c6
mov dword [ecx], 0
test byte [ebp + 0x1c], 4
je 0x4c2219
test eax, eax
je 0x4c2219
mov ebx, dword [esp + 0x10]
and dword [ebx + 0x38], 0xff7fffff
mov byte [ebx + 6], 1
jmp 0x4c221d
mov eax, dword [eax]
push eax
push str.cannot_use_index:__s
push edi
call fcn.00467ca0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
fld qword [eax + 0x28]
mov ecx, dword [ebp + 8]
push eax
fstp qword [ecx + 0x1b8]
push edx
call fcn.004c1a50
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push esi
call fcn.0049e680
fld1
lea eax, [ebx + 0x38]
fstp qword [ebx + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x4c2593
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx + 0x34]
fld qword [ecx + 8]
mov edx, dword [ebp + 0xc]
shl eax, 6
mov esi, dword [eax + edx + 0x14]
lea edi, [eax + edx + 8]
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, 0xfff0bdc0
fmul qword [ebx + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
fstp qword [ebx + 0x30]
mov edx, dword [esi + 0x44]
test edx, edx
je 0x4c22c1
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x14]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
test edx, edx
jle 0x4c22c1
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
add ecx, 0xc
mov edx, dword [esi + 0x44]
cmp dword [ecx], edx
je 0x4c22b9
inc eax
add ecx, 0x10
cmp eax, dword [esp + 0x38]
jl 0x4c22a8
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
test byte [esi + 0x22], 2
jne 0x4c242c
cmp dword [esi + 0x1c], 0
jne 0x4c242c
mov ecx, dword [ecx]
test ecx, 0x8000000
je 0x4c23ac
mov ebx, dword [esi + 0x34]
xor ecx, ecx
cmp ebx, ecx
je 0x4c22fb
mov eax, dword [esp + 0x2c]
cmp dword [ebx], eax
je 0x4c22fb
mov ebx, dword [ebx + 0x18]
cmp ebx, ecx
jne 0x4c22f0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x4c2328
mov edi, eax
call fcn.00481430
test eax, eax
je 0x4c2324
mov eax, 1
jmp 0x4c234f
mov eax, edi
xor ecx, ecx
inc dword [eax + 0x1c]
mov eax, dword [eax + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x87
mov eax, esi
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
test esi, esi
je 0x4c242c
cmp byte [edi + 0x36], 0
jne 0x4c242c
test eax, eax
jns 0x4c2374
mov eax, ecx
mov eax, dword [eax + 0x1c]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.00481a60
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x4c239d
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x4c242c
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x4c242c
test ecx, 0x800000
jne 0x4c2417
test byte [ebp + 0x1c], 0x10
jne 0x4c2417
xor edx, edx
cmp byte [ebx + 6], dl
setne dl
add edx, 0x27
push edx
push esi
push eax
mov eax, dword [edi + 0x20]
push eax
mov eax, dword [ebp + 8]
call fcn.004a5e60
add esp, 0x10
cmp byte [ebx + 6], 0
jne 0x4c242c
cmp dword [esi + 8], 0x40
jge 0x4c242c
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x4c23fe
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x4c23f1
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1c]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.00481ba0
add esp, 8
jmp 0x4c242c
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.00499be0
add esp, 0x10
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, 0x20000000
je 0x4c2463
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004be600
add esp, 0x18
jmp 0x4c2534
test eax, 0xf0000
je 0x4c2534
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x10]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.0049ec90
mov ebx, dword [edi + 0x20]
mov edi, dword [esp + 0x38]
mov edx, dword [esi + 0x28]
mov esi, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
cmp dword [edi + 0x20], esi
jg 0x4c24ac
call fcn.00481430
test eax, eax
je 0x4c24ac
mov eax, 1
jmp 0x4c24db
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x27
mov eax, esi
mov esi, dword [edi + 4]
mov edx, dword [edi]
xor ebx, ebx
cmp esi, ebx
je 0x4c2524
cmp byte [edx + 0x36], bl
jne 0x4c2524
cmp eax, ebx
jge 0x4c24f3
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
mov edi, edx
call fcn.00481a60
mov eax, dword [esp + 0x44]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x4c251b
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x4c2534
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4c2534
mov ecx, dword [esp + 0x44]
mov eax, 0xfffffff0
mov edi, edx
call fcn.00481a60
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
push ecx
call fcn.0049e680
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x4c2570
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x20]
add edx, 4
lea ecx, [ecx]
cmp dword [edx], esi
je 0x4c261a
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4c2560
xor eax, eax
xor edx, edx
add dword [esp + 0x24], 0x50
mov ebx, dword [esp + 0x10]
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x1c], edx
dec dword [esp + 0x40]
jne 0x4c2250
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [ebx + 0x10], ecx
cmp byte [edx + 0x36], 0
jne 0x4c21f2
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], esi
jle 0x4c260f
mov edi, dword [esp + 0x10]
add edi, 0x64
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [edi + 8]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push esi
lea edx, [edi - 0x2c]
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.004c02f0
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 0x14
push ecx
push ebx
push edx
push esi
push eax
call fcn.004c0550
mov ecx, dword [edi]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
inc esi
add esp, 0x14
add edi, 0x50
mov ebx, eax
mov dword [edx + 0x14], ecx
cmp esi, dword [esp + 0x20]
jl 0x4c25c1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.004f0960
jmp 0x4c2574