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

Disassembly:
push 0xffffffffffffffff
push 0x78bb85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
mov ecx, 0x7ccf74
push edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esi + 0x40]
cmp eax, 2
mov byte [esp + 0xa4], 1
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], ecx
jl 0x47088a
cmp ecx, 2
jl 0x47088a
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xac]
mov edi, dword [eax + ecx*8 - 8]
mov ebp, dword [eax + ecx*8 - 4]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
mov ebx, dword [ecx + edx*8 - 8]
mov edx, dword [ecx + edx*8 - 4]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.004fb030
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
push ecx
fstp qword [esp + 0x88]
push ebx
push edx
push eax
call fcn.004fb030
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
fstp qword [esp + 0x8c]
push ecx
push edx
push ebp
push edi
call fcn.004fb030
mov eax, dword [esp + 0x54]
fstp qword [esp + 0x94]
push eax
push ebx
push ebp
push edi
call fcn.004fb030
fld qword [esp + 0x84]
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 0x41
je 0x47007f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
mov esi, 0x7ccf74
lea eax, [ecx + edx]
mov ecx, dword [esp + 0xb0]
cdq
fstp st(0)
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x28], esi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 4
test eax, eax
je 0x47006b
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0xa4], 5
jmp 0x47034b
fld qword [esp + 0x8c]
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 0x41
je 0x4700f4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xb0]
add eax, ebx
mov dword [esp + 0x28], 0x7ccf74
cdq
fstp st(0)
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 6
test eax, eax
je 0x4700dc
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], method.CCommandLineInfo.virtual_0
mov dword [esp + 0xa4], 7
jmp 0x47034b
fld qword [esp + 0x94]
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 0x41
je 0x470167
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], 0x7ccf74
fstp st(0)
lea eax, [ecx + edi]
mov ecx, dword [esp + 0xb0]
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
mov dword [ecx], eax
lea eax, [edx + ebp]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 8
test eax, eax
je 0x47014f
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], method.CCommandLineInfo.virtual_0
mov dword [esp + 0xa4], 9
jmp 0x47034b
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 0x41
je 0x4701cc
mov ecx, dword [esp + 0xb0]
lea eax, [ebx + edi]
cdq
sub eax, edx
mov dword [esp + 0x28], 0x7ccf74
sar eax, 1
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
add eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0xa
test eax, eax
je 0x4701b4
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], method.CCommandLineInfo.virtual_0
mov dword [esp + 0xa4], 0xb
jmp 0x47034b
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x4704ac
mov eax, dword [esp + 0x64]
cmp eax, 2
jne 0x4702ab
mov ecx, dword [esp + 0xac]
mov esi, dword [esi + 0x3c]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 0x3c]
mov ecx, dword [esp + 0xb0]
push edx
push ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.004f9f20
mov eax, dword [esp + 0x10]
mov esi, 0x7ccf74
test eax, eax
mov dword [esp + 0x28], esi
je 0x470269
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0xc
test eax, eax
je 0x470255
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0xa4], 0xd
jmp 0x47034b
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0xe
test eax, eax
je 0x470282
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], 0xf
test eax, eax
je 0x47088a
push eax
call fcn.007604d0
add esp, 4
jmp 0x47088a
jle 0x470826
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 0x88]
test eax, eax
je 0x47036a
mov eax, dword [edx + 0x3c]
mov edx, dword [edx + 0x40]
lea edi, [esp + 0x58]
mov ecx, dword [esi + 0x3c]
push edi
mov edi, dword [esp + 0xb4]
push edi
mov edi, dword [eax + edx*8 - 4]
push edi
mov edx, dword [eax + edx*8 - 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 0x40]
push eax
mov eax, dword [ecx + edx*8 - 4]
push eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx + edx*8 - 8]
mov ecx, dword [ecx]
push edx
push eax
push ecx
call fcn.004f9f20
test eax, eax
je 0x470826
mov eax, dword [esp + 0x58]
test eax, eax
je 0x470826
mov esi, 0x7ccf74
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0x10
test eax, eax
je 0x47033c
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0xa4], 0x11
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4706d8
push eax
call fcn.007604d0
add esp, 4
mov eax, 1
jmp 0x47088c
mov ebp, 0x7cb8e8
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0xa8], 0x12
call fcn.0046bd20
mov eax, dword [esp + 0x1c]
xor edi, edi
dec eax
test eax, eax
jle 0x4703f9
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], ebx
push edx
mov edx, dword [ecx + edi*8 + 0xc]
push edx
mov edx, dword [ecx + edi*8 + 8]
push edx
mov edx, dword [ecx + edi*8 + 4]
mov ecx, dword [ecx + edi*8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.004f9f20
test eax, eax
je 0x4703ef
cmp dword [esp + 0x10], ebx
jne 0x47042b
mov ecx, dword [esp + 0x1c]
inc edi
dec ecx
cmp edi, ecx
jl 0x4703a9
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
call fcn.005fc3f0
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa4], 0x16
cmp eax, ebx
je 0x470826
push eax
call fcn.007604d0
add esp, 4
jmp 0x470826
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa4], 0x13
cmp eax, ebx
je 0x47045c
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7ccf74
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0x14
cmp eax, ebx
je 0x47047e
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], 0x15
cmp eax, ebx
je 0x4706d8
push eax
call fcn.007604d0
add esp, 4
mov eax, 1
jmp 0x47088c
jle 0x470826
mov eax, dword [esp + 0x64]
cmp eax, 2
jle 0x4706e2
mov ebp, 0x7cb8e8
xor edi, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], edi
lea edx, [esp + 0x14]
mov ecx, esi
push edx
mov byte [esp + 0xa8], 0x18
call fcn.0046bd20
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x70]
push eax
call fcn.0046bd20
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
dec ecx
test ecx, ecx
jle 0x470593
mov eax, dword [esp + 0x78]
lea edx, [eax - 1]
xor esi, esi
test edx, edx
jle 0x470589
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x54]
mov edx, dword [eax + esi*8 + 0xc]
push ecx
mov ecx, dword [eax + esi*8 + 8]
push edx
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ebx*8 + 0xc]
mov edx, dword [eax + ebx*8 + 8]
push ecx
mov ecx, dword [eax + ebx*8 + 4]
push edx
mov edx, dword [eax + ebx*8]
push ecx
push edx
call fcn.004f9f20
test eax, eax
je 0x47057d
cmp dword [esp + 0x10], edi
jne 0x470630
mov eax, dword [esp + 0x78]
inc esi
lea ecx, [eax - 1]
cmp esi, ecx
jl 0x47052e
mov edx, dword [esp + 0x1c]
inc ebx
dec edx
cmp ebx, edx
jl 0x470525
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x1c]
call fcn.005fc3f0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x78]
call fcn.005fc3f0
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x74]
mov byte [esp + 0xa4], 0x1d
cmp eax, edi
je 0x4705c8
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa4], 0x1e
cmp eax, edi
je 0x4705e5
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7ccf74
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0x1f
cmp eax, edi
je 0x470607
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], 0x20
cmp eax, edi
je 0x47088a
push eax
call fcn.007604d0
add esp, 4
jmp 0x47088a
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push 0xffffffffffffffff
mov dword [eax], ecx
push edi
lea ecx, [esp + 0x1c]
mov dword [eax + 4], edx
call fcn.005fc3f0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x78]
call fcn.005fc3f0
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x74]
mov byte [esp + 0xa4], 0x19
cmp eax, edi
je 0x470679
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa4], 0x1a
cmp eax, edi
je 0x470696
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7ccf74
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa4], 0x1b
cmp eax, edi
je 0x4706b8
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], 0x1c
cmp eax, edi
je 0x4706d8
push eax
call fcn.007604d0
add esp, 4
mov eax, 1
jmp 0x47088c
jne 0x470826
mov eax, dword [esi + 0x88]
test eax, eax
je 0x470780
mov eax, dword [esi + 0x3c]
mov esi, dword [esi + 0x40]
lea edi, [esp + 0x58]
mov edx, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xb4]
mov ecx, dword [edx + 0x3c]
push edi
mov edi, dword [eax + esi*8 - 4]
mov edx, dword [edx + 0x40]
push edi
mov esi, dword [eax + esi*8 - 8]
push esi
mov esi, dword [eax + 4]
mov eax, dword [eax]
push esi
push eax
mov eax, dword [ecx + edx*8 - 4]
push eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx + edx*8 - 8]
mov ecx, dword [ecx]
push edx
push eax
push ecx
call fcn.004f9f20
test eax, eax
je 0x470826
mov eax, dword [esp + 0x58]
test eax, eax
je 0x470826
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
call fcn.0043f5c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0043f5c0
mov eax, 1
jmp 0x47088c
lea ecx, [esp + 0x14]
call fcn.0047f3c0
lea edx, [esp + 0x14]
mov ecx, esi
push edx
mov byte [esp + 0xa8], 0x29
call fcn.0046bd20
mov eax, dword [esp + 0x1c]
xor esi, esi
dec eax
mov dword [esp + 0x10], 0
test eax, eax
jle 0x470808
mov ebx, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
lea ecx, [esp + 0x10]
mov eax, dword [edi + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
mov edx, dword [ecx + esi*8 + 0xc]
push edx
mov edx, dword [ecx + esi*8 + 8]
push edx
mov edx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx + esi*8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.004f9f20
test eax, eax
je 0x4707fe
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47084d
mov ecx, dword [esp + 0x1c]
inc esi
dec ecx
cmp esi, ecx
jl 0x4707be
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
call fcn.005fc3f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 1
call fcn.00421b60
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
call fcn.0043f5c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0043f5c0
jmp 0x47088a
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 1
call fcn.00421b60
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
call fcn.0043f5c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0043f5c0
mov eax, 1
jmp 0x47088c
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 8