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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x799c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea esi, [ebx*8 + 0x10]
push esi
call fcn.007604a7
push esi
mov dword [esp + 0x18], eax
call fcn.007604a7
mov edi, eax
lea eax, [ebx*8 + 0x30]
push eax
call fcn.007604a7
mov ecx, dword [ebp + 0x18]
mov ebx, eax
add esp, 0xc
xor eax, eax
mov edx, dword [ecx + 8]
test edx, edx
jle 0x501fc6
mov edx, dword [ecx + 4]
inc eax
mov esi, dword [edx + eax*8 - 8]
mov dword [ebx + eax*8 - 8], esi
mov edx, dword [edx + eax*8 - 4]
mov dword [ebx + eax*8 - 4], edx
mov edx, dword [ecx + 8]
cmp eax, edx
jl 0x501fab
mov esi, dword [ebp + 0x14]
xor eax, eax
mov ecx, dword [esi + 8]
test ecx, ecx
jle 0x501ffb
mov ecx, dword [esp + 0x10]
sub ecx, edi
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 4]
lea ecx, [edi + eax*8]
fild dword [edx + eax*8]
mov edx, dword [esp + 0x20]
inc eax
fstp qword [edx + ecx]
mov edx, dword [esi + 4]
fild dword [edx + eax*8 - 4]
fstp qword [ecx]
cmp eax, dword [esi + 8]
jl 0x501fdc
mov eax, dword [ebp + 0x10]
push 0x3fc99999
push 0x9999999a
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0xc]
push edi
push ecx
push ebx
push edx
push eax
call fcn.00502c40
fst qword [esp + 0x44]
fcomp qword [0x7ca988]
add esp, 0x20
fnstsw ax
test ah, 1
je 0x5020b5
mov ecx, dword [ebp + 0x1c]
push 0xffffffffffffffff
push 0
call fcn.005fc3f0
mov ecx, dword [ebp + 0x20]
push 0xffffffffffffffff
push 0
call fcn.005fc3f0
mov ecx, dword [ebp + 0x24]
push 0xffffffffffffffff
push 0
call fcn.00421d50
mov ecx, dword [ebp + 0x28]
push 0xffffffffffffffff
push 0
call fcn.005fc3f0
mov ecx, dword [ebp + 0x2c]
push 0xffffffffffffffff
push 0
call fcn.005fc3f0
mov ecx, dword [ebp + 0x30]
push 0xffffffffffffffff
push 0
call fcn.00421d50
mov ecx, dword [esp + 0x10]
push ecx
call fcn.007604d0
push edi
call fcn.007604d0
push ebx
call fcn.007604d0
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.007604d0
push edi
call fcn.007604d0
push ebx
call fcn.007604d0
xor eax, eax
mov ecx, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [eax + 3]
cmp edx, ecx
jle 0x502125
mov eax, dword [ebp + 0x18]
fld qword [esp + 0x24]
mov edi, dword [eax + 4]
add edi, 0x18
fcom qword [edi]
fnstsw ax
test ah, 0x40
jne 0x50215f
test ecx, ecx
jle 0x50211b
fcom qword [edi - 8]
fnstsw ax
test ah, 0x41
jne 0x50211b
fcom qword [edi]
fnstsw ax
test ah, 1
je 0x50211b
lea eax, [ecx - 1]
mov dword [esp + 0x10], eax
inc ecx
add edi, 8
cmp ecx, edx
jl 0x5020f4
fstp st(0)
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x18]
push esi
push eax
push edi
push ebx
call fcn.00503180
add esp, 0x10
test eax, eax
je 0x502a7e
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 3
mov dword [esp + 0xc], eax
jl 0x502135
jmp 0x5022a0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], 1
fstp st(0)
mov dword [esp + 0x10], ecx
mov edi, 1
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
push esi
push ecx
push ebx
push edx
call fcn.00503180
add esp, 0x10
test eax, eax
je 0x502a7e
inc edi
cmp edi, 3
jl 0x502176
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 0x1c]
add ecx, 0xfffffffd
test ecx, ecx
mov dword [esp + 0xc], ecx
jl 0x5021d7
mov ebx, dword [ebp + 8]
mov edx, ecx
inc edx
mov dword [esp + 0x20], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [edi + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00422a10
mov eax, dword [esp + 0x20]
add ebx, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x5021b3
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
jge 0x50220f
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 8]
sub eax, ecx
lea ebx, [edx + ecx*8]
mov dword [esp + 0x20], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebx]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00422a10
mov eax, dword [esp + 0x20]
add ebx, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x5021ee
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 0x20]
test eax, eax
mov dword [esp + 0xc], 0
jle 0x502252
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + edx*8 + 4]
push edx
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*8]
push ecx
push eax
mov ecx, ebx
call fcn.00422a10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x502222
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 8]
lea eax, [edx - 1]
cmp eax, ecx
mov dword [esp + 0xc], eax
jge 0x5023e6
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0x2c]
mov edx, dword [ecx + edx*8 + 4]
mov eax, dword [eax + 8]
push edx
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*8]
push ecx
mov ecx, dword [ebp + 0x2c]
push eax
call fcn.00422a10
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x502268
jmp 0x5023e6
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 0x1c]
add eax, 0xfffffffd
test eax, eax
mov dword [esp + 0xc], eax
jl 0x5022da
mov ebx, dword [ebp + 8]
inc eax
mov dword [esp + 0x20], eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [edi + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00422a10
mov eax, dword [esp + 0x20]
add ebx, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x5022ba
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00422a10
mov edx, dword [ebx + 4]
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebx]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00422a10
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
jge 0x50233b
mov edx, dword [ebp + 8]
sub ecx, eax
mov dword [esp + 0x20], ecx
lea ebx, [edx + eax*8]
mov edx, dword [ebx + 4]
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebx]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00422a10
mov eax, dword [esp + 0x20]
add ebx, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x50231a
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 0x20]
test eax, eax
mov dword [esp + 0xc], 0
jl 0x502380
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + ecx*8 + 4]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + ecx*8]
mov ecx, ebx
push edx
push eax
call fcn.00422a10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jle 0x50234e
mov eax, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov edx, dword [edx]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
mov dword [ecx + eax*8 + 4], edx
mov ecx, dword [esi + 8]
cmp eax, ecx
jge 0x5023d3
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0x2c]
mov edx, dword [ecx + edx*8 + 4]
mov eax, dword [eax + 8]
push edx
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*8]
push ecx
mov ecx, dword [ebp + 0x2c]
push eax
call fcn.00422a10
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x5023a0
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x18]
mov esi, dword [ecx + 8]
sub esi, 4
cmp esi, 3
jle 0x502434
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
fld qword [edx + esi*8]
fcomp qword [edx + esi*8 - 8]
lea ecx, [edx + esi*8]
fnstsw ax
test ah, 0x40
je 0x50242e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
sub eax, esi
dec eax
je 0x502428
shl eax, 3
lea edx, [edx + esi*8 + 8]
push eax
push edx
push ecx
call fcn.00749720
add esp, 0xc
mov eax, dword [ebp + 0x18]
dec dword [eax + 8]
dec esi
cmp esi, 3
jg 0x5023f4
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x24]
test eax, eax
mov dword [esp + 0xc], 0
jl 0x50248d
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
mov ecx, dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
inc eax
fld qword [ecx + edx*8]
fdiv qword [esp + 0x28]
push eax
mov ecx, esi
fstp qword [esp + 0x3c]
call fcn.00421d50
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x34]
fstp qword [eax + ecx*8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jle 0x502447
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x24], eax
inc eax
push eax
mov ecx, esi
call fcn.00421d50
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
push 0x3ff00000
push 0
mov dword [edx + eax*8], 0
mov ecx, esi
mov dword [edx + eax*8 + 4], 0x3ff00000
mov eax, dword [esi + 8]
push eax
call fcn.00422b50
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x24], eax
inc eax
push eax
mov ecx, esi
call fcn.00421d50
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x20]
mov dword [ecx + eax*8], 0
mov dword [ecx + eax*8 + 4], 0x3ff00000
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x502509
mov eax, dword [esi + 8]
push 0x3ff00000
push 0
push eax
mov ecx, esi
call fcn.00422b50
mov ecx, dword [ebp + 0x30]
push 0
push 0
mov eax, dword [ecx + 8]
push eax
call fcn.00422b50
mov ecx, dword [ebp + 0x30]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
call fcn.00421d50
mov ecx, dword [ebp + 0x30]
mov eax, dword [esp + 0x20]
push 0
push 0
mov edx, dword [ecx + 4]
mov dword [edx + eax*8], 0
mov dword [edx + eax*8 + 4], 0
mov eax, dword [ecx + 8]
push eax
call fcn.00422b50
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x5025ce
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
cmp eax, dword [ecx + 8]
jge 0x502639
fld qword [0x7ca980]
fsub qword [esp + 0x24]
fstp qword [esp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov eax, dword [edx + 4]
fld qword [eax + ecx*8]
fsub qword [esp + 0x28]
mov ecx, dword [ebp + 0x30]
fdiv qword [esp + 0x18]
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
fstp qword [esp + 0x3c]
call fcn.00421d50
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x34]
mov eax, dword [edx + 4]
mov edx, dword [ebp + 0x18]
fstp qword [eax + ecx*8]
mov eax, dword [esp + 0xc]
mov ecx, dword [edx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x50257c
jmp 0x502639
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [ecx + 8]
jge 0x502639
fld qword [0x7ca980]
fsub qword [esp + 0x24]
fstp qword [esp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov eax, dword [edx + 4]
fld qword [eax + ecx*8]
fsub qword [esp + 0x28]
mov ecx, dword [ebp + 0x30]
fdiv qword [esp + 0x18]
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
fstp qword [esp + 0x3c]
call fcn.00421d50
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x34]
mov eax, dword [edx + 4]
mov edx, dword [ebp + 0x18]
fstp qword [eax + ecx*8]
mov eax, dword [esp + 0xc]
mov ecx, dword [edx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x5025e9
xor eax, eax
mov dword [esp + 0x40], 0x7cb8e8
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
call fcn.005fc3f0
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, ecx
dec ecx
test edx, edx
je 0x50269f
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
add eax, 8
dec edx
mov dword [esp + 0x20], edx
jne 0x502684
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.005fc3f0
mov eax, dword [esp + 0x48]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x502701
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
mov ecx, edi
mov dword [esp + 0x2c], edx
call fcn.005fc3f0
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x5026b7
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x48]
call fcn.005fc3f0
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
call fcn.005fc3f0
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, ecx
dec ecx
test edx, edx
je 0x502756
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
add eax, 8
dec edx
mov dword [esp + 0x20], edx
jne 0x50273b
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.005fc3f0
mov eax, dword [esp + 0x48]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x5027b8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
mov ecx, ebx
mov dword [esp + 0x2c], edx
call fcn.005fc3f0
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x50276e
xor eax, eax
mov dword [esp + 0x54], 0x7cb8c8
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call fcn.00421d50
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov edx, ecx
dec ecx
test edx, edx
je 0x50281f
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
add eax, 8
dec edx
mov dword [esp + 0x20], edx
jne 0x502804
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00421d50
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push esi
push eax
push ecx
call fcn.00500cd0
push esi
push ebx
push edi
call fcn.00504450
mov eax, dword [edi + 8]
add esp, 0x18
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
push eax
call fcn.005fc3f0
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, ecx
dec ecx
test edx, edx
je 0x50288b
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
add eax, 8
dec edx
mov dword [esp + 0x20], edx
jne 0x502870
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.005fc3f0
mov eax, dword [esp + 0x48]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x5028ed
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
mov ecx, edi
mov dword [esp + 0x2c], edx
call fcn.005fc3f0
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x5028a3
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
call fcn.005fc3f0
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, ecx
dec ecx
test edx, edx
je 0x502935
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
add eax, 8
dec edx
mov dword [esp + 0x20], edx
jne 0x50291a
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.005fc3f0
mov eax, dword [esp + 0x48]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x502997
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
inc eax
push eax
mov ecx, ebx
mov dword [esp + 0x2c], edx
call fcn.005fc3f0
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x50294d
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x5c]
call fcn.00421d50
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x58]
mov ebx, edx
dec edx
test ebx, ebx
je 0x5029cb
inc edx
mov ebx, dword [ecx]
add ecx, 8
mov dword [eax], ebx
mov ebx, dword [ecx - 4]
mov dword [eax + 4], ebx
add eax, 8
dec edx
jne 0x5029b8
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00421d50
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
push esi
push eax
push edi
call fcn.00500cd0
add esp, 0xc
lea ecx, [esp + 0x54]
push 0xffffffffffffffff
push ebx
call fcn.00421d50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
call fcn.005fc3f0
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push ecx
push edx
push eax
call fcn.00504450
add esp, 0xc
lea ecx, [esp + 0x54]
push 0xffffffffffffffff
push ebx
call fcn.00421d50
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x502a37
push eax
call fcn.007604d0
add esp, 4
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], 0x7cb8c8
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x70], 2
cmp ecx, ebx
je 0x502a61
push ecx
call fcn.007604d0
mov eax, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x40], method.CCommandLineInfo.virtual_0
cmp eax, ebx
mov dword [esp + 0x70], 3
je 0x502a7e
push eax
call fcn.007604d0
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret